nft_metadata
Pack: alchemy-eth · Endpoint: https://gateway.pipeworx.io/alchemy-eth/mcp
Single NFT metadata.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
contract | string | yes | |
tokenId | string | yes | |
refresh_cache | boolean | no | |
chain | string | no |
Example call
Arguments
{
"contract": "0xBC4CA0EdA7647A8aB7C2061c2E2ad6310f674457",
"tokenId": "1"
}
curl
curl -X POST https://gateway.pipeworx.io/alchemy-eth/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"nft_metadata","arguments":{"contract":"0xBC4CA0EdA7647A8aB7C2061c2E2ad6310f674457","tokenId":"1"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('nft_metadata', {
"contract": "0xBC4CA0EdA7647A8aB7C2061c2E2ad6310f674457",
"tokenId": "1"
});
Response shape
| Field | Type | Description |
|---|---|---|
contractAddress | string | NFT contract address |
tokenId | string | Token ID |
name | string | NFT name |
description | string | NFT description |
image | object | Image metadata object |
media | array | Media objects |
metadata | object | Additional metadata attributes |
timeLastUpdated | string | ISO timestamp of last update |
Full JSON Schema
{
"type": "object",
"properties": {
"contractAddress": {
"type": "string",
"description": "NFT contract address"
},
"tokenId": {
"type": "string",
"description": "Token ID"
},
"name": {
"type": "string",
"description": "NFT name"
},
"description": {
"type": "string",
"description": "NFT description"
},
"image": {
"type": "object",
"description": "Image metadata object"
},
"media": {
"type": "array",
"description": "Media objects"
},
"metadata": {
"type": "object",
"description": "Additional metadata attributes"
},
"timeLastUpdated": {
"type": "string",
"description": "ISO timestamp of last update"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"alchemy-eth": {
"url": "https://gateway.pipeworx.io/alchemy-eth/mcp"
}
}
}
See Getting Started for client-specific install steps.