get_balance

Pack: etherscan · Endpoint: https://gateway.pipeworx.io/etherscan/mcp

Native-token balance for an address on a supported EVM chain. Defaults to Ethereum mainnet. Accepts chain by slug (ethereum, polygon, bsc, base, arbitrum, optimism, avalanche, fantom, gnosis, linea, scroll, zksync, blast, mantle) or numeric chain ID.

Parameters

NameTypeRequiredDescription
addressstringyes0x address
chainstringnoChain slug or numeric chain ID (default ethereum)

Example call

curl -X POST https://gateway.pipeworx.io/etherscan/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_balance","arguments":{}}}'

Response shape

Always returns: chain_id, chain_name, address, wei, balance, symbol

FieldTypeDescription
chain_idnumberNumeric chain ID
chain_namestring | nullHuman-readable chain name or null if unknown
addressstringQueried address
weistringBalance in wei (raw units)
balancestringFormatted balance in native token units
symbolstring | nullNative token symbol or null if unknown
Full JSON Schema
{
  "type": "object",
  "properties": {
    "chain_id": {
      "type": "number",
      "description": "Numeric chain ID"
    },
    "chain_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Human-readable chain name or null if unknown"
    },
    "address": {
      "type": "string",
      "description": "Queried address"
    },
    "wei": {
      "type": "string",
      "description": "Balance in wei (raw units)"
    },
    "balance": {
      "type": "string",
      "description": "Formatted balance in native token units"
    },
    "symbol": {
      "type": [
        "string",
        "null"
      ],
      "description": "Native token symbol or null if unknown"
    }
  },
  "required": [
    "chain_id",
    "chain_name",
    "address",
    "wei",
    "balance",
    "symbol"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "etherscan": {
      "url": "https://gateway.pipeworx.io/etherscan/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 21, 2026