Eth nft metadata
eth_nft_metadataMetadata for an ERC-721 or ERC-1155 token on Ethereum: 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": "eth_nft_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenId | Yes | Token id as a decimal string | |
| contract | Yes | NFT collection contract on Ethereum |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | string, e.g. "eth" | |
| owner | No | string, e.g. "0x46EFbAedc92067E6d60E84ED6395099723252496" | |
| tokenId | No | string, e.g. "1" | |
| contract | No | string, e.g. "0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D" | |
| imageUrl | No | string, e.g. "https://nft2-cdn.alchemy.com/eth-mainnet/65558a4d0c5b0c56fb | |
| metadata | No | object | |
| standard | No | string, e.g. "ERC-721" | |
| tokenUri | No | string, e.g. "ipfs://QmeSjSinHpPnmXmspMjwiXyN6zS4E9zccariGR3jxcaWtq/1" | |
| collection | No | string, e.g. "BoredApeYachtClub" | |
| fetchedFrom | No | string, e.g. "Alchemy NFT API cache (token URI host unavailable)" |