Transactions
- Overview
- Installation
- Endpoints
- Examples
Indexer
- Overview
- Installation
- Endpoints
- Examples
Indexer Gateway
Analytics
- Overview
- Endpoints
- Examples
Metadata
- Overview
- Endpoints
- public
- secret
- POSTCreateAsset
- POSTCreateCollection
- POSTCreateContractCollection
- POSTCreateToken
- POSTDeleteAsset
- POSTDeleteCollection
- POSTDeleteContractCollection
- POSTDeleteToken
- POSTGetAsset
- POSTGetCollection
- POSTGetContractCollection
- POSTGetToken
- POSTListCollections
- POSTListContractCollections
- POSTListTokens
- POSTPublishCollection
- POSTUnpublishCollection
- POSTUpdateAsset
- POSTUpdateCollection
- POSTUpdateContractCollection
- POSTUpdateToken
- POST
- Examples
Infrastructure
- Overview
- Endpoints
Builder
- Overview
- Endpoints
Marketplace
- Overview
- Endpoints
- Examples
Node Gateway
secret
GetToken
POST
/
rpc
/
Collections
/
GetToken
curl --request POST \
--url https://metadata.sequence.app/rpc/Collections/GetToken \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"projectId": 30957,
"collectionId": 888,
"tokenId": "200"
}'
{
"token": {
"tokenId": "200",
"name": "Eclipse Dragon",
"description": "Forged from starlight and shadows, the Eclipse Dragon emerges only during celestial alignments. Its obsidian scales shimmer with constellations, and its breath holds the power to bend time and space. Legends say that those who possess its essence gain unparalleled wisdom—though at the cost of fleeting moments lost to the void. Will you dare wield its mystic force?",
"image": "",
"properties": {
"age": "Ancient",
"alignment": "Celestial",
"breath_power": "Time Distortion",
"constellations_on_scales": 42,
"element": "Shadow and Starlight",
"last_seen": "During the Last Solar Eclipse",
"rarity": "Legendary",
"size": "Massive",
"temperament": "Mysterious"
},
"attributes": null,
"updatedAt": "2024-10-23T19:34:40.158987036Z"
},
"assets": []
}
Authorizations
Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly.
Response
200
application/json
OK
Represented as uint32 on the server side
Available options:
NOT_AVAILABLE
, STALE
, AVAILABLE
[]Asset
Was this page helpful?
curl --request POST \
--url https://metadata.sequence.app/rpc/Collections/GetToken \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"projectId": 30957,
"collectionId": 888,
"tokenId": "200"
}'
{
"token": {
"tokenId": "200",
"name": "Eclipse Dragon",
"description": "Forged from starlight and shadows, the Eclipse Dragon emerges only during celestial alignments. Its obsidian scales shimmer with constellations, and its breath holds the power to bend time and space. Legends say that those who possess its essence gain unparalleled wisdom—though at the cost of fleeting moments lost to the void. Will you dare wield its mystic force?",
"image": "",
"properties": {
"age": "Ancient",
"alignment": "Celestial",
"breath_power": "Time Distortion",
"constellations_on_scales": 42,
"element": "Shadow and Starlight",
"last_seen": "During the Last Solar Eclipse",
"rarity": "Legendary",
"size": "Massive",
"temperament": "Mysterious"
},
"attributes": null,
"updatedAt": "2024-10-23T19:34:40.158987036Z"
},
"assets": []
}