get_multi_chain_balance
Check wallet balances across multiple EVM chains in one query. Retrieve native and ERC-20 token holdings by entering a wallet address and selecting specific networks.
Instructions
Get multi-chain wallet balance across 7+ EVM networks.
Args: wallet_address: The wallet address to check (0x...) chains: List of chains to query. Defaults to all supported chains. include_tokens: Whether to include ERC-20 token balances.
Returns: Wallet balances for native tokens and ERC-20 tokens across all specified chains.
Price: $0.50
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet_address | Yes | ||
| chains | No | ||
| include_tokens | No |
Implementation Reference
- coinrailz_mcp/__init__.py:486-507 (handler)The handler function for the `get_multi_chain_balance` tool. It wraps the service call to `call_coinrailz_service` and returns the JSON-formatted balance information.
@mcp.tool() async def get_multi_chain_balance(wallet_address: str, chains: List[str] = None, include_tokens: bool = True) -> str: """ Get multi-chain wallet balance across 7+ EVM networks. Args: wallet_address: The wallet address to check (0x...) chains: List of chains to query. Defaults to all supported chains. include_tokens: Whether to include ERC-20 token balances. Returns: Wallet balances for native tokens and ERC-20 tokens across all specified chains. Price: $0.50 """ payload = { "walletAddress": wallet_address, "chains": chains or ["ethereum", "base", "polygon", "bsc", "arbitrum", "optimism"], "includeTokens": include_tokens } result = await call_coinrailz_service("multi-chain-balance", payload) return json.dumps(result, indent=2)