get_erc20_balance
Retrieve ERC20 token balances for a specific address on supported networks, including BSC, Ethereum, and others, by providing the token contract address and network details.
Instructions
Get ERC20 token balance for an address
Input Schema
Name | Required | Description | Default |
---|---|---|---|
address | Yes | The address to check balance for | |
network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |
tokenAddress | Yes | The ERC20 token contract address |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"address": {
"description": "The address to check balance for",
"type": "string"
},
"network": {
"default": "bsc",
"description": "Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet.",
"type": "string"
},
"tokenAddress": {
"description": "The ERC20 token contract address",
"type": "string"
}
},
"required": [
"tokenAddress",
"address"
],
"type": "object"
}