Parameters
chainId
string
default:"232"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"zks_getTransactionDetails"
required
JSON-RPC method name.
The transaction hash in hexadecimal format.Positional parameters for zks_getTransactionDetails:
Returns
Object containing transaction metadata and status details.
Transaction hash of the commit transaction.
Transaction hash of the execution transaction.
Ethereum transaction hash of the proof transaction.
The fee for the transaction.
Gas per public data unit.
The address of the transaction initiator.
True if the transaction originated from L1.
Timestamp when the transaction was received.
The current status of the transaction.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=232 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "zks_getTransactionDetails",
"params": [
"0x22de7debaa98758afdaee89f447ff43bab5da3de6acca7528b281cc2f1be2ee9"
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"ethCommitTxHash": "0x3da5b6eda357189c9243c41c5a33b1b2ed0169be172705d74681a25217702772",
"ethExecuteTxHash": "0xdaff5fd7ff91333b161de54534b4bb6a78e5325329959a0863bf0aae2b0fdcc6",
"ethProveTxHash": "0x2f482d3ea163f5be0c2aca7819d0beb80415be1a310e845a2d726fbc4ac54c80",
"fee": "0x0",
"gasPerPubdata": "0x320",
"initiatorAddress": "0x87869cb87c4fa78ca278df358e890ff73b42a39e",
"isL1Originated": true,
"receivedAt": "2023-03-03T23:52:24.169Z",
"__truncated": true
}
}