getOwnersForContract
Fetch all owner addresses for an NFT contract, optionally including token balances, with pagination support for large collections.
Instructions
Get all owner addresses for an NFT contract, optionally with token balances
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": {
"contractAddress": "<contractAddress>"
},
"name": "getOwnersForContract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network ID. Call listSupportedNetworks for all options. e.g. "eth-mainnet", "base-mainnet" | eth-mainnet |
| contractAddress | Yes | Contract address for the NFT contract. | |
| withTokenBalances | No | If true, returns token balances for each owner. | |
| pageKey | No | Pagination key for contracts with >50,000 owners. |