get_token_balance_erc20
Retrieve the ERC20 token balance for a specific address on Ethereum or compatible networks using the token contract 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 or chain ID. Defaults to Ethereum mainnet. | |
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": {
"description": "Network name or chain ID. Defaults to Ethereum mainnet.",
"type": "string"
},
"tokenAddress": {
"description": "The ERC20 token contract address",
"type": "string"
}
},
"required": [
"address",
"tokenAddress"
],
"type": "object"
}