Streams a list of blocks matching the provided data query, potentially including real-time data. Required request headers: Content-Type: application/json; optional request headers: Accept-Encoding: gzip, Content-Encoding: gzip.
Data query to filter and retrieve blocks
The block number to start fetching from (inclusive).
The type of blockchain data (fixed to EVM for this API).
evm The block number to fetch up to (inclusive). Optional; if omitted, streams until dataset height or timeout.
Expected hash of the parent of the first requested block.
If true, includes blocks with no matching data in the response.
Field selector for data items to retrieve.
Log data requests.
Transaction data requests.
Trace data requests.
State diff data requests.
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.