Skip to main content

zks_getTransactionDetails RPC Method

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

Updated on
Apr 03, 2026

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
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"isL1Originated": false,
6
"status": "verified",
7
"fee": "0x226a77f62da0",
8
"gasPerPubdata": "0xc350",
9
"initiatorAddress": "0x513e6e3bd197a4667b589ce0bf4cc8e584152eb4",
10
"receivedAt": "2025-01-27T13:31:05.546654Z",
11
"ethCommitTxHash": "0x033a58ccf922f2b29a7bacf8aece3478ea503c8ed7025da83b337755ca0bf211",
12
"ethProveTxHash": "0xeaa08f93c06be63104e79e2ecc77d1d8931ffbd173d452751340764de378d96e",
13
"ethExecuteTxHash": "0xe6fc5307716bb714c6cb72c36e9ecb80d05b75a55eadbdd70b5a5ec9c0484594",
14
"ethPrecommitTxHash": null
15
}
16
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"isL1Originated": false,
6
"status": "verified",
7
"fee": "0x226a77f62da0",
8
"gasPerPubdata": "0xc350",
9
"initiatorAddress": "0x513e6e3bd197a4667b589ce0bf4cc8e584152eb4",
10
"receivedAt": "2025-01-27T13:31:05.546654Z",
11
"ethCommitTxHash": "0x033a58ccf922f2b29a7bacf8aece3478ea503c8ed7025da83b337755ca0bf211",
12
"ethProveTxHash": "0xeaa08f93c06be63104e79e2ecc77d1d8931ffbd173d452751340764de378d96e",
13
"ethExecuteTxHash": "0xe6fc5307716bb714c6cb72c36e9ecb80d05b75a55eadbdd70b5a5ec9c0484594",
14
"ethPrecommitTxHash": null
15
}
16
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free