Skip to main content
Package: com.coinbase.cdp.resources.evmtokenbalances

Constructor Details

EvmTokenBalancesClient

Parameters: clientOptions - ClientOptions

Method Details

withRawResponse

Get responses with HTTP metadata like headers Returns: WithRawResponseEvmTokenBalancesClient

listEvmTokenBalances

Overload 1
Lists the token balances of an EVM address on a given network. The balances include ERC-20 tokens and the native gas token (usually ETH). The response is paginated, and by default, returns 20 balances per page. Calls to the base and base-sepolia networks offer: 99.5% < 2 second freshness from chain tip for new tokens on an address. 99.5% < 2 second freshness from chain tip for balance data. Calls to the ethereum network offer: 99% < 30 second freshness from chain tip for new tokens on an address. 99% < 2 second freshness from chain tip for balance data. Parameters: network - ListEvmTokenBalancesNetwork address - String Returns: ListEvmTokenBalancesResponse Overload 2
Lists the token balances of an EVM address on a given network. The balances include ERC-20 tokens and the native gas token (usually ETH). The response is paginated, and by default, returns 20 balances per page. Calls to the base and base-sepolia networks offer: 99.5% < 2 second freshness from chain tip for new tokens on an address. 99.5% < 2 second freshness from chain tip for balance data. Calls to the ethereum network offer: 99% < 30 second freshness from chain tip for new tokens on an address. 99% < 2 second freshness from chain tip for balance data. Parameters: network - ListEvmTokenBalancesNetwork address - String request - ListEvmTokenBalancesRequest Returns: ListEvmTokenBalancesResponse Overload 3
Lists the token balances of an EVM address on a given network. The balances include ERC-20 tokens and the native gas token (usually ETH). The response is paginated, and by default, returns 20 balances per page. Calls to the base and base-sepolia networks offer: 99.5% < 2 second freshness from chain tip for new tokens on an address. 99.5% < 2 second freshness from chain tip for balance data. Calls to the ethereum network offer: 99% < 30 second freshness from chain tip for new tokens on an address. 99% < 2 second freshness from chain tip for balance data. Parameters: network - ListEvmTokenBalancesNetwork address - String requestOptions - RequestOptions Returns: ListEvmTokenBalancesResponse Overload 4
Lists the token balances of an EVM address on a given network. The balances include ERC-20 tokens and the native gas token (usually ETH). The response is paginated, and by default, returns 20 balances per page. Calls to the base and base-sepolia networks offer: 99.5% < 2 second freshness from chain tip for new tokens on an address. 99.5% < 2 second freshness from chain tip for balance data. Calls to the ethereum network offer: 99% < 30 second freshness from chain tip for new tokens on an address. 99% < 2 second freshness from chain tip for balance data. Parameters: network - ListEvmTokenBalancesNetwork address - String request - ListEvmTokenBalancesRequest requestOptions - RequestOptions Returns: ListEvmTokenBalancesResponse