Skip to main content

zks_getRawBlockTransactions RPC Method

Returns data of transactions in a block.

Updated on
May 19, 2025

zks_getRawBlockTransactions RPC Method

Parameters

block
integer
REQUIRED
The block number

Returns

common_data
object
Common data associated with the transaction
L2
object
Layer 2 transaction details
nonce
integer
The transaction nonce
fee
object
Fee information for the transaction
gas_limit
string
Maximum gas limit for the transaction
max_fee_per_gas
string
Maximum fee per gas unit
max_priority_fee_per_gas
string
Maximum priority fee per gas unit
gas_per_pubdata_limit
string
Gas limit per public data
initiatorAddress
string
Address that initiated the transaction
signature
array
Transaction signature as array of integers
transactionType
string
Type of transaction
input
object
Input data for the transaction
hash
string
Hash of the input data
data
array
Raw transaction data as array of integers
paymasterParams
object
Parameters related to the paymaster
paymaster
string
Address of the paymaster
paymasterInput
array
Input data for the paymaster
execute
object
Execution details of the transaction
contractAddress
string
Address of the contract being executed
calldata
string
Call data for the contract execution
value
string
Value being transferred in the transaction
factoryDeps
array
Factory dependencies for contract creation
received_timestamp_ms
integer
Timestamp when the transaction was received (in milliseconds)
raw_bytes
string
Raw transaction bytes in hexadecimal format
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free