Skip to main content

Ethereum & EVM Data Source – Streams

Updated on
Nov 11, 2026

The block, transaction, receipt, log, and trace schemas below apply to Ethereum and EVM-compatible networks, including Base, Hyperliquid, Arbitrum, Optimism, and Polygon. Validator Activity is currently available on Ethereum Mainnet. Use the table of contents to jump to a dataset.

Block​

The data returned is an array of block objects as returned by eth_getBlockByNumber. The Block schema models the structure of individual blocks on a chain, including fields like hash, number, nonce, and other relevant block data.

Additionally, it supports configuration options for re-org handling and batch sizes, allowing for customized data management and retrieval.

Note: Please review the chain specific documentation for the RPC method indicated above for more details about that chain's expected payload shape.

JSON Spec
{
"data": [
{
"gasUsed": "0xd0d11a",
"hash": "0xd964c5deacbea3e3df775ad1ed49744882d95dbdd1ae058b813cece959676820",
"number": "0x125d3e5",
"parentHash": "0xf31bcd75d2bebfe97a9aabae5c644c8d137552d2be3d8ff9f01278624d911011",
"timestamp": "0x65d2444f",
"transactions": [
{
"blockHash": "0xd964c5deacbea3e3df775ad1ed49744882d95dbdd1ae058b813cece959676820",
"blockNumber": "0x125d3e5"
}
],
"...": "..."
}
],
"metadata": {
"dataset": "block",
"end_range": -1,
"network": "ethereum-mainnet",
"stream_id": "f6ad6459-b5ad-4183-b370-1c1388e47e83",
"...": "..."
}
}

Receipts​

The data returned is an array of arrays, each containing receipt objects as returned by eth_getBlockReceipts. The Receipts schema corresponds to transaction receipts, focusing solely on transactions and excluding block details. These receipts serve as proof of transaction execution, detailing outcomes and specifics like gas usage.

Note: Please review the chain specific documentation for the RPC method indicated above for more details about that chain's expected payload shape.

JSON Spec
{
"data": [
[
{
"blockHash": "0xd010dbc965455076441782aa97a7aa1f526fe9da73b9af6ad319b87e84703475",
"blockNumber": "0x16263bb",
"contractAddress": null,
"cumulativeGasUsed": "0x5208",
"effectiveGasPrice": "0x2646fc5db",
"from": "0xab4f2fdca7521012edfee6e916778c6dae719bd3",
"gasUsed": "0x5208",
"logs": [],
"logsBloom": "0x000...000",
"status": "0x1",
"to": "0x82268e2cb7ac9ab32e3a99c68e5c13fbde1ae1f8",
"transactionHash": "0xfd3b28c03c750477a8451aa0fd66dad27ed06065bdcd21b092ebecd14c12649b",
"transactionIndex": "0x0",
"type": "0x0"
}
]
]
}

Block with Receipts​

The data returned is an array of objects containing a composite dataset with:


The Block with Receipts schema represents comprehensive details on individual blocks and their transaction receipts, including transaction status, gas utilized, value transferred, logs generated, and more.

Note: Please review the chain specific documentation for the RPC method indicated above for more details about that chain's expected payload shape.

JSON Spec
{
"data": [
{
"block": {
"baseFeePerGas": "0xfd069ed",
"blobGasUsed": "0x120000",
"parentHash": "0x590857a38b05fead84006130b330716de40d87d054266d2c2589fb6c4d7ac4b0",
"timestamp": "0x68ada7e3",
"transactions": [
{
"blockHash": "0xd010dbc965455076441782aa97a7aa1f526fe9da73b9af6ad319b87e84703475",
"blockNumber": "0x16263bb",
"from": "0xab4f2fdca7521012edfee6e916778c6dae719bd3",
"gas": "0x186a0",
"...": "..."
}
]
}
}
]
}

Logs​

The data returned is an array of arrays of log objects, as they appear within the logs array in transaction receipts. The Logs data schema corresponds to event logs generated by smart contract transactions, documenting significant events, function calls, or other relevant activities occurring within smart contracts. This data is associated with the eth_getLogs JSON-RPC method.

Note: Please review the chain specific documentation for the RPC method indicated above for more details about that chain's expected payload shape.

JSON Spec
{
"data": [
[
[
{
"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000d4bc53434c5e12cb41381a556c3c47e1a86e80e3",
"0x00000000000000000000000011b815efb8f581194ae79006d24e0d814b7697f6"
],
"data": "0x0000000000000000000000000000000000000000000000144cb0059dd91ec491",
"blockNumber": "0x16263be",
"transactionHash": "0x4cda2112bfb02ff07b3a88eced7e5f972ea2827bdcab448ae07d6330d62b30a2",
"transactionIndex": "0x0",
"blockHash": "0xb0587a2035660384c0a2f31bc2977f2dc60408618f67be97149d14b5fbc0741b",
"logIndex": "0x0",
"removed": false
}
]
]
]
}

Transactions​

The data returned is an array of arrays of transaction objects, as they appear in the transactions array of block data. The Transactions data schema narrows data down to focus on transaction details, similar to each transaction object you would get when using the eth_getTransactionByHash method.

Note: Please review the chain specific documentation for the RPC method indicated above for more details about that chain's expected payload shape.

JSON Spec
{
"data": [
[
{
"blockHash": "0xb0587a2035660384c0a2f31bc2977f2dc60408618f67be97149d14b5fbc0741b",
"blockNumber": "0x16263be",
"from": "0xd1fa51f2db23a9fa9d7bb8437b89fb2e70c60cb7",
"gas": "0x62b01",
"gasPrice": "0x121f68f4",
"accessList": [
{
"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"storageKeys": [
"0x4407b7e3a4d56c18eef645ef52b0e5371965ec86a7c46343194da25177be0647"
]
}
],
"...": "..."
}
]
]
}

Traces (debug_traceBlock)​

The data returned is an array of arrays of trace data as returned by debug_traceBlock. The Traces (debug_trace) data source provides a granular, step-by-step look at transaction executions, including internal calls and state changes, which is critical for debugging and optimizing smart contracts.

Note: Please review the chain specific documentation for the RPC method indicated above for more details about that chain's expected payload shape.

JSON Spec
{
"data": [
[
{
"txHash": "0x4cda2112bfb02ff07b3a88eced7e5f972ea2827bdcab448ae07d6330d62b30a2",
"result": {
"from": "0xd1fa51f2db23a9fa9d7bb8437b89fb2e70c60cb7",
"gas": "0x62b01",
"gasUsed": "0x4514e",
"to": "0xd4bc53434c5e12cb41381a556c3c47e1a86e80e3",
"calls": [
{
"from": "0xd4bc53434c5e12cb41381a556c3c47e1a86e80e3",
"gas": "0x4d23e",
"gasUsed": "0x30ba3",
"to": "0x11b815efb8f581194ae79006d24e0d814b7697f6",
"type": "CALL",
"...": "..."
}
]
}
}
]
]
}

Traces (trace_block)​

The data returned is an array of arrays of trace data as returned by trace_block. This data source is based on the trace_block and trace_transaction RPC methods and is served by Erigon blockchain node clients.

Note: Please review the chain specific documentation for the RPC method indicated above for more details about that chain's expected payload shape.

JSON Spec
{
"data": [
[
{
"action": {
"from": "0xd1fa51f2db23a9fa9d7bb8437b89fb2e70c60cb7",
"callType": "call",
"gas": "0x4e7a9",
"to": "0xd4bc53434c5e12cb41381a556c3c47e1a86e80e3",
"value": "0x7"
},
"blockHash": "0xb0587a2035660384c0a2f31bc2977f2dc60408618f67be97149d14b5fbc0741b",
"blockNumber": 23225278,
"result": {
"gasUsed": "0x30df6",
"output": "0x"
},
"subtraces": 1,
"traceAddress": [],
"transactionHash": "0x4cda2112bfb02ff07b3a88eced7e5f972ea2827bdcab448ae07d6330d62b30a2",
"type": "call"
}
]
]
}

Block with Receipts + debug_traces​

The data returned is an array of objects containing a composite dataset with:


  • block
  • receipts
  • traces (from debug_traceBlock)

If you want to retrieve an all-in-one data source for backfilling historical blockchain data, a data schema like Block with Receipts and debug_trace can retrieve block and transaction receipts, along with step-by-step transaction execution traces and internal transactions. This data source uses the eth_getBlockByNumber, eth_getBlockReceipts, and debug_traceBlock RPC methods.

Note: Please review the chain specific documentation for the RPC method indicated above for more details about that chain's expected payload shape.

JSON Spec
{
"data": [
{
"block": {
"baseFeePerGas": "0xfd069ed",
"blobGasUsed": "0x120000",
"parentHash": "0x590857a38b05fead84006130b330716de40d87d054266d2c2589fb6c4d7ac4b0",
"timestamp": "0x68ada7e3",
"transactions": [
{
"blockHash": "0xd010dbc965455076441782aa97a7aa1f526fe9da73b9af6ad319b87e84703475",
"blockNumber": "0x16263bb",
"from": "0xab4f2fdca7521012edfee6e916778c6dae719bd3",
"...": "..."
}
]
},
"receipts": [
{
"blockHash": "0xd010dbc965455076441782aa97a7aa1f526fe9da73b9af6ad319b87e84703475",
"blockNumber": "0x16263bb",
"contractAddress": null,
"cumulativeGasUsed": "0x5208",
"status": "0x1",
"transactionHash": "0xfd3b28c03c750477a8451aa0fd66dad27ed06065bdcd21b092ebecd14c12649b",
"...": "..."
}
],
"traces": [
{
"txHash": "0x4cda2112bfb02ff07b3a88eced7e5f972ea2827bdcab448ae07d6330d62b30a2",
"result": {
"from": "0xd1fa51f2db23a9fa9d7bb8437b89fb2e70c60cb7",
"gas": "0x62b01",
"gasUsed": "0x4514e",
"to": "0xd4bc53434c5e12cb41381a556c3c47e1a86e80e3",
"calls": [
{
"from": "0xd4bc53434c5e12cb41381a556c3c47e1a86e80e3",
"gas": "0x4d23e",
"gasUsed": "0x30ba3",
"to": "0x11b815efb8f581194ae79006d24e0d814b7697f6",
"type": "CALL",
"...": "..."
}
]
}
}
]
}
]
}

Block with Receipts + trace_block​

The data returned is an array of objects containing a composite dataset with:


  • block
  • receipts
  • traces (from trace_block)

Note: This data source is an alternative to the Block with Receipts + debug_traces schema above. It utilizes the trace_transaction RPC method from Erigon, instead of using the debug API from Geth.

If you want to backfill historical blockchain data, a data schema like Block with Receipts and trace_block is one solution. This data source uses the trace_transaction RPC method to retrieve transaction execution traces and internal transactions along with block and transaction receipt information using eth_getBlockByNumber, eth_getBlockReceipts RPC methods.

Note: Please review the chain specific documentation for the RPC method indicated above for more details about that chain's expected payload shape.

JSON Spec
{
"data": [
{
"block": {
"baseFeePerGas": "0x11d38b33",
"blobGasUsed": "0xa0000",
"difficulty": "0x0",
"excessBlobGas": "0x100000",
"extraData": "0x4275696c6465724e65742028466c617368626f747329",
"gasLimit": "0x2aea515",
"transactions": [
{
"blockHash": "0xda7dc0d852bf5fb4d512a4cd57d341ac908794851ce0b7f169f9963c851bb385",
"blockNumber": "0x16263c0",
"from": "0xae2fc483527b8ef99eb5d9b44875f005ba1fae13",
"gas": "0x453e74",
"gasPrice": "0x11d38b33",
"hash": "0x7d3220bd6b43886a3d30262c5b5e5366a16d0597f417e3010bea0a478a3e12e5",
"accessList": [
{
"address": "0x041db0b7aa2237c33ea836ad12c3ee8d0afd5e4d",
"storageKeys": [
"0x000000000000000000000000000000000000000000000000000000000000000e",
"0x000000000000000000000000000000000000000000000000000000000000000f"
]
}
],
"...": "..."
}
],
"...": "..."
},
"receipts": [
{
"blockHash": "0xda7dc0d852bf5fb4d512a4cd57d341ac908794851ce0b7f169f9963c851bb385",
"blockNumber": "0x16263c0",
"status": "0x1",
"...": "..."
}
],
"traces": [
{
"action": {
"from": "0xd1fa51f2db23a9fa9d7bb8437b89fb2e70c60cb7",
"callType": "call",
"gas": "0x4e7a9",
"to": "0xd4bc53434c5e12cb41381a556c3c47e1a86e80e3",
"value": "0x7"
},
"blockHash": "0xb0587a2035660384c0a2f31bc2977f2dc60408618f67be97149d14b5fbc0741b",
"blockNumber": 23225278,
"result": {
"gasUsed": "0x30df6",
"output": "0x"
},
"subtraces": 1,
"traceAddress": [],
"transactionHash": "0x4cda2112bfb02ff07b3a88eced7e5f972ea2827bdcab448ae07d6330d62b30a2",
"type": "call"
}
]
}
]
}

Validator Activity​

Available on Ethereum Mainnet — Eligible paid or Enterprise plan

Validator Activity is a Streams dataset currently available on Ethereum Mainnet. It is not available on Ethereum testnets or other EVM-compatible networks. Access requires an eligible paid plan or Enterprise plan.

Validator Activity delivers Ethereum Mainnet validator events grouped by finalized epoch and validator public key. Select Validator Activity in the dashboard, or use network: "ethereum-mainnet" and dataset: "validator_activity" in the REST API.

See epoch-based billing for pricing. Use epoch numbers for ranges, and start with dataset_batch_size: 1: an unfiltered epoch can exceed 100 MB. For example, epoch 487151 had an input size of 117,093,567 bytes and contained 812,759 validator entries.

Payload structure​

The filter receives a data array of epoch objects and a metadata object. Each epoch object has:

FieldTypeDescription
epochintegerFinalized state epoch used to key this dataset.
validatorsobjectMap from validator public key to an array of activity records. Keys are 0x-prefixed, 48-byte public keys, rather than execution-layer wallet addresses or validator indices.

Each activity record is a four-element array:

[event_type, event_epoch, block_number, slot]
PositionTypeDescription
0 — event_typestringActivity name, such as attestation_reward or block_proposed.
1 — event_epochintegerEpoch associated with this activity. It can differ from the enclosing epoch.
2 — block_numberinteger or nullExecution block number when the record identifies a block; otherwise null.
3 — slotinteger or nullBeacon slot when the record identifies a slot; otherwise null.

A validator can have multiple records in an epoch. Preserve the array instead of treating the public key as a single event. These tuples describe activity; they do not contain reward amounts, penalty amounts, or old/new field values.

The following example is shortened from epoch 487151. Only selected validators and records are shown, and the delivery metadata is omitted.

{
"data": [
{
"epoch": 487151,
"validators": {
"0x933ad9491b62059dd065b560d256d8957a8c402cc6e8d8ee7290ae11e8f7329267a8811c397529dac52ae1342ba58c95": [
[
"attestation_reward",
487149,
null,
null
]
],
"0xb2ce0f79f90e7b3a113ca5783c65756f96c4b4673c2b5c1eb4efc2228025944106d601211e8866dc5b50dc48a244dd7c": [
[
"attestation_penalty",
487149,
null,
null
]
],
"0xb9887e27076a97f04ca7c5dd5186e3d7dd0545f902c8604bcb0625b3b791a6c587aedb0b5eb2069f1a430f1c557e2795": [
[
"sync_committee_reward",
487150,
26349291,
15588800
],
[
"sync_committee_missed",
487150,
26349315,
15588824
]
],
"0xb5b4092816f44159cda6f2b22169f7cb9da39a9a59aab4fc3171f63659eb5b9e7d260f6195be47038521a982861acf7d": [
[
"block_proposed",
487150,
26349319,
15588828
]
]
}
}
]
}

Epochs and finality​

The top-level epoch identifies the finalized state, not the current epoch at delivery. For a finalized state epoch f, the timing model places attestation rewards and penalties at f - 2, and slot/sync committee activity at f - 1.

For example, the live payload for 487151 contained:

ActivityEvent epochBlock and slot
attestation_reward, attestation_penalty487149Both null
sync_committee_reward, sync_committee_missed, block_proposed487150Populated
status_changed, effective_balance_changed487151Both null

When the current epoch is e and the finalized state epoch is f = e - 2, the state at the start of f becomes available around the start of e. Two epochs correspond to 64 slots, or 12 minutes 48 seconds. This illustrates the timing relationship; actual delivery follows observed finality and indexing latency, rather than a fixed delivery deadline.

Activity names​

The following names were observed in epoch 487151. This is a sample, not an exhaustive list of possible event types; consumers should tolerate additional names.

GroupObserved event types
Attestationsattestation_reward, attestation_penalty
Sync committeesync_committee_reward, sync_committee_missed
Block proposalsblock_proposed
Withdrawalswithdrawal_paid
Consolidationsconsolidation_request, consolidation_queued_in, consolidation_queued_out, consolidation_queue_removed_in, consolidation_queue_removed_out
Validator statestatus_changed, effective_balance_changed, exit_epoch_changed, withdrawable_epoch_changed, activation_eligibility_epoch_changed

Configure an epoch range​

For this dataset, start_range and end_range identify epochs, and dataset_batch_size counts epochs. In Test Filter, the request field is still named block, but its value is an epoch number, such as "487151".

To create a paused, one-epoch backfill, use these fields in a Create Stream request alongside your name, region, destination, destination attributes, and filter:

{
"network": "ethereum-mainnet",
"dataset": "validator_activity",
"start_range": 487151,
"end_range": 487151,
"dataset_batch_size": 1,
"elastic_batch_enabled": false,
"status": "paused",
"fix_block_reorgs": 0,
"keep_distance_from_tip": 0
}

Both range boundaries are inclusive: this range selects one epoch. Check your filter and destination before activating the stream. Use the Get Stream endpoint to monitor it and Pause Stream to stop processing when needed.

Filter by validator public key​

For a KV Store watchlist, use qnLib.qnGetList to retrieve the watched public keys once, then select those keys from each epoch's validators object. This avoids submitting all validators from a payload larger than 100 MB to qnContainsListItems.

See the tested validator watchlist example. Filtering reduces the delivered payload; the dataset is billed per epoch. Configure your destination to handle the resulting payload size, and use gzip compression where supported.