solana_wallet_tokens
Pack: solana-rpc · Endpoint: https://gateway.pipeworx.io/solana-rpc/mcp
SPL token holdings of a Solana wallet: mint address, token balance, decimals and token-account address for
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
wallet | string | yes | Base58 Solana wallet address (32-44 chars) |
limit | number | no | Holdings per page, 1-200 (default 25) |
offset | number | no | Page offset into the balance-sorted list (default 0) |
min_amount | number | no | Keep only holdings at or above this token balance |
include_zero | boolean | no | Include emptied token accounts (default false) |
program | string | no | Which token program to scan (default both) |
Example call
Arguments
{
"wallet": "Gf9XgdmvNHt8fUTFsWAccNbKeyDXsgJyZN8iFJKg5Pbd",
"limit": 10
}
curl
curl -X POST https://gateway.pipeworx.io/solana-rpc/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"solana_wallet_tokens","arguments":{"wallet":"Gf9XgdmvNHt8fUTFsWAccNbKeyDXsgJyZN8iFJKg5Pbd","limit":10}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('solana_wallet_tokens', {
"wallet": "Gf9XgdmvNHt8fUTFsWAccNbKeyDXsgJyZN8iFJKg5Pbd",
"limit": 10
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"solana-rpc": {
"url": "https://gateway.pipeworx.io/solana-rpc/mcp"
}
}
}
See Getting Started for client-specific install steps.