bnbchain-mcp

Official
by bnb-chain
MIT License
353
2

get_erc20_balance

Retrieve ERC20 token balances for a specific address on supported networks, including BSC, Ethereum, and others, by providing the token contract address and network details.

Instructions

Get ERC20 token balance for an address

Input Schema

NameRequiredDescriptionDefault
addressYesThe address to check balance for
networkNoNetwork name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet.bsc
tokenAddressYesThe ERC20 token contract address

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "address": { "description": "The address to check balance for", "type": "string" }, "network": { "default": "bsc", "description": "Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet.", "type": "string" }, "tokenAddress": { "description": "The ERC20 token contract address", "type": "string" } }, "required": [ "tokenAddress", "address" ], "type": "object" }
ID: t6zbvd82tr