Ethereum icon

Ethereum

Interact with Ethereum blockchain

ERC20 → Get Balance

AI-generated

Summary

Get the ERC20 token balance of an address.

Inputs

  • tokenAddress (required) — The contract address of the ERC20 token.
  • address — The wallet address to query; leave empty to use the credential address.

Output shape

a string representing the token balance

The balance is returned as a numeric string; it may be omitted if the address has no balance.

Examples

Example 1: Check the balance of a specific ERC20 token for a given wallet.

Set Token Address to the token contract, and provide the Wallet Address (or leave blank to use the node's credential address).

Links

Discussion