{ "opencollection": "1.0.0", "info": { "name": "Data AVAX Supply EVM Balances API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "x-glacier-api-key", "value": "{{x-glacier-api-key}}", "placement": "header" } }, "items": [ { "info": { "name": "EVM Balances", "type": "folder" }, "items": [ { "info": { "name": "Get native token balance", "type": "http" }, "http": { "method": "GET", "url": "https://data-api.avax.network/v1/chains/:chainId/addresses/:address/balances:getNative", "params": [ { "name": "blockNumber", "value": "6479329", "type": "query", "description": "The block number, if not defined the block number will be the latest block." }, { "name": "chainId", "value": "43114", "type": "path", "description": "A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids." }, { "name": "address", "value": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", "type": "path", "description": "A wallet address." }, { "name": "currency", "value": "usd", "type": "query", "description": "The currency that return values should use. Defaults to USD." } ] }, "docs": "Gets native token balance of a wallet address.\n\nBalance at a given block can be retrieved with the `blockNumber` parameter." }, { "info": { "name": "List ERC-20 balances", "type": "http" }, "http": { "method": "GET", "url": "https://data-api.avax.network/v1/chains/:chainId/addresses/:address/balances:listErc20", "params": [ { "name": "blockNumber", "value": "6479329", "type": "query", "description": "The block number, if not defined the block number will be the latest block." }, { "name": "pageToken", "value": "", "type": "query", "description": "A page token, received from a previous list call. Provide this to retrieve the subsequent page." }, { "name": "pageSize", "value": "10", "type": "query", "description": "The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500." }, { "name": "filterSpamTokens", "value": "", "type": "query", "description": "whether to filter out spam tokens from the response. Default is true." }, { "name": "chainId", "value": "43114", "type": "path", "description": "A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids." }, { "name": "address", "value": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", "type": "path", "description": "A wallet address." }, { "name": "contractAddresses", "value": "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7, 0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB", "type": "query", "description": "A comma separated list of contract addresses to filter by." }, { "name": "currency", "value": "usd", "type": "query", "description": "The currency that return values should use. Defaults to USD." } ] }, "docs": "Lists ERC-20 token balances of a wallet address.\n\nBalance at a given block can be retrieved with the `blockNumber` parameter.\n\nBalance for specific contracts can be retrieved with the `contractAddresses` parameter." }, { "info": { "name": "List ERC-721 balances", "type": "http" }, "http": { "method": "GET", "url": "https://data-api.avax.network/v1/chains/:chainId/addresses/:address/balances:listErc721", "params": [ { "name": "pageToken", "value": "", "type": "query", "description": "A page token, received from a previous list call. Provide this to retrieve the subsequent page." }, { "name": "pageSize", "value": "10", "type": "query", "description": "The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500." }, { "name": "chainId", "value": "43114", "type": "path", "description": "A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids." }, { "name": "address", "value": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", "type": "path", "description": "A wallet address." }, { "name": "contractAddress", "value": "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7", "type": "query", "description": "A contract addresses to filter by." } ] }, "docs": "Lists ERC-721 token balances of a wallet address.\n\nBalance for a specific contract can be retrieved with the `contractAddress` parameter." }, { "info": { "name": "List ERC-1155 balances", "type": "http" }, "http": { "method": "GET", "url": "https://data-api.avax.network/v1/chains/:chainId/addresses/:address/balances:listErc1155", "params": [ { "name": "blockNumber", "value": "6479329", "type": "query", "description": "The block number, if not defined the block number will be the latest block." }, { "name": "pageToken", "value": "", "type": "query", "description": "A page token, received from a previous list call. Provide this to retrieve the subsequent page." }, { "name": "pageSize", "value": "10", "type": "query", "description": "The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500." }, { "name": "chainId", "value": "43114", "type": "path", "description": "A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids." }, { "name": "address", "value": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", "type": "path", "description": "A wallet address." }, { "name": "contractAddress", "value": "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7", "type": "query", "description": "A contract addresses to filter by." } ] }, "docs": "Lists ERC-1155 token balances of a wallet address.\n\nBalance at a given block can be retrieved with the `blockNumber` parameter.\n\nBalance for a specific contract can be retrieved with the `contractAddress` parameter." }, { "info": { "name": "List collectible (ERC-721/ERC-1155) balances", "type": "http" }, "http": { "method": "GET", "url": "https://data-api.avax.network/v1/chains/:chainId/addresses/:address/balances:listCollectibles", "params": [ { "name": "pageToken", "value": "", "type": "query", "description": "A page token, received from a previous list call. Provide this to retrieve the subsequent page." }, { "name": "pageSize", "value": "10", "type": "query", "description": "The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500." }, { "name": "chainId", "value": "43114", "type": "path", "description": "A supported evm chain id or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids." }, { "name": "address", "value": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", "type": "path", "description": "A wallet address." }, { "name": "contractAddress", "value": "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7", "type": "query", "description": "A contract addresses to filter by." } ] }, "docs": "Lists ERC-721 and ERC-1155 token balances of a wallet address.\n\nBalance for a specific contract can be retrieved with the `contractAddress` parameter." } ] } ], "bundled": true }