๐จโ๐ป Get Ethereum transaction receipt by hash
Code samples
GET /api/v1/eth/transactions/{hash}/receipt
Returns transaction receipt using eth_getTransactionReceipt.
๐ ๏ธ Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| hash | path | string | true | Ethereum transaction hash. |
Example responses
200 Response
{
"transactionHash": "string",
"transactionIndex": "string",
"blockHash": "string",
"blockNumber": "string",
"from": "string",
"to": "string",
"cumulativeGasUsed": "string",
"effectiveGasPrice": "string",
"gasUsed": "string",
"contractAddress": "string",
"logs": [
{
"address": "string",
"topics": [
"string"
],
"data": "string",
"blockNumber": "string",
"transactionHash": "string",
"transactionIndex": "string",
"blockHash": "string",
"logIndex": "string",
"removed": true
}
],
"logsBloom": "string",
"status": "string",
"type": "string"
}
๐ Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Ethereum transaction receipt | EthTransactionReceipt |
| 404 | Not Found | Transaction receipt not found | Inline |
| 500 | Internal Server Error | Could not connect to ETH node | None |
๐ Response Schema
Status Code 404
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| ยป error | string | false | none | none |