getNFTMetadata
Retrieve metadata for any NFT by providing its contract address and token ID, supporting multiple networks and token types.
Instructions
Get metadata for a specific NFT by contract address and token ID
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>",
"tokenId": "<tokenId>"
},
"name": "getNFTMetadata"
}
}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 of the NFT. | |
| tokenId | Yes | The ID of the token. Can be in hex or decimal format. | |
| tokenType | No | 'ERC721' or 'ERC1155'. Specifies type of token. | |
| tokenUriTimeoutInMs | No | Timeout in ms for metadata URI resolution. | |
| refreshCache | No | If true, refreshes the cached metadata. |