bnbchain-mcp

Official
by bnb-chain
MIT License
353
2

get_erc1155_balance

Retrieve the balance of a specific ERC1155 token ID for a given owner address. Specify the token contract address, token ID, and owner wallet to query balances across supported networks.

Instructions

Get the balance of a specific ERC1155 token ID owned by an address. ERC1155 allows multiple tokens of the same ID, so the balance can be greater than 1.

Input Schema

NameRequiredDescriptionDefault
networkNoNetwork name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet.bsc
ownerAddressYesThe wallet address to check the token balance for (e.g., '0x1234...')
tokenAddressYesThe contract address of the ERC1155 token collection (e.g., '0x76BE3b62873462d2142405439777e971754E8E77')
tokenIdYesThe ID of the specific token to check the balance for (e.g., '1234')

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "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" }, "ownerAddress": { "description": "The wallet address to check the token balance for (e.g., '0x1234...')", "type": "string" }, "tokenAddress": { "description": "The contract address of the ERC1155 token collection (e.g., '0x76BE3b62873462d2142405439777e971754E8E77')", "type": "string" }, "tokenId": { "description": "The ID of the specific token to check the balance for (e.g., '1234')", "type": "string" } }, "required": [ "tokenAddress", "tokenId", "ownerAddress" ], "type": "object" }
ID: t6zbvd82tr