POST
/
rpc
/
Indexer
/
GetTokenSupplies
curl --request POST \
  --url https://amoy-indexer.sequence.app/rpc/Indexer/GetTokenSupplies \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Key: <api-key>' \
  --data '{
  "contractAddress": "0x369db37255c76aec060d070eabeb0661e51a42a9"
}'
{
  "page": {
    "pageSize": 200,
    "more": false
  },
  "contractType": "ERC1155",
  "tokenIDs": [
    {
      "tokenID": "0",
      "supply": "9",
      "chainId": 1
    }
  ]
}

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
contractAddress
string
includeMetadata
boolean
metadataOptions
object
page
object

Response

200
application/json
OK
page
object
contractType
enum<string>

Represented as uint8 on the server side

Available options:
UNKNOWN,
NATIVE,
ERC20,
ERC721,
ERC1155,
SEQUENCE_WALLET,
ERC20_BRIDGE,
ERC721_BRIDGE,
ERC1155_BRIDGE,
SEQ_MARKETPLACE
tokenIDs
object[]

[]TokenSupply