4 min read · Updated 27 November 2026
getTransactionsForAddress Missing Token Transfers? Fix It
getTransactionsForAddress skips SPL token transfers by default. Set tokenAccounts to balanceChanged to see a wallet's full history, plus limits and paging.
Seeing a wallet's SOL transfers and swaps in getTransactionsForAddress, but none of its SPL token transfers? Then the call uses the default token-account filter. Tokens move between token accounts rather than wallet addresses, so filtering on the wallet misses those transactions. Pass filters.tokenAccounts with the value balanceChanged, and the token transfers come back.
Why token transfers are missing
An SPL token transfer takes tokens out of one token account and puts them into another. The wallet owns those token accounts, yet the wallet's own address is often absent from the transaction. getTransactionsForAddress works like getSignaturesForAddress here: unless told otherwise, it returns only transactions that reference the address you pass. That behaviour is the none setting of the tokenAccounts filter, which is the default.
The fix: tokenAccounts set to balanceChanged
filters.tokenAccounts accepts three values:
| Value | Returns |
|---|---|
none (default) |
Only transactions that reference the address directly |
balanceChanged |
Also transactions on the wallet's token accounts where a balance changed. The clean choice for wallet history |
all |
All transactions on the wallet's token accounts |
A full request:
curl -s -X POST "https://fra.rpc.orbitflare.com?api_key=YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getTransactionsForAddress",
"params": [
"WALLET_ADDRESS",
{
"transactionDetails": "full",
"limit": 100,
"maxSupportedTransactionVersion": 1,
"filters": {"tokenAccounts": "balanceChanged"}
}
]
}'
Pick balanceChanged for a wallet's transaction history page. Choose all only when the job really needs every token-account transaction, not just those where a balance changed.
Other getTransactionsForAddress errors
-32602"commitment must be 'finalized' or 'confirmed'":processedis rejected by this method. Switch toconfirmed, or keep the defaultfinalized.- Fewer results than expected: a single call returns up to 1,000 results at the
signaturesandnonedetail levels, and up to 100 ataccountsandfull. - Pages that skip or repeat: take the
paginationTokenfrom each response (it looks likeslot:txIndex) and fetch the next page only after the previous one, not in parallel. -32015while fetching full transactions: the example's"maxSupportedTransactionVersion": 1lets v1 transactions through.429sayingarchival rate limit exceeded: history has its own cap, 10% of your plan's RPS. Run the backfill slower; a retry loop only makes it worse.
What history cannot tell you
What you cannot get is the balance a wallet held at some earlier slot. Every balance-changing transaction is there, but Solana does not keep historical account state, so old balances have to be rebuilt from those transactions. The reasons are explained in Solana archive nodes and historical data.
Next step
Put "filters": {"tokenAccounts": "balanceChanged"} into your history calls, then re-run a wallet that you know has token transfers and check that they appear. Every plan includes full archive access since genesis; historical data explains what it covers, and the RPC error codes reference helps if a call fails with another error.