Skip to main content

zks_getRawBlockTransactions RPC Method

Returns data of transactions in a block.

Updated on
Oct 29, 2024

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
string
The canonical hash of the transaction on the L1 network
deadlineBlock
integer
The deadline block for the transaction on the L1 network
ethBlock
integer
The Ethereum block number for the transaction
ethHash
string
The Ethereum transaction hash for the transaction
fullFee
string
The full fee 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
layer2TipFee
string
The tip fee for the transaction on the L2 network in hexadecimal format
maxFeePerGas
string
The maximum fee per gas 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
refundRecipient
string
The recipient address for any potential refund for the transaction
sender
string
The sender address of the transaction
serialId
integer
The serial ID of the transaction
toMint
string
The address to mint tokens for the transaction
execute
object
An object containing information about the execution of the transaction
calldata
string
The calldata for the execution in hexadecimal format
contractAddress
string
The contract address for the execution
factoryDeps
array
An array containing factory dependencies for the execution
value
string
The value for the execution in hexadecimal format
received_timestamp_ms
integer
The timestamp when the transaction was received
raw_bytes
string
The raw byte data of the transaction
Request
1
curl https://docs-demo.abstract-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"zks_getRawBlockTransactions","params":[653446],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free