Skip to main content

zks_getRawBlockTransactions RPC Method

Returns data of transactions in a block.

Updated on
Nov 2, 2023

zks_getRawBlockTransactions RPC Method

Parameters

block
integer
REQUIRED
The block number

Returns

common_data
object
An object containing common data related to the executed transaction
L1
object
An object containing information about the corresponding transaction on the L1 network
canonicalTxHash
The canonical hash of the transaction on the L1 network
deadlineBlock
The deadline block for the transaction on the L1 network
ethBlock
The Ethereum block number for the transaction
ethHash
The Ethereum transaction hash for the transaction
fullFee
The full fee for the transaction in hexadecimal format
gasLimit
The gas limit for the transaction in hexadecimal format
gasPerPubdataLimit
The gas per public data limit for the transaction in hexadecimal format
layer2TipFee
The tip fee for the transaction on the L2 network in hexadecimal format
maxFeePerGas
The maximum fee per gas for the transaction in hexadecimal format
opProcessingType
The type of operation processing used for the transaction
priorityQueueType
The type of priority queue used for the transaction
refundRecipient
The recipient address for any potential refund for the transaction
sender
The sender address of the transaction
serialId
The serial ID of the transaction
toMint
The address to mint tokens for the transaction
execute
object
An object containing information about the execution of the transaction
calldata
The calldata for the execution in hexadecimal format
contractAddress
The contract address for the execution
factoryDeps
An array containing factory dependencies for the execution
value
The value for the execution in hexadecimal format
received_timestamp_ms
The timestamp when the transaction was received
Request
1
curl https://docs-demo.zksync-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"zks_getRawBlockTransactions","params":[5817],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free