GET
/
v1
/
chains
/
{chainId}
/
addresses
/
{address}
/
balances:listErc20

Authorizations

x-glacier-api-key
string
headerrequired

Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.

Path Parameters

chainId
string
required

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

address
string
required

A wallet address.

Query Parameters

blockNumber
string

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

pageToken
string

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

pageSize
integer
default: 10

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

Required range: 1 < x < 100
filterSpamTokens
boolean
default: true

whether to filter out spam tokens from the response. Default is true.

contractAddresses
string

A comma separated list of contract addresses to filter by.

currency
enum<string>

The currency that return values should use. Defaults to USD.

Available options:
usd,
eur,
aud,
cad,
chf,
clp,
cny,
czk,
dkk,
gbp,
hkd,
huf,
jpy,
nzd

Response

200 - application/json
erc20TokenBalances
object[]
required

The list of ERC-20 token balances for the address.

nextPageToken
string

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.