Fetching Token id & Collection id
With this API , you can return the list of token ids and collection ids for a given account
API Doc
Swagger Doc | ReDoc
Curl call example
curl -X GET "http://0.0.0.0:7000/v2/nftkit/nft/unique/chain/{network}/account/{account}"
-H "Content-Type: application/json"
Path parameters:
Network
:[string] chain to work with. Either UNIQUE
or OPAL
.
Example:
curl -X GET "http://0.0.0.0:7000/v2/nftkit/nft/unique/chain/UNIQUE/account/DoiHfvzkJsZP2MjXkVe6EVrMNjhcSLzXtR29tZS2HNTyDQt"
-H "Content-Type: application/json"
Fetching NFT metadata
With this API , you can return the list of NFTs on unique network.
API Doc
Swagger Doc | ReDoc
Curl call example
curl -X GET "http://0.0.0.0:7000/v2/nftkit/nft/unique/chain/{chain}/collection/{collectionId}/token/{tokenId}/metadata"
-H "Content-Type: application/json"
Path parameters:
chain
:[string] chain to work with. Either UNIQUE
or OPAL
.
collectionId
: the collection id on the network.
Example:
curl -X GET "http://0.0.0.0:7000/v2/nftkit/nft/unique/chain/UNIQUE/account/DoiHfvzkJsZP2MjXkVe6EVrMNjhcSLzXtR29tZS2HNTyDQt"
-H "Content-Type: application/json"