Streams a list of blocks matching the provided data query. Required request headers: Content-Type: application/json; optional request headers: Accept-Encoding: gzip, Content-Encoding: gzip.
Data query to filter and retrieve blocks
The number of the first block to fetch. If unsure how far into the past this can go consult /metadata
substrate The number of the last block to fetch (inclusive)
Expected hash of the parent of the first requested block
If true, includes blocks with no matching data
Field selector. See the HTTP 200 response description for details on fields that aren't self-explanatory
Event data requests. An empty object matches all events; an empty array matches no events
Call data requests. An empty object matches all calls; an empty array matches no calls
EVM.Log event requests for Frontier EVM parachains (e.g. Moonbeam, Astar). Filters on EVM.Log events specifically
Ethereum.transact call requests for Frontier EVM parachains. Filters on Ethereum.transact calls specifically
Contracts.ContractEmitted event requests for ink! smart contracts. Contract addresses must be hexadecimal (decoded from SS58) and lowercase
Gear.UserMessageEnqueued event requests for Gear/Vara networks
Gear.UserMessageSent event requests for Gear/Vara networks
Revive.ContractEmitted event requests for Revive smart contracts
A stream of blocks in JSON lines format, optionally gzipped. Can be empty if the data query has a bounded range and all blocks in the range have been skipped. May include X-Sqd-Finalized-Head-Number and X-Sqd-Finalized-Head-Hash headers, indicating the latest finalized block that's on the same chain as the returned blocks.