get_nft_balance
Retrieve the count of NFTs owned by a specific wallet address from a designated collection using blockchain network data. Simplifies checking NFT balances for Ethereum and compatible chains.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tokenAddress": "<tokenAddress>",
"ownerAddress": "<ownerAddress>"
},
"name": "get_nft_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network name (e.g., 'ethereum', 'optimism', 'arbitrum', 'base', 'polygon') or chain ID. Most NFTs are on Ethereum mainnet, which is the default. | |
| ownerAddress | Yes | The wallet address to check the NFT balance for (e.g., '0x1234...') | |
| tokenAddress | Yes | The contract address of the NFT collection (e.g., '0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D' for Bored Ape Yacht Club) |