nfts_for_collection
Pack: alchemy-eth · Endpoint: https://gateway.pipeworx.io/alchemy-eth/mcp
NFTs in a collection.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
contract | string | yes | |
withMetadata | boolean | no | |
startToken | string | no | |
limit | number | no | |
chain | string | no |
Example call
Arguments
{
"contract": "0xBC4CA0EdA7647A8aB7C2061c2E2ad6310f674457"
}
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":"nfts_for_collection","arguments":{"contract":"0xBC4CA0EdA7647A8aB7C2061c2E2ad6310f674457"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('nfts_for_collection', {
"contract": "0xBC4CA0EdA7647A8aB7C2061c2E2ad6310f674457"
});
More examples
{
"contract": "0xBC4CA0EdA7647A8aB7C2061c2E2ad6310f674457",
"withMetadata": true,
"limit": 50
}
Response shape
| Field | Type | Description |
|---|---|---|
nfts | array | Array of NFT objects in collection |
pageKey | string | Pagination key for next page |
Full JSON Schema
{
"type": "object",
"properties": {
"nfts": {
"type": "array",
"description": "Array of NFT objects in collection",
"items": {
"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"
},
"metadata": {
"type": "object",
"description": "Additional metadata attributes"
}
}
}
},
"pageKey": {
"type": "string",
"description": "Pagination key for next page"
}
}
}
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.