Get token metadata
Get all the NFT token metadata uploaded by you
π Guide overview
In this guide, you will fetch all NFTs' metadata. Ensure your client is created create a client βοΈ.
π·οΈ Use-case xamples with the Croak NFT metadata APIs
- Fetch all the tokens that you have created within a client to show in a gallery
- Find and update some token metadata details of a token
π§± Implementation steps
- Client X-API-KEY: You will need the
x-api-key
from the client creation API response to proceed further. - Make the fetch request : Make the following API request. See API Reference to get the code snippets in multiple languages
> curl --request GET \
--url 'https://be.namasteapis.com/blockchain/v1/token-data/list?size=50' \
--header 'Accept: application/json' \
--header 'x-api-key: test_key.U6ZnqkIv7~piiqElYkyO'
{
"data": {
"tokens": [
{
"id": "62de5075908167125627763f",
"creatorId": "62de50119081671256277626",
"type": "ERC1155_LAZY",
"name": "Prime 10th Anniversary welcomes Zupay",
...
},
{
"id": "62de50159081671256277629",
"creatorId": "62de50119081671256277626",
...
}
],
"lastId": "62de50159081671256277629"
},
"success": true,
"message": "Token data saved"
}
You can try it yourself π here!
- That's it you're done π
π Code example and further queries
For any queries or guidance, join https://croak.discord.com or write to [email protected]
Updated almost 3 years ago
Whatβs Next