Skip to main content

zks_getRawBlockTransactions RPC Method

Returns data of transactions in a block.

Updated on
Apr 03, 2026

Parameters

block
integer
REQUIRED

The block number

Returns

result
array

An array of raw transaction objects in the block

common_data
object

An object containing common data related to the executed transaction

L2
object

An object containing information for an L2-originated transaction (present when the transaction is not an L1 priority operation)

nonce
integer

The nonce of the transaction

fee
object

The fee parameters for the transaction

gas_limit
string

The gas limit for the transaction in hexadecimal format

max_fee_per_gas
string

The maximum fee per gas for the transaction in hexadecimal format

max_priority_fee_per_gas
string

The maximum priority fee per gas for the transaction in hexadecimal format

gas_per_pubdata_limit
string

The gas per public data limit for the transaction in hexadecimal format

initiatorAddress
string

The address of the transaction initiator

signature
array

The transaction signature as an array of byte values

transactionType
string

The type of the transaction (for example, EIP712Transaction or EIP1559Transaction)

input
object

The raw signed transaction input data

hash
string

The hash of the input data

data
array

The input data as an array of byte values

paymasterParams
object

Paymaster parameters for the transaction

paymaster
string

The paymaster contract address

paymasterInput
array

The paymaster input as an array of byte values

L1
object

An object containing information for an L1-originated priority transaction (mutually exclusive with L2 for a given transaction)

sender
string

The sender address of the transaction

serialId
integer

The serial ID of the transaction

layer2TipFee
string

The tip fee for the transaction on the L2 network in hexadecimal format

fullFee
string

The full fee for the transaction in hexadecimal format

maxFeePerGas
string

The maximum fee per gas for the transaction in hexadecimal format

gasLimit
string

The gas limit for the transaction in hexadecimal format

gasPerPubdataLimit
string

The gas per public data limit for the transaction in hexadecimal format

opProcessingType
string

The type of operation processing used for the transaction

priorityQueueType
string

The type of priority queue used for the transaction

canonicalTxHash
string

The canonical hash of the transaction on the L1 network

toMint
string

The address to mint tokens for the transaction

refundRecipient
string

The recipient address for any potential refund for the transaction

deadlineBlock
integer

The deadline block for the transaction on the L1 network

ethHash
string

The Ethereum transaction hash for the transaction

ethBlock
integer

The Ethereum block number for the transaction

execute
object

An object containing information about the execution of the transaction

contractAddress
string

The contract address for the execution

calldata
string

The calldata for the execution in hexadecimal format

value
string

The value for the execution in hexadecimal format

factoryDeps
array

An array containing factory dependencies for the execution

received_timestamp_ms
integer

The timestamp when the transaction was received

raw_bytes
string

The raw byte data of the transaction

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"common_data": {
7
"L2": {
8
"nonce": 5,
9
"fee": {
10
"gas_limit": "0x3b0bb",
11
"max_fee_per_gas": "0x2b275d0",
12
"max_priority_fee_per_gas": "0x0",
13
"gas_per_pubdata_limit": "0xc350"
14
},
15
"initiatorAddress": "0x2aa33c898a2b9727fefb34db2bcf01e72606eb58",
16
"signature": [
17
0,
18
0,
19
0,
20
0
21
],
22
"transactionType": "EIP712Transaction",
23
"input": {
24
"hash": "0xfff09364c6f8fbb0314529286fd226a5b9dc02ba8cb5d137a85d31091df54a00",
25
"data": [
26
113,
27
249,
28
1,
29
107
30
]
31
},
32
"paymasterParams": {
33
"paymaster": "0x0000000000000000000000000000000000000000",
34
"paymasterInput": []
35
}
36
}
37
},
38
"execute": {
39
"contractAddress": "0x3b50de27506f0a8c1f4122a1e6f470009a76ce2a",
40
"calldata": "0x7060a2270000000000000000000000000000000000000000000000000000000000000064",
41
"value": "0x0",
42
"factoryDeps": []
43
},
44
"received_timestamp_ms": 1738406734687,
45
"raw_bytes": "0x71f9016b05808402b275d0..."
46
}
47
],
48
"_truncated": true,
49
"_note": "Response truncated for documentation. signature: 256 bytes (showing 4); input.data: 367 bytes (showing 4); raw_bytes truncated."
50
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"common_data": {
7
"L2": {
8
"nonce": 5,
9
"fee": {
10
"gas_limit": "0x3b0bb",
11
"max_fee_per_gas": "0x2b275d0",
12
"max_priority_fee_per_gas": "0x0",
13
"gas_per_pubdata_limit": "0xc350"
14
},
15
"initiatorAddress": "0x2aa33c898a2b9727fefb34db2bcf01e72606eb58",
16
"signature": [
17
0,
18
0,
19
0,
20
0
21
],
22
"transactionType": "EIP712Transaction",
23
"input": {
24
"hash": "0xfff09364c6f8fbb0314529286fd226a5b9dc02ba8cb5d137a85d31091df54a00",
25
"data": [
26
113,
27
249,
28
1,
29
107
30
]
31
},
32
"paymasterParams": {
33
"paymaster": "0x0000000000000000000000000000000000000000",
34
"paymasterInput": []
35
}
36
}
37
},
38
"execute": {
39
"contractAddress": "0x3b50de27506f0a8c1f4122a1e6f470009a76ce2a",
40
"calldata": "0x7060a2270000000000000000000000000000000000000000000000000000000000000064",
41
"value": "0x0",
42
"factoryDeps": []
43
},
44
"received_timestamp_ms": 1738406734687,
45
"raw_bytes": "0x71f9016b05808402b275d0..."
46
}
47
],
48
"_truncated": true,
49
"_note": "Response truncated for documentation. signature: 256 bytes (showing 4); input.data: 367 bytes (showing 4); raw_bytes truncated."
50
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free