get_token_holdings
Pack: solscan · Endpoint: https://gateway.pipeworx.io/solscan/mcp
SPL-token balances held by a Solana account. Returns mint, symbol, amount, decimals, USD value (if known).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
address | string | yes | Solana account public key |
page | number | no | 1-based page (default 1) |
page_size | number | no | 1-40 (default 20) |
Example call
Arguments
{
"address": "SolendFtLatfDwGrPfLVLocked111111111111111"
}
curl
curl -X POST https://gateway.pipeworx.io/solscan/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_token_holdings","arguments":{"address":"SolendFtLatfDwGrPfLVLocked111111111111111"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_token_holdings', {
"address": "SolendFtLatfDwGrPfLVLocked111111111111111"
});
More examples
{
"address": "SolendFtLatfDwGrPfLVLocked111111111111111",
"page": 2,
"page_size": 10
}
Response shape
Always returns: path, data
| Field | Type | Description |
|---|---|---|
path | string | API endpoint path |
data | object | Paginated SPL token holdings with mint, symbol, amount, decimals, USD value |
Full JSON Schema
{
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "API endpoint path"
},
"data": {
"type": "object",
"description": "Paginated SPL token holdings with mint, symbol, amount, decimals, USD value"
}
},
"required": [
"path",
"data"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"solscan": {
"url": "https://gateway.pipeworx.io/solscan/mcp"
}
}
}
See Getting Started for client-specific install steps.