NFT metadata: tokenURI plus the fetched metadata JSON (name, image, attributes) for ERC-721/1155
nft_metadataWhat an NFT is: tokenURI plus fetched metadata (name, image, attributes) for ERC-721/1155. Price: $0.003 USDC per call (x402, Base).
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": {
"contract": "<contract>",
"token_id": "<token_id>"
},
"name": "nft_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | "ethereum" (default) or "base" | |
| contract | Yes | NFT collection contract | |
| token_id | Yes | token id (decimal) |