installation
Web / node.js Installation
npm install 0xsequence
or
npm install @0xsequence/metadata
then in your app,
import { SequenceMetadataClient } from '@0xsequence/metadata'
// TODO: review ..
const metadata = new SequenceMetadataClient()
# Metadata API Installation
**NOTE:** if you're using `@0xsequence/metadata` from node.js, we recommend using node v18.x or newer.
<br />
Go Installation
go get -u github.com/0xsequence/[email protected]
then in your app,
import (
"github.com/0xsequence/go-sequence/metadata"
)
seqMetadata := metadata.NewMetadataClient("https://metadata.sequence.app", http.DefaultClient)
// TODO: review ...
// see examples below for the kinds of queries you can make
tokenBalances, err := seqIndexer.GetTokenBalances(...)
Unity or Unreal Installation
The Sequence Metadata is integrated directly inside of the respective Sequence Web3 Unity and Sequence Web3 Unreal SDKs.