Historical data
Superbank serves Solana ledger history over JSON-RPC: getTransaction, getSignaturesForAddress, getTransactionsForAddress; bulk backfill uses Old Faithful.
Superbank is an open-source Rust workspace that ingests Solana ledger data into ClickHouse and serves it as Solana-compatible JSON-RPC, adding server-side filters, pagination, and the getTransactionsForAddress method.
Existing Solana JSON-RPC clients work against Superbank. On mainnet endpoints, Triton routes the historical methods you already call to Superbank and other purpose-built backends automatically. Devnet and testnet endpoints are not served by Superbank, and dedicated nodes may differ.
The address index behind getSignaturesForAddress and getTransactionsForAddress skips four addresses: the System Program, the Vote Program, SysvarClock and SysvarSlotHashes.
Features and benefits
Faster historical queries
At p50 against BigTable: 5x faster getSignaturesForAddress, 38x getSignatureStatuses, 3.3x getTransaction.
Address history in one method
getTransactionsForAddress returns an address's transactions with server-side filters, optional token-account activity, and a pagination cursor.
Sub-1 ms recent reads
A head cache keeps the newest slots in memory, so recent reads return in under 1 ms.
Open source
Run Superbank yourself under AGPL-3.0. Source and schemas are on GitHub.
How it works
You query Superbank with the standard Solana JSON-RPC methods. Behind that, it ingests the full ledger into ClickHouse (a columnar database) and translates each request into SQL tuned to how the data is sorted.
Reads are tiered. A head cache holds the newest, not-yet-finalized slots in memory, so recent reads return in under 1 ms. An optional local disk cache (ClickHouse) serves recent finalized slots from local disk in place of the main ClickHouse store. ClickHouse serves the full history, and a miss at any cache layer falls through to the next one automatically.
For the full architecture (storage layout, materialized views, tiered storage) see Inside Superbank.
Supported methods
Superbank implements the methods below and serves ledger history back to the genesis block. Most follow standard Solana JSON-RPC; a few add an optional parameter or extend it.
getBlock, getBlocks, getBlocksWithLimit, getBlockTime, getBlockHeight, getSlot, getTransactionCount, getLatestBlockhash, getFirstAvailableBlock, getInflationReward, getSignatureStatuses, minimumLedgerSlot
Standard Solana JSON-RPC
getTransaction
Standard, plus Triton's optional slot hint (u64): skips the ledger-wide signature search by querying that exact slot. The response is null if the signature isn't present in that slot
getSignaturesForAddress
Standard, plus Triton's beforeSlot/untilSlot (u64) on shared mainnet endpoints (dedicated nodes may differ): exclusive whole-slot bounds (slot < beforeSlot, slot > untilSlot), not signature-position cursors. beforeSlot can't be combined with before, nor untilSlot with until
getTransactionsForAddress
Triton's extension: an address's transactions (signatures or full) in one method, with server-side filters (by status, slot, block time, and token accounts) and a pagination cursor; each call returns up to 1000 signatures or 100 full transactions. Token-account activity is included only through filters.tokenAccounts, which defaults to none
Serving notes:
JSON-RPC batch envelopes are supported.
On
getSignaturesForAddress, if the signature you pass asbeforeoruntilcan't be found, the call returns JSON-RPC error-32020(Transaction <signature> not found).On shared mainnet endpoints, Superbank's in-memory head cache also serves
processedcommitment ongetTransactionsForAddressand ongetSignaturesForAddress,getTransaction, andgetBlocks, which standard Solana JSON-RPC limits toconfirmedorfinalized. Dedicated nodes may differ.getBlockandgetInflationRewardtake onlyconfirmedorfinalized.getInflationRewardaccepts up to 100 addresses per request on shared mainnet endpoints. A request with more fails with-32602. Dedicated nodes may differ.
getTransactionsForAddress
getTransactionsForAddress returns an address's history in one call, so you don't call getSignaturesForAddress and then getTransaction for every signature. It's a custom method, not part of standard Solana JSON-RPC, and uses the same request and response envelope.
For the request, options, filters, token-account filtering, response, pagination, and examples, see getTransactionsForAddress.
Bulk historical data
Triton serves history over JSON-RPC. For bulk pulls, such as backfilling months or years of blocks, use Jetstreamer with the public Old Faithful archive. See Best practices.
Jetstreamer writes to ClickHouse or to a Jetstreamer plugin you write, and works with existing Geyser plugins for epochs 157 and later.
Old Faithful archive
Old Faithful is Triton's open-source archive of Solana ledger history from genesis.
To run Old Faithful yourself, see its repository and the JSON-RPC and gRPC references.
The self-hosted gRPC interface adds
StreamTransactionsandStreamBlocks, which filter data on the server. See the streaming examples.For the July 2024 archive verification report, see Old Faithful public report.
Self-hosting
Superbank is open source under AGPL-3.0, so you can run, audit, and extend it yourself. Its source-agnostic ingest means you can backfill from BigTable or an existing archive and then switch to a live stream.
Documentation, built from Superbank's
mainbranch: solana-rpc.github.io/superbank, with every setting on the configuration pageSource and schemas: github.com/solana-rpc/superbank
Walkthrough: Index Solana history with Superbank
The
getTransactionsForAddresstoken-account filters need the token-owner activity table populated.
Prefer not to operate it? Triton runs Superbank as a managed, globally distributed service. Get an endpoint.
What's next
Contact support by clicking the chat icon in your customer dashboard Sales questions? Contact us AI agent? Read llms.txt Follow updates: Blog · X · YouTube · Telegram · GitHub
Last updated