token_balances
Pack: alchemy-eth · Endpoint: https://gateway.pipeworx.io/alchemy-eth/mcp
ERC-20 balances.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
address | string | yes | |
contracts | array | no | |
items | string | no | |
chain | string | no |
Example call
Arguments
{
"address": "0x1234567890123456789012345678901234567890"
}
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":"token_balances","arguments":{"address":"0x1234567890123456789012345678901234567890"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('token_balances', {
"address": "0x1234567890123456789012345678901234567890"
});
More examples
{
"address": "0x1234567890123456789012345678901234567890",
"contracts": [
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
]
}
Response shape
| Field | Type | Description |
|---|---|---|
address | string | The address queried |
tokenBalances | array | Array of token balance objects |
pageKey | string | Pagination key for next page |
Full JSON Schema
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "The address queried"
},
"tokenBalances": {
"type": "array",
"description": "Array of token balance objects",
"items": {
"type": "object",
"properties": {
"contractAddress": {
"type": "string",
"description": "Token contract address"
},
"tokenBalance": {
"type": "string",
"description": "Balance in wei as hex string"
},
"error": {
"type": "string",
"description": "Error message if balance fetch failed"
}
}
}
},
"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.