Skip to main content

Aptos Data Source – Streams

Updated on
Oct 05, 2026

Block with Transactions​

The data returned is an array of block objects. Each block object contains the same fields as the response of /v1/blocks/by_height/{block_height} from the Aptos Node API with with_transactions=true. The Block with Transactions dataset (Beta) includes block fields such as block_height, block_hash, block_timestamp, first_version, and last_version, along with a transactions array that contains every transaction in the block, such as block_metadata_transaction, user_transaction, and block_epilogue_transaction entries with their events and state changes.

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_hash": "0x79084af6339d00d431916db4ed122896efca38d1a5c5f1c1c37f2c427790f754",
"block_height": "1085875562",
"block_timestamp": "1790962576460682",
"first_version": "7458139137",
"last_version": "7458139144",
"transactions": [
{
"accumulator_root_hash": "0x3e26523630a0b2e73c990c149ebc2501fa45d1f465b56a18875461ee7ee6b225",
"block_metadata_extension": {
"decryption_key": null,
"decryption_round": null,
"randomness": null,
"type": "v3"
},
"changes": [
{
"address": "0x1",
"data": {
"data": {
"epoch_interval": "7200000000",
"height": "1085875562",
"new_block_events": {
"counter": "1085875563",
"guid": {
"id": {
"addr": "0x1",
"creation_num": "3"
}
}
},
"update_epoch_interval_events": {
"counter": "0",
"guid": {
"id": {
"addr": "0x1",
"creation_num": "4"
}
}
}
},
"type": "0x1::block::BlockResource"
},
"state_key_hash": "0x5ddf404c60e96e9485beafcabb95609fed8e38e941a725cae4dcec8296fb32d7",
"type": "write_resource"
}
],
"epoch": "17497",
"event_root_hash": "0x510c0047d1f88ac174860ba76fefc9f5ad2231a07ebff72cc11c0c28ae7fc20c",
"events": [
{
"data": {
"epoch": "17497",
"failed_proposer_indices": [],
"hash": "0x79084af6339d00d431916db4ed122896efca38d1a5c5f1c1c37f2c427790f754",
"height": "1085875562",
"previous_block_votes_bitvec": "0xc87b77f0def3721ac75528",
"proposer": "0x3e946c97ee31e856978aeecf359433298bf8801cf6540924bf51d9b86b6bfa69",
"round": "66148",
"time_microseconds": "1790962576460682"
},
"guid": {
"account_address": "0x1",
"creation_number": "3"
},
"sequence_number": "1085875562",
"type": "0x1::block::NewBlockEvent"
}
],
"failed_proposer_indices": [],
"gas_used": "0",
"hash": "0x4258de76f17a3cc44ff894754054ed72f8778371de35e14fa185530ec59d1901",
"id": "0x79084af6339d00d431916db4ed122896efca38d1a5c5f1c1c37f2c427790f754",
"previous_block_votes_bitvec": [
200,
123,
119,
240,
222,
243,
114,
26,
199,
85,
40
],
"proposer": "0x3e946c97ee31e856978aeecf359433298bf8801cf6540924bf51d9b86b6bfa69",
"round": "66148",
"state_change_hash": "0xd05233a6ef4abf32f193a56714120a383f406fd39d594b43fc6486ab06484b52",
"state_checkpoint_hash": null,
"success": true,
"timestamp": "1790962576460682",
"type": "block_metadata_transaction",
"version": "7458139137",
"vm_status": "Executed successfully"
},
{
"accumulator_root_hash": "0x8d8afcd9cf3984c7ad1f738b755d6e18df1e80593933b56a314e4f23aafeb5be",
"changes": [
{
"address": "0xa",
"data": {
"data": {
"type": {
"account_address": "0x1",
"module_name": "0x6170746f735f636f696e",
"struct_name": "0x4170746f73436f696e"
}
},
"type": "0x1::coin::PairedCoinType"
},
"state_key_hash": "0x1db5441d8fa4229c5844f73fd66da4ad8176cb8793d8b3a7f6ca858722030043",
"type": "write_resource"
}
],
"event_root_hash": "0x02191433349cd5b118f3008780082ca273c33bf67c7f820e45bfe660fd336fea",
"events": [
{
"data": {
"execution_gas_units": "103",
"io_gas_units": "48",
"storage_fee_octas": "0",
"storage_fee_refund_octas": "0",
"total_charge_gas_units": "151"
},
"guid": {
"account_address": "0x0",
"creation_number": "0"
},
"sequence_number": "0",
"type": "0x1::transaction_fee::FeeStatement"
}
],
"expiration_timestamp_secs": "1790962586",
"gas_unit_price": "155",
"gas_used": "151",
"hash": "0x37efb1b975e418b1906918073fac24c4720b2778d11d5a2bb9cc7b3f841830be",
"max_gas_amount": "2000000",
"payload": {
"arguments": [
{
"inner": "0xea66271149165e2345aae2fee6f323ec33ce4ec1bceaf96b98e44e848f15d7ce"
},
100
],
"function": "0x50ead22afd6ffd9769e3b3d6e0e64a2a350d68e8b102c4e72e33d0b8cfdfdb06::public_apis::process_perp_market_pending_requests",
"type": "entry_function_payload",
"type_arguments": []
},
"replay_protection_nonce": "11405812676582136857",
"sender": "0x642ac2e151eeb78a9504445c6cff9faeec502932bad747bb611bd3c850b9fefa",
"sequence_number": "18446744073709551615",
"signature": {
"public_key": "0x9969bed994b488bf45af043944e1a2da51e954043cddd9b696df758e11b355a2",
"signature": "0xd96d6b221a5ffad2213458a0f9ec0df5c2c260a80d9cc8828caa9f804be181c2a0bffd6e578919c2997fc122ae1f903f91dac6109409f13027a6093554a1be0a",
"type": "ed25519_signature"
},
"state_change_hash": "0xf5b68b7bd1ef6f7b45ac50802d04ab18abb90ad7700ef2064e3ceeaad4d5de8e",
"state_checkpoint_hash": null,
"success": true,
"timestamp": "1790962576460682",
"txn_limits_request": null,
"type": "user_transaction",
"version": "7458139138",
"vm_status": "Executed successfully"
},
{
"accumulator_root_hash": "0x2be6887e0baef4f20a618ca67d1d29665c46b4e401f114a1eabec93ad9f5f32e",
"block_end_info": {
"block_approx_output_size": 51401,
"block_effective_block_gas_units": 5061,
"block_gas_limit_reached": false,
"block_output_limit_reached": false
},
"changes": [
{
"data": null,
"handle": "0x260144efdb68d8bc15cf916ce31ccf2a72f32e43232adfe03c15f4c937ca3f76",
"key": "0x0c00000000000000",
"state_key_hash": "0xaa9968e0713bf3f43a85c4355a4f9f04516f686fc31d7bcc13f68864a7b4ae62",
"type": "write_table_item",
"value": "0x0000010005000000000000000001ac1b990000000000ffffffffffffffff010000000000000001e565df0300000000ffffffffffffffff0200000000000000010104150100000000ffffffffffffffff030000000000000001f6247d0000000000ffffffffffffffff040000000000000001afd7b30200000000ffffffffffffffff00000000000000000e00000000000000"
}
],
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "0",
"hash": "0xb06c9f83d0ab61ae4781afc53ddb1d1ef8440a055cc49d4c046fbe3582c17bdd",
"state_change_hash": "0x187e6916dce40b73b621c89efca5aabd859e74643e4248011c507b13aed59441",
"state_checkpoint_hash": "0x950e0c056cc4647bf526a3bdc5127db7e12a2b58bffd5f7de820f7c84840de69",
"success": true,
"timestamp": "1790962576460682",
"type": "block_epilogue_transaction",
"version": "7458139144",
"vm_status": "Executed successfully"
}
]
}
],
"metadata": {
"batch_end_range": 1085875562,
"batch_start_range": 1085875562,
"blocks_reorged": null,
"data_size_bytes": 186185,
"dataset": "block_with_transactions",
"end_range": 1085875562,
"keep_distance_from_tip": 0,
"network": "aptos-mainnet",
"reorgs": null,
"start_range": 1085875562,
"stream_id": "6fa99445-3a37-42f1-8c2a-40a9b178f3d1",
"stream_name": "test-stream",
"stream_region": "usa_east"
}
}