Skip to main content
Glama

ab_get_balance

Fetch current on-chain wallet balances including native ETH and ERC-20 tokens using address or ENS name resolution.

Instructions

Fetch the current on-chain balance for a wallet.

CAPABILITIES • Native ETH balance (default) • ERC-20 balance via tokenAddress OR well-known tokenSymbol (lookup table) • ENS name resolution for the target address

EXAMPLES

  1. Native balance → { address: "vitalik.eth" }

  2. ERC-20 balance via symbol → { address: "0x123…", tokenSymbol: "USDC" }

  3. ERC-20 via contract → { address: "0xabc…", tokenAddress: "0xA0b8…" }

RETURNS • Human-readable string (e.g. "12.3456")

SECURITY • Read-only operation, no gas spent; safe to run frequently.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYesTarget wallet (address or ENS) to query
tokenAddressNoERC-20 token address
tokenSymbolNoToken symbol to resolve (e.g. USDC)

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/wearesociety/abstract_MCP'

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