Returns the receipt of a transaction by transaction hash.
POST/:network/eth_getTransactionReceipt
Returns the receipt of a transaction by transaction hash.
Request
Path Parameters
network stringrequired
Default value: eth-mainnet
The blockchain network to connect to.
Example: eth-mainnet
Query Parameters
projectId stringrequired
Default value: 8ry9f6t9dct1se2hlagxnd9n2a
The id of your project. Can be found in your Histori dashboard.
Example: 8ry9f6t9dct1se2hlagxnd9n2a
- application/json
Body
id integer
jsonrpc string
method string
params undefined[]nullable
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Sample Response
Schema
id integer
jsonrpc string
result string
{
"id": 0,
"jsonrpc": "string",
"result": "string"
}
Real World response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35",
"blockNumber": "0x5bad55",
"contractAddress": null,
"cumulativeGasUsed": "0xb90b0",
"effectiveGasPrice": "0xfa56ea00",
"from": "0x398137383b3d25c92898c656696e41950e47316b",
"gasUsed": "0x1383f",
"logs": [
{
"address": "0x06012c8cf97bead5deae237070f9587f8e7a266d",
"topics": [
"0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80"
],
"data": "0x000000000000000000000000398137383b3d25c92898c656696e41950e47316b00000000000000000000000000000000000000000000000000000000000cee6100000000000000000000000000000000000000000000000000000000000ac3e100000000000000000000000000000000000000000000000000000000005baf35",
"blockNumber": "0x5bad55",
"transactionHash": "0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0",
"transactionIndex": "0x11",
"blockHash": "0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35",
"logIndex": "0x6",
"removed": false
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000200000000000000000000000000000",
"status": "0x1",
"to": "0x06012c8cf97bead5deae237070f9587f8e7a266d",
"transactionHash": "0xbb3a336e3f823ec18197f1e13ee875700f08f03e2cab75f0d0b118dabb44cba0",
"transactionIndex": "0x11",
"type": "0x0"
}
}
Loading...