getTransactionsForAddress (gTFA)
Search documents
X @mert | helius.dev
mert | helius.dev· 2025-10-29 00:23
RT nick | helius.dev (@nick_pennie)earlier today @heliuslabs launched a new RPC method, getTransactionsForAddress (gTFA)let's talk about how it works under the hoodsolana transactions typically reference 6-10 accounts (up to ~256)when you query "get me the history of account X", you are asking the RPC to scan transactions and find the ones that include X in their list of accountsthis is essentially trying to find a needle in a haystackyou can't simply add a standard index on the "accounts" array at scale – ...