get_token_balance
Retrieve the ERC20 token balance for a specific wallet address on any EVM-compatible network using blockchain data. Input wallet and token addresses to get accurate results.
Instructions
Get the balance of an ERC20 token for an address
Input Schema
Name | Required | Description | Default |
---|---|---|---|
network | No | Network name (e.g., 'ethereum', 'optimism', 'arbitrum', 'base', etc.) or chain ID. Supports all EVM-compatible networks. Defaults to Ethereum mainnet. | |
ownerAddress | Yes | The wallet address or ENS name to check the balance for (e.g., '0x1234...' or 'vitalik.eth') | |
tokenAddress | Yes | The contract address or ENS name of the ERC20 token (e.g., '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' for USDC or 'uniswap.eth') |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"network": {
"description": "Network name (e.g., 'ethereum', 'optimism', 'arbitrum', 'base', etc.) or chain ID. Supports all EVM-compatible networks. Defaults to Ethereum mainnet.",
"type": "string"
},
"ownerAddress": {
"description": "The wallet address or ENS name to check the balance for (e.g., '0x1234...' or 'vitalik.eth')",
"type": "string"
},
"tokenAddress": {
"description": "The contract address or ENS name of the ERC20 token (e.g., '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' for USDC or 'uniswap.eth')",
"type": "string"
}
},
"required": [
"tokenAddress",
"ownerAddress"
],
"type": "object"
}