v1

latestOpenAPI 3.1.02026-07-1288262495.0 KB
EVM Balances

List ERC-1155 balances

Lists ERC-1155 token balances of a wallet address.

Balance at a given block can be retrieved with the blockNumber parameter.

Balance for a specific contract can be retrieved with the contractAddress parameter.

get/v1/chains/{chainId}/addresses/{address}/balances:listErc1155

Path parameters

chainIdstring required

A supported evm chain id or blockchain id. Use the /chains endpoint to get a list of supported chain ids.

addressstring required

A wallet address.

Query parameters

blockNumberstring

The block number, if not defined the block number will be the latest block.

pageTokenstring

A page token, received from a previous list call. Provide this to retrieve the subsequent page.

pageSizeinteger

The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.

contractAddressstring

A contract addresses to filter by.

Response

Successful response

nextPageTokenstring

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.

Example response

{
  "nativeTokenBalance": {
    "name": "Wrapped AVAX",
    "symbol": "WAVAX",
    "decimals": 18,
    "logoUri": "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg",
    "chainId": "43114",
    "balance": "2000000000000000000"
  },
  "erc1155TokenBalances": [
    {
      "address": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
      "chainId": "43114",
      "balance": "2000000000000000000"
    }
  ]
}