bnbchain-mcp

Official
by bnb-chain
MIT License
353
2

get_nft_balance

Check the total number of NFTs owned by a wallet address in a specific collection. Provides NFT count without returning individual token IDs, supporting multiple networks.

Instructions

Get the total number of NFTs owned by an address from a specific collection. This returns the count of NFTs, not individual token IDs.

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 NFT balance for (e.g., '0x1234...')
tokenAddressYesThe contract address of the NFT collection (e.g., '0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D' for Bored Ape Yacht Club)

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 NFT balance for (e.g., '0x1234...')", "type": "string" }, "tokenAddress": { "description": "The contract address of the NFT collection (e.g., '0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D' for Bored Ape Yacht Club)", "type": "string" } }, "required": [ "tokenAddress", "ownerAddress" ], "type": "object" }
ID: t6zbvd82tr