POST
/
rpc
/
Metadata
/
GetTokenMetadata
curl --request POST \
  --url https://metadata.sequence.app/rpc/Metadata/GetTokenMetadata \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Key: <api-key>' \
  --data '{
  "chainID": "80002",
  "contractAddress": "0xaf8a08bf8b2945c2779ae507dade15985ea11fbc",
  "tokenIDs": [
    "19371963813488842961773981353605630758075094402"
  ]
}'
{
  "tokenMetadata": [
    {
      "tokenId": "19371963813488842961773981353605630758075094402",
      "name": "Dragon Shield Shield",
      "description": "A free AI treasure chest mini-game",
      "image": "https://metadata.sequence.app/projects/1229/collections/40/tokens/19371963813488842961773981353605630758075094402/image.png",
      "properties": null,
      "attributes": [
        {
          "display_type": "category",
          "trait_type": "Category",
          "value": "defensive"
        },
        {
          "display_type": "defense_min",
          "trait_type": "Defense Minimum",
          "value": "59"
        },
        {
          "display_type": "defense_max",
          "trait_type": "Defense Maximum",
          "value": "67"
        },
        {
          "display_type": "tier",
          "trait_type": "tier",
          "value": "Common"
        },
        {
          "display_type": "type",
          "trait_type": "type",
          "value": "Shield"
        }
      ],
      "decimals": 0,
      "updatedAt": "2024-10-10T18:08:04.22766865Z"
    }
  ]
}

Authorizations

X-Access-Key
string
header
required

Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI

Body

application/json
chainID
string
contractAddress
string
tokenIDs
string[]

[]string

Response

200
application/json
OK
tokenMetadata
object[]

[]TokenMetadata

task
object