Important
You may be missing transactions (tx) in your tx history!
Due to the way Solana works, when you fetch the history of an address via gSFA, it will NOT include all of the associated token account txs that the address owns.
You have to derive these separately (which might be hundreds to thouands of accounts and extra RPC calls) and merge their histories together.
This is extremely annoying, inefficient and counterintuitive.
(thank you anatoly)
We have fixed it.
With our new method, getTransactionsForAddress, simply pass in 'tokenAccounts: balanceChanged' as a filter and it will fetch all unlinked token accounts, merge them together and get you a unified history
Fewer API calls, fewer lines of code, and much lower latency.
Only on Helius.
(As an example see the below graphic for toly.sol where the standard RPC method misses the txns in the red on the left)