Skip to main content
Glama
tdnupe3

Coin Railz MCP Server

by tdnupe3

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
NameRequiredDescriptionDefault
wallet_addressYes
chainsNo
include_tokensNo

Implementation Reference

  • 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)

Latest Blog Posts

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/tdnupe3/mcp-server-coinrailz'

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