helius_get_token_accounts_by_owner
Retrieves all token accounts owned by a specified Solana address for a given token program, enabling portfolio and asset tracking.
Instructions
Get token accounts owned by a Solana address
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"publicKey": "<publicKey>",
"programId": "<programId>"
},
"name": "helius_get_token_accounts_by_owner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publicKey | Yes | ||
| programId | Yes |