Corvus Labs

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

MethodTypeOn Velox
SubscribeBidirectional streamSupported, every filter map below. from_slot is not supported
PingUnarySupported: returns PongResponse with your count
GetVersionUnarySupported: returns 16.1.4+solana.4.3.2
GetSlotUnarySupported
GetBlockHeightUnarySupported
GetLatestBlockhashUnarySupported
IsBlockhashValidUnarySupported
SubscribeReplayInfoUnaryAnswers with no first_available: there is no replay window
SubscribeDeshredServer streamNot supported: UNIMPLEMENTED. Pre-execution transactions are Omen's job
SubscribeGossipServer streamNot 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 ping is the exception: it leaves your filters alone and gets a pong with the same id.
  • You name every filter. Each update's filters lists the names it matched, so you can route on them.
  • Every update carries created_at.

SubscribeRequest fields

FieldOn Velox
accountsSupported
slotsSupported
transactionsSupported
transactions_statusSupported
blocksSupported
blocks_metaSupported
entrySupported
block_footerSupported
commitmentPROCESSED (default), CONFIRMED or FINALIZED; one level covers every filter in the request
accounts_data_sliceSupported
pingSupported; reply to server pings with it
from_slotNot supported: the stream fails with INTERNAL, from_slot is not supported

Filter maps

MapFilter fieldsUpdates you get
accountsaccount, owner, filters (memcmp, datasize, token_account_state, lamports), nonempty_txn_signature, cuckoo_accounts_filteraccount
slotsfilter_by_commitment, interslot_updatesslot
transactionsvote, failed, signature, account_include, account_exclude, account_required, cuckoo_account_include, token_accountstransaction: the transaction with its status meta
transactions_statusSame fields as transactionstransaction_status: signature, slot, index and error only
blocksaccount_include, include_transactions, include_accounts, include_entries, cuckoo_account_includeblock
blocks_metaNoneblock_meta
entryinclude_update_parententry, plus entry_update_parent when you opt in
block_footerinclude_certificatesblock_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).

FieldSent
slot, bank_id, bank_hash, block_producer_time_nanos, block_user_agentAlways
block_final_cert, skip_reward_cert, notar_reward_certOnly with include_certificates: true

In TypeScript, @triton-one/yellowstone-grpc 9.0.0 or newer has the typed certificate fields.

Commitment

LevelOn Velox
PROCESSEDExecuted and streamed first. The earliest point; the slot can still be skipped
CONFIRMEDFollows Alpenglow finalization certificates
FINALIZEDFollows Alpenglow finalization certificates

Compression

Requests may be compressed with gzip, deflate or zstd, or sent uncompressed (identity).

Not supported

FeatureWhat happensInstead
from_slot replayThe stream fails with INTERNAL, from_slot is not supportedReconnect without it and fill the gap through Solana RPC (reconnect)
SubscribeReplayInfo windowThe response has no first_available—
SubscribeDeshredUNIMPLEMENTEDOmen streams pre-execution transactions
SubscribeGossipUNIMPLEMENTED—
x-tokenNot used; your registered egress IP is the credentialAccess

On this page