Solana Geyser is the plugin interface built into the Agave validator that hands account updates, slot status, transactions, entries and block metadata to an external program as the validator receives and replays blocks. A Geyser plugin is a shared library the validator loads at startup, and it usually writes that data to a database, queue or gRPC stream.
Why does Solana have Geyser plugins?#
A validator that also answers RPC requests does two jobs at once: it keeps up with the chain and it serves queries. Anza's documentation explains that heavy queries, with getProgramAccounts as the named example, can make such a validator fall behind the network.
Geyser moves the query work elsewhere. The validator pushes the data it already produces during replay to an external store, such as a relational database, a NoSQL store or Kafka. Separate services then answer queries from that store, where they can add caching and indexes suited to their own users. The validator is left to process transactions.
The same mechanism is also used to stream live chain data out of a node, as the Yellowstone example below shows. Trading systems, including MEV searchers, often take their account updates this way.
How is a Geyser plugin loaded?#
A plugin is a dynamic library compiled against the agave-geyser-plugin-interface crate. It implements the GeyserPlugin trait and exports a C function named _create_plugin, which returns a pointer to the plugin object.
The operator points the validator at a configuration file with the --geyser-plugin-config flag. The file is JSON5 and must contain a libpath field with the full path of the library. Anything else in the file, such as database connection settings or account selectors, is passed to the plugin to interpret.
After the validator loads the library at startup it calls on_load, where the plugin initialises itself. On a clean shutdown it calls on_unload. The plugin runs inside the validator process, so a slow or crashing plugin affects the validator directly.
What data does a Geyser plugin receive?#
A plugin declares what it wants, then the validator calls it for each event. The classic callbacks in Anza's documentation are:
| Callback | What it reports |
|---|---|
update_account | An account's new data, owner, lamports and a write version, with the slot it changed in |
notify_end_of_startup | That every account restored from the snapshot has been sent |
update_slot_status | A change in a slot's status, such as processed, confirmed or rooted |
notify_transaction | An executed transaction with its status metadata and whether it is a vote |
notify_block_metadata | Block hash, parent, block time, height and executed transaction count |
notify_entry | Each entry of the block, as it is replayed |
notify_deshred_transaction | A transaction as soon as entries are formed from shreds, before execution and without its status metadata |
At startup the validator replays every account in its snapshot through update_account with is_startup set, which can be a very large burst. During normal running the flag is false and the update carries the transaction that caused it.
Anza is direct about speed. Any delay inside update_account while transactions are processing can make the validator fall behind, so persistence to the external store should happen asynchronously.
Ordering needs care too. Transactions in a block are processed and notified in parallel, so a plugin has to use the transaction index for their relative order. The documentation also says the confirmed and processed slot events can reach a plugin in either order, while rooted always comes after processed. The confirmation levels page explains what each of those states means.
How does Yellowstone gRPC relate to Geyser?#
Yellowstone gRPC, maintained by Triton One, is the widely used open-source example. Its README calls it a Geyser based gRPC interface for Solana. The validator loads it as a plugin, and it serves subscribers over gRPC instead of writing to a database.
Clients subscribe with filters. Accounts can be selected by address, by owning program, or with the data size and byte comparison filters familiar from getProgramAccounts. Transactions can be filtered by vote status, failure, signature or the accounts they touch. Slot updates can be filtered by commitment, and processed, confirmed and finalized are all supported. The README also notes that its deshred subscription, which streams transactions before execution, returns unimplemented in the open-source server.
What changed for Geyser with Alpenglow?#
Alpenglow's voting phase went live on mainnet in October 2026 with Agave 4.3, and it changed the Geyser interface. The Solana Foundation's upgrade page lists the changes:
- A slot can carry more than one candidate block. Inside the validator each candidate is a separate bank, and every Geyser event now carries a
bank_idnaming the bank it belongs to. - Agave 4.3 deprecates
update_account,notify_transaction,notify_entryandnotify_block_metadata. Their replacements end in_for_bank, plusupdate_account_from_snapshotfor startup. - New callbacks report when a leader abandons a bank it had started, so a plugin knows which buffered entries to discard.
- An opt-in
notify_block_footercallback delivers the Alpenglow block footer, which can hold finalization certificates.
The Foundation's advice to consumers is to buffer per slot and bank pair, keep the bank that reaches confirmed, and drop the rest. It also warns that bank_id is a counter local to each validator, so streams from two providers must be matched on the blockhash.
How is Geyser different from reading shreds?#
Most of what Geyser reports comes from replay: accounts the validator has updated, transactions it has executed, slots as they reach each status. The node must first receive enough shreds to rebuild entries, then execute them. The newer deshred callback moves one step earlier. The interface documentation says it fires when entries are formed from shreds, before any execution, and carries no execution metadata. Either way, the data comes out of a validator that has received the shreds and reassembled them.
A raw shred feed sits before all of that. It hands you the pieces of a block as they travel through the network, with no validator in between. You get no account state, no execution result and no filtering, and you have to rebuild entries yourself. In return you skip the wait for replay. The ShredStream overview covers that kind of feed, and the concepts page in our docs shows how shreds turn into entries.
Neither replaces the other. A system that needs balances or program state uses Geyser. A system that needs to see transactions as early as possible may also read shreds. Where the time goes in each path is the subject of where Solana latency comes from.
Questions#
Do I need my own validator to use Geyser?#
To load a plugin you need a node you control, since the plugin runs inside the validator process. Without one, you subscribe to a provider that runs a Geyser based service such as Yellowstone gRPC.
Is Geyser data final?#
Not by default. Account and transaction notifications fire during replay, before the block is finalized. Use the slot status events, or a subscription at finalized commitment, when you need settled data.
Can a Geyser plugin slow down a validator?#
Yes. Anza's documentation warns that delays in the account update callback can make the validator fall behind, which is why plugins should persist data asynchronously.
Sources#
- Anza docs: Solana Validator Geyser Plugins (checked 2026-11-17)
- Anza docs: Alpenglow, block footers and Geyser plugins (checked 2026-11-17)
- Solana Foundation: Alpenglow upgrade page (bank-aware Geyser callbacks, bank_id) (checked 2026-11-17)
- docs.rs: agave-geyser-plugin-interface 8.0.0, GeyserPlugin trait and SlotStatus (checked 2026-11-17)
- Yellowstone gRPC README (Triton One) (checked 2026-11-17)