Skip to main content

zks_getTransactionDetails RPC Method

Returns data from a specific transaction identified by its transaction hash.

Updated on
Oct 29, 2024

zks_getTransactionDetails RPC Method

Parameters

hash
string
REQUIRED
The transaction hash encoded in hexadecimal format

Returns

ethCommitTxHash
string
The transaction hash of the commit transaction
ethExecuteTxHash
string
The transaction hash of the execute transaction
ethProveTxHash
string
The Ethereum transaction hash of the proof transaction
fee
string
The fee amount for the transaction in hexadecimal format
gasPerPubdata
string
The gas per public data for the transaction in hexadecimal format
initiatorAddress
string
The ddress of the transaction initiator
isL1Originated
boolean
A boolean flag indicating whether the transaction originated from L1 network
receivedAt
string
The timestamp when the transaction was received on the L2 network
status
string
The status 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_getTransactionDetails","params":["0x25f8014e1cd57c971bb2d2391e0af885c1b75b9b03c07ec426fc6224f88727d7" ],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free