Actions53
- Account Actions
- Block Actions
- Transaction Actions
- Contract Actions
- ERC20 Actions
- ERC721 Actions
- ERC1155 Actions
- Gas Actions
- Signature Actions
- Utils Actions
- Custom RPC Actions
ERC20 → Get Balance
AI-generatedSummary
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).