Skip to main content
Glama

MCP Ethers Wallet

getERC20Balance

Query the balance of ERC20 tokens for a specific Ethereum wallet address. Use the token contract address and optional chain or RPC details to retrieve accurate data on supported networks.

Instructions

Get the ERC20 token balance of a wallet

Input Schema

NameRequiredDescriptionDefault
addressYesThe Ethereum address to query
chainIdNoOptional. The chain ID to use. If provided with a named network and they don't match, the RPC's chain ID will be used.
providerNoOptional. Either a network name or custom RPC URL. Use getSupportedNetworks to get a list of supported networks.
tokenAddressYesThe address of the ERC20 token contract

Input Schema (JSON Schema)

{ "properties": { "address": { "description": "The Ethereum address to query", "type": "string" }, "chainId": { "description": "Optional. The chain ID to use. If provided with a named network and they don't match, the RPC's chain ID will be used.", "type": "number" }, "provider": { "description": "Optional. Either a network name or custom RPC URL. Use getSupportedNetworks to get a list of supported networks.", "type": "string" }, "tokenAddress": { "description": "The address of the ERC20 token contract", "type": "string" } }, "required": [ "address", "tokenAddress" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/crazyrabbitLTC/mcp-ethers-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server