MCP Ethers Wallet

getWalletBalance

Query the ETH balance of an Ethereum wallet by providing its address. Optionally, specify a chain ID or network name to retrieve balance data across different Ethereum networks.

Instructions

Get the ETH 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.

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" } }, "required": [ "address" ], "type": "object" }
ID: j75jbdup5m