Velox API
Every Velox Yellowstone gRPC method, filter map, commitment level and compression option, and what Velox does with from_slot, SubscribeReplayInfo, SubscribeDeshred and SubscribeGossip.
Velox serves the unmodified upstream Yellowstone Dragon's Mouth service, geyser.Geyser, from the v16.1.4 protos: geyser.proto and solana-storage.proto. Request and message shapes are exactly as in those files. This page covers what Velox supports.
Methods
| Method | Type | On Velox |
|---|---|---|
Subscribe | Bidirectional stream | Supported, every filter map below. from_slot is not supported |
Ping | Unary | Supported: returns PongResponse with your count |
GetVersion | Unary | Supported: returns 16.1.4+solana.4.3.2 |
GetSlot | Unary | Supported |
GetBlockHeight | Unary | Supported |
GetLatestBlockhash | Unary | Supported |
IsBlockhashValid | Unary | Supported |
SubscribeReplayInfo | Unary | Answers with no first_available: there is no replay window |
SubscribeDeshred | Server stream | Not supported: UNIMPLEMENTED. Pre-execution transactions are Omen's job |
SubscribeGossip | Server stream | Not supported: UNIMPLEMENTED |
GetSlot, GetBlockHeight, GetLatestBlockhash and IsBlockhashValid take an optional commitment.
Subscribe
Subscribe runs both ways: you write SubscribeRequest messages, the server streams SubscribeUpdate messages back.
- Each request replaces the whole active subscription. Build the complete state and send it in one message.
- A request that only carries
pingis the exception: it leaves your filters alone and gets apongwith the sameid. - You name every filter. Each update's
filterslists the names it matched, so you can route on them. - Every update carries
created_at.
SubscribeRequest fields
| Field | On Velox |
|---|---|
accounts | Supported |
slots | Supported |
transactions | Supported |
transactions_status | Supported |
blocks | Supported |
blocks_meta | Supported |
entry | Supported |
block_footer | Supported |
commitment | PROCESSED (default), CONFIRMED or FINALIZED; one level covers every filter in the request |
accounts_data_slice | Supported |
ping | Supported; reply to server pings with it |
from_slot | Not supported: the stream fails with INTERNAL, from_slot is not supported |
Filter maps
| Map | Filter fields | Updates you get |
|---|---|---|
accounts | account, owner, filters (memcmp, datasize, token_account_state, lamports), nonempty_txn_signature, cuckoo_accounts_filter | account |
slots | filter_by_commitment, interslot_updates | slot |
transactions | vote, failed, signature, account_include, account_exclude, account_required, cuckoo_account_include, token_accounts | transaction: the transaction with its status meta |
transactions_status | Same fields as transactions | transaction_status: signature, slot, index and error only |
blocks | account_include, include_transactions, include_accounts, include_entries, cuckoo_account_include | block |
blocks_meta | None | block_meta |
entry | include_update_parent | entry, plus entry_update_parent when you opt in |
block_footer | include_certificates | block_footer |
Every server-to-client message is one of: account, slot, transaction, transaction_status, block, block_meta, entry, entry_update_parent, block_footer, ping, pong.
Caps on keys and filter counts are in Limits.
Block footers
block_footer streams the Alpenglow block footer as its own update as soon as it's reported, without waiting for the block. Join it to other per-block updates on (slot, bank_id).
| Field | Sent |
|---|---|
slot, bank_id, bank_hash, block_producer_time_nanos, block_user_agent | Always |
block_final_cert, skip_reward_cert, notar_reward_cert | Only with include_certificates: true |
In TypeScript, @triton-one/yellowstone-grpc 9.0.0 or newer has the typed certificate fields.
Commitment
| Level | On Velox |
|---|---|
PROCESSED | Executed and streamed first. The earliest point; the slot can still be skipped |
CONFIRMED | Follows Alpenglow finalization certificates |
FINALIZED | Follows Alpenglow finalization certificates |
Compression
Requests may be compressed with gzip, deflate or zstd, or sent uncompressed (identity).
Not supported
| Feature | What happens | Instead |
|---|---|---|
from_slot replay | The stream fails with INTERNAL, from_slot is not supported | Reconnect without it and fill the gap through Solana RPC (reconnect) |
SubscribeReplayInfo window | The response has no first_available | — |
SubscribeDeshred | UNIMPLEMENTED | Omen streams pre-execution transactions |
SubscribeGossip | UNIMPLEMENTED | — |
x-token | Not used; your registered egress IP is the credential | Access |
Velox quick start
Stream processed Solana transactions from Velox over Yellowstone gRPC in TypeScript or Rust, reply to pings, and reconnect without from_slot.
Regions & endpoints
The four Velox Yellowstone gRPC endpoints in Frankfurt, Amsterdam, New York and Tokyo, TLS or plaintext, and how to pass them to a gRPC client.