Alchemy Logo

alchemy_getTokenBalances

POST
/{apiKey}

Returns ERC-20 token balances for a given address.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringrequireddefaults to 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045

A 20-byte wallet address.

enum or string[]optional

A token specification: - The string "erc20" - "NATIVE_TOKEN" - "DEFAULT_TOKENS" (deprecated) - An array of token contract addresses.

objectoptional

Optional pagination options.

Responses

200

An object containing the queried address and an array of token balance objects.

Was this page helpful?