Path Parameters
- chainNamestringREQUIRED
The chain name eg: base-mainnet
- walletAddressstringREQUIRED
The requested address. Passing in an ENS, RNS, Lens Handle, or an Unstoppable Domain resolves automatically
Query Parameters
- quote-currencystring
The currency to convert. Supports USD, CAD, EUR, SGD, INR, JPY, VND, CNY, KRW, RUB, TRY, NGN, ARS, AUD, CHF, and GBP
- block-heightinteger
Ending block to define a block range. Omitting this parameter defaults to the latest block height
Returns
- dataobject
The response data containing following fields:
- addressstring
The blockchain address for which token data is retrieved
- updated_atstring
The timestamp when the data was last updated
- quote_currencystring
The currency used for quoting values
- chain_idinteger
The ID of the blockchain network
- chain_namestring
The name of the blockchain network
- itemsarray
An array of token balance items
- contract_decimalsinteger
The number of decimals used by the token contract
- contract_namestring
The name of the token contract
- contract_ticker_symbolstring
The ticker symbol of the token contract
- contract_addressstring
The address of the token contract
- supports_ercarray
A list of supported ERC standards for the token
- logo_urlstring
The URL of the token's logo
- block_heightinteger
The height of the block where the token balance was retrieved
- balancestring
The token balance associated with the address
- quote_rateinteger
The quoted rate of the token in the specified currency
- quoteinteger
The quoted value of the token balance in the specified currency
- pretty_quotestring
A formatted string of the quoted value of the token balance
- errorboolean
Indicates whether an error occurred
- error_messagestring
The error message if an error occurred, or null otherwise
- error_codestring
The error code if an error occurred, or null otherwise