The Solana read layer:
Now 10x lower latency, with 100x fewer RPC calls, and 1000x less code
today, Solana changes forever
we've solved the biggest data/RPC problem that exists
solana historical/archival data — has now been redesigned
quick context:
today when you query historical data (getBlock/getTransaction/getSignaturesForAddress), it hits Google BigTable
this is i) slow, ii) expensive, iii) inflexible for queries
e.g., you physically can not get the first tx for a Solana address without looping back endlessly from the latest tx
for busy addresses, this can take thousands of RPC calls — extremely slow, expensive, and annoying
also, imagine you wanted to get the most recent 100 txs for an address, how do you do it?
you first hit getSignaturesForAddress to get all the tx signatures and then call getTransaction on each tx to get its details — this can take 1,001 RPC calls in the worst case
not anymore
we have built a new distributed archival storage system that is 1,000x faster, more flexible, and more scalable
the best part? we're introducing a new API method:
getTransactionsForAddress
with this method, you can now:
i) combine getSignaturesForAddress and getTransaction calls into just 1 call instead of 1,000
ii) you can search in reverse order without needing to traverse
iii) you can search historical transactions by time and slot ranges (e.g. get me all the txns from January 5th, 2025 until February 5th, 2025)
what's more:
- getBlock calls are now 10x faster
- getTransaction calls are now 10x faster
- getSignaturesForAddress calls are now 10x faster
10x lower latency, 100x fewer RPC calls, and 1000x less code
enjoy!
docs below
1,99 tn
27
Innehållet på den här sidan tillhandahålls av tredje part. Om inte annat anges är OKX inte författare till den eller de artiklar som citeras och hämtar inte någon upphovsrätt till materialet. Innehållet tillhandahålls endast i informationssyfte och representerar inte OKX:s åsikter. Det är inte avsett att vara ett godkännande av något slag och bör inte betraktas som investeringsrådgivning eller en uppmaning att köpa eller sälja digitala tillgångar. I den mån generativ AI används för att tillhandahålla sammanfattningar eller annan information kan sådant AI-genererat innehåll vara felaktigt eller inkonsekvent. Läs den länkade artikeln för mer detaljer och information. OKX ansvarar inte för innehåll som finns på tredje parts webbplatser. Innehav av digitala tillgångar, inklusive stabila kryptovalutor och NFT:er, innebär en hög grad av risk och kan fluktuera kraftigt. Du bör noga överväga om handel med eller innehav av digitala tillgångar är lämpligt för dig mot bakgrund av din ekonomiska situation.


