Stream complete blocks as they are produced by the validator, including all transactions, account state changes, rewards, and ledger entries. This is the most data-rich subscription type, delivering everything you would get from calling GetBlock on every slot -- but pushed to you in real time.
Block subscriptions are essential for building block explorers, full-chain indexers, and analytics pipelines. You can optionally include or exclude transactions, accounts, and entries to control bandwidth. For lightweight monitoring where you only need block metadata, use BlockMeta Subscriptions instead.
Filter Parameters
Parameter
Type
Required
Description
account_include
string[]
No
Only include blocks that contain transactions involving these accounts
include_transactions
bool
No
Include full transaction data in the block (default: true)
include_accounts
bool
No
Include account state changes in the block (default: false)
include_entries
bool
No
Include ledger entry data in the block (default: false)
Update Payload
Field
Type
Description
slot
uint64
The block slot number
blockhash
string
The blockhash of this block
parent_slot
uint64
The parent block slot
parent_blockhash
string
The parent block hash
transactions
SubscribeUpdateTransactionInfo[]
All transactions in the block (if include_transactions is true)