Blocks
Get block transactions
Blocks
Get block transactions
Get transactions that occurred in a given block.
GET
/
apechain
/
v1
/
block
/
{blockNumber}
/
transactions
curl --request GET \
--url https://data-api.cloud.ormi.dev/apechain/v1/block/{blockNumber}/transactions
{
"pagination": {
"page_number": 0,
"page_size": 100
},
"transactions": [
{
"block_hash": "0xe497df48d212d65d754ecdea7982f6f80d1d24cfbee08156ac2553587fc3a202",
"block_number": 4868513,
"block_timestamp": "2024-11-21T10:12:40Z",
"contract_address": "",
"cumulative_gas_used": "0",
"effective_gas_price": "25420690000",
"from_address": "0x00000000000000000000000000000000000a4b05",
"gas": "0",
"gas_price": "0",
"gas_used": "0",
"input": "0x6bf6a42d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014406e500000000000000000000000000000000000000000000000000000000004a49a10000000000000000000000000000000000000000000000000000000000000001",
"l1_fee": null,
"l1_fee_scalar": null,
"l1_gas_price": null,
"l1_gas_used": null,
"max_fee_per_gas": "",
"max_priority_fee_per_gas": "",
"nonce": "0",
"status": 1,
"to_address": "0x00000000000000000000000000000000000a4b05",
"transaction_hash": "0x05d789a2c6c2113aa43e212eec8b7ac7c0bc3e78dc2cee91e858ab3f5f225c7f",
"transaction_index": 0,
"transaction_type": 106,
"value": "0"
},
{
"block_hash": "0xe497df48d212d65d754ecdea7982f6f80d1d24cfbee08156ac2553587fc3a202",
"block_number": 4868513,
"block_timestamp": "2024-11-21T10:12:40Z",
"contract_address": "",
"cumulative_gas_used": "39129",
"effective_gas_price": "25420690000",
"from_address": "0x7a114d38a11b8b4dc2f74555b5b2bb1f5bd742c9",
"gas": "39504",
"gas_price": "25420690000",
"gas_used": "39129",
"input": "0x0989e8df000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200420069278ffcb8595272155d54d1cc7816f5e5778e225aabf9e0ad641ac6b20042006992205151fecb4f20fdfdd2dc1a62c8f58ed5286318ac6f923bb98633000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000082f1d87e29667ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffef00000000000000000000000000000000000000000000000000000000673f0790000000000000000000000000000000000000000000000000000d669581837703fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000673f0791",
"l1_fee": null,
"l1_fee_scalar": null,
"l1_gas_price": null,
"l1_gas_used": null,
"max_fee_per_gas": "30504828000",
"max_priority_fee_per_gas": "0",
"nonce": "218464",
"status": 1,
"to_address": "0x55e0007700c92c095078000b0000b1000000804e",
"transaction_hash": "0xee55b6c0cb29a1251fb40de78e890d390459ce168a6c0fa931ea667bf113255f",
"transaction_index": 1,
"transaction_type": 2,
"value": "0"
}
]
}
Path Parameters
Block number.
Query Parameters
Page number
Required range:
x >= 0
Page size
Required range:
1 <= x <= 100
Response
200 - application/json
OK
curl --request GET \
--url https://data-api.cloud.ormi.dev/apechain/v1/block/{blockNumber}/transactions
{
"pagination": {
"page_number": 0,
"page_size": 100
},
"transactions": [
{
"block_hash": "0xe497df48d212d65d754ecdea7982f6f80d1d24cfbee08156ac2553587fc3a202",
"block_number": 4868513,
"block_timestamp": "2024-11-21T10:12:40Z",
"contract_address": "",
"cumulative_gas_used": "0",
"effective_gas_price": "25420690000",
"from_address": "0x00000000000000000000000000000000000a4b05",
"gas": "0",
"gas_price": "0",
"gas_used": "0",
"input": "0x6bf6a42d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014406e500000000000000000000000000000000000000000000000000000000004a49a10000000000000000000000000000000000000000000000000000000000000001",
"l1_fee": null,
"l1_fee_scalar": null,
"l1_gas_price": null,
"l1_gas_used": null,
"max_fee_per_gas": "",
"max_priority_fee_per_gas": "",
"nonce": "0",
"status": 1,
"to_address": "0x00000000000000000000000000000000000a4b05",
"transaction_hash": "0x05d789a2c6c2113aa43e212eec8b7ac7c0bc3e78dc2cee91e858ab3f5f225c7f",
"transaction_index": 0,
"transaction_type": 106,
"value": "0"
},
{
"block_hash": "0xe497df48d212d65d754ecdea7982f6f80d1d24cfbee08156ac2553587fc3a202",
"block_number": 4868513,
"block_timestamp": "2024-11-21T10:12:40Z",
"contract_address": "",
"cumulative_gas_used": "39129",
"effective_gas_price": "25420690000",
"from_address": "0x7a114d38a11b8b4dc2f74555b5b2bb1f5bd742c9",
"gas": "39504",
"gas_price": "25420690000",
"gas_used": "39129",
"input": "0x0989e8df000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200420069278ffcb8595272155d54d1cc7816f5e5778e225aabf9e0ad641ac6b20042006992205151fecb4f20fdfdd2dc1a62c8f58ed5286318ac6f923bb98633000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000082f1d87e29667ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffef00000000000000000000000000000000000000000000000000000000673f0790000000000000000000000000000000000000000000000000000d669581837703fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000673f0791",
"l1_fee": null,
"l1_fee_scalar": null,
"l1_gas_price": null,
"l1_gas_used": null,
"max_fee_per_gas": "30504828000",
"max_priority_fee_per_gas": "0",
"nonce": "218464",
"status": 1,
"to_address": "0x55e0007700c92c095078000b0000b1000000804e",
"transaction_hash": "0xee55b6c0cb29a1251fb40de78e890d390459ce168a6c0fa931ea667bf113255f",
"transaction_index": 1,
"transaction_type": 2,
"value": "0"
}
]
}