Polygon nft metadata
polygon_nft_metadataMetadata for an ERC-721 or ERC-1155 token on Polygon PoS: collection name, current owner (ERC-721), token URI, and the metadata JSON fetched and decoded from IPFS, Arweave, HTTPS or an inline data URI, with a browser-loadable image URL. Costs $0.008 USDC on Base via x402.
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>",
"tokenId": "<tokenId>"
},
"name": "polygon_nft_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenId | Yes | Token id as a decimal string | |
| contract | Yes | NFT collection contract on Polygon PoS |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | string, e.g. "polygon" | |
| owner | No | string, e.g. "0x7241DDDec3A6aF367882eAF9651b87E1C7549Dff" | |
| tokenId | No | string, e.g. "5" | |
| contract | No | string, e.g. "0xDb46d1Dc155634FbC732f92E853b10B288AD5a1d" | |
| imageUrl | No | string, e.g. "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53M | |
| metadata | No | object | |
| standard | No | string, e.g. "ERC-721" | |
| tokenUri | No | string, e.g. "data:application/json;base64,eyJuYW1lIjo…" | |
| collection | No | string, e.g. "Lens Protocol Profiles" | |
| fetchedFrom | No | string, e.g. "inline data URI" |