1 д. назад
The Solana read layer: Now 10x lower latency, with 100x fewer RPC calls, and 1000x less code
1 д. назад
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 тыс.
27
Содержание этой страницы предоставляется третьими сторонами. OKX не является автором цитируемых статей и не имеет на них авторских прав, если не указано иное. Материалы предоставляются исключительно в информационных целях и не отражают мнения OKX. Материалы не являются инвестиционным советом и призывом к покупке или продаже цифровых активов. Раздел использует ИИ для создания обзоров и кратких содержаний предоставленных материалов. Обратите внимание, что информация, сгенерированная ИИ, может быть неточной и непоследовательной. Для получения полной информации изучите соответствующую оригинальную статью. OKX не несет ответственности за материалы, содержащиеся на сторонних сайтах. Цифровые активы, в том числе стейблкоины и NFT, подвержены высокому риску, а их стоимость может сильно колебаться. Перед торговлей и покупкой цифровых активов оцените ваше финансовое состояние и принимайте только взвешенные решения.