curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getTransactionReceipt",
"params": [
"0x1e196c5fa958d3752b92a3178dd71e8050a0b4a72f528a72c3c12b09b5fc523a"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}
curl --request POST \
--url https://ronin-mainnet.core.chainstack.com/3997273fc956a67dc6982384500e669e \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getTransactionReceipt",
"params": [
"0x1e196c5fa958d3752b92a3178dd71e8050a0b4a72f528a72c3c12b09b5fc523a"
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}
transactionHash
— the hash of the transaction for which to retrieve the receipt.result
— an object containing the transaction receipt information, including fields like transactionHash
, transactionIndex
, blockHash
, blockNumber
, from
, to
, cumulativeGasUsed
, gasUsed
, contractAddress
, logs
, and status
.eth_getTransactionReceipt
method is crucial for verifying the outcome of a transaction, especially for applications that execute transactions and need to confirm their success or failure. It is also used to obtain detailed execution results, such as event logs, which are essential for DApps to interpret the effects of transactions.Receipt of the requested transaction
The response is of type object
.