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
The transaction hash of the commit transaction
ethExecuteTxHash
The transaction hash of the execute transaction
ethProveTxHash
The Ethereum transaction hash of the proof transaction
fee
The fee amount for the transaction in hexadecimal format
gasPerPubdata
The gas per public data for the transaction in hexadecimal format
initiatorAddress
The ddress of the transaction initiator
isL1Originated
A boolean flag indicating whether the transaction originated from L1 network
receivedAt
The timestamp when the transaction was received on the L2 network
status
The status of the transaction
Request
1
curl https://docs-demo.abstract-testnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"zks_getTransactionDetails","params":["0x2e3e643d1bacdadc7ba7d4309b7aaa1c1d4f0f0667db8ee365e4592beb627f7a" ],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free