> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validationcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_getTransactionReceipt

Returns the receipt of a transaction by transaction hash. Note that the receipt is not available for pending transactions.

This method will use `40` [Compute Units](/nodeapi/about/billing.md).

***

## Reference: [Here](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactionreceipt)

## **Parameters**

1. `DATA`, 32 Bytes - hash of a transaction

```javascript theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
params: [
  "0x1ecda3069718c657ba153c9bb5b6c6551eed60024ccd129162eea5643d1c7eb5"
]
```

## Returns

`Object` - A transaction receipt object, or `null` when no receipt was found:

* `transactionHash` : `DATA`, 32 Bytes - hash of the transaction.
* `transactionIndex`: `QUANTITY` - integer of the transactions index position in the block.
* `blockHash`: `DATA`, 32 Bytes - hash of the block where this transaction was in.
* `blockNumber`: `QUANTITY` - block number where this transaction was in.
* `from`: `DATA`, 20 Bytes - address of the sender.
* `to`: `DATA`, 20 Bytes - address of the receiver. null when its a contract creation transaction.
* `cumulativeGasUsed` : `QUANTITY` - The total amount of gas used when this transaction was executed in the block.
* `effectiveGasPrice` : `QUANTITY` - The sum of the base fee and tip paid per unit of gas.
* `gasUsed` : `QUANTITY` - The amount of gas used by this specific transaction alone.
* `contractAddress` : `DATA`, 20 Bytes - The contract address created, if the transaction was a contract creation, otherwise `null`.
* `logs`: `Array` - Array of log objects, which this transaction generated.
* `logsBloom`: `DATA`, 256 Bytes - Bloom filter for light clients to quickly retrieve related logs.
* `type`: `DATA` - integer of the transaction type, `0x00` for legacy transactions, `0x01` for access list types, `0x02` for dynamic fees. It also returns *either* :
* `root` : `DATA` 32 bytes of post-transaction stateroot (pre Byzantium)
* `status`: `QUANTITY` either `1` (success) or `0` (failure)

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
// Result
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "blobGasUsed": "0xf3c0",
    "blockHash": "0x0e9f8b25705acb6e4eee68d5b43e6565827fbd2976ab27f7e7ed0704e3c9eaca",
    "blockNumber": "0x618a700",
    "contractAddress": null,
    "cumulativeGasUsed": "0x2b664",
    "daFootprintGasScalar": "0x190",
    "effectiveGasPrice": "0xdf8492cc0",
    "from": "0xe7cac669cc341bae5edda780538d2dcd5ba37bdc",
    "gasUsed": "0x2017d",
    "l1BaseFeeScalar": "0x2943b",
    "l1BlobBaseFee": "0x12440f7ca4e18b62",
    "l1BlobBaseFeeScalar": "0x0",
    "l1Fee": "0x704aa67d1cd70",
    "l1GasPrice": "0x3e72f41e",
    "l1GasUsed": "0x9c8",
    "logs": [
      {
        "address": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead1111",
        "topics": [
          "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
          "0x000000000000000000000000a7c728c4be834ddaf5c49ee4ced678d8aff49de6",
          "0x000000000000000000000000e7cac669cc341bae5edda780538d2dcd5ba37bdc"
        ],
        "data": "0x00000000000000000000000000000000000000000000000029a2241b03935645",
        "blockNumber": "0x618a700",
        "transactionHash": "0x1ecda3069718c657ba153c9bb5b6c6551eed60024ccd129162eea5643d1c7eb5",
        "transactionIndex": "0x1",
        "blockHash": "0x0e9f8b25705acb6e4eee68d5b43e6565827fbd2976ab27f7e7ed0704e3c9eaca",
        "blockTimestamp": "0x6ada4008",
        "logIndex": "0x0",
        "removed": false
      },
      {
        "address": "0x779ded0c9e1022225f8e0630b35a9b54be713736",
        "topics": [
          "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
          "0x000000000000000000000000e7cac669cc341bae5edda780538d2dcd5ba37bdc",
          "0x000000000000000000000000a7c728c4be834ddaf5c49ee4ced678d8aff49de6"
        ],
        "data": "0x00000000000000000000000000000000000000000000000000000001a91206b2",
        "blockNumber": "0x618a700",
        "transactionHash": "0x1ecda3069718c657ba153c9bb5b6c6551eed60024ccd129162eea5643d1c7eb5",
        "transactionIndex": "0x1",
        "blockHash": "0x0e9f8b25705acb6e4eee68d5b43e6565827fbd2976ab27f7e7ed0704e3c9eaca",
        "blockTimestamp": "0x6ada4008",
        "logIndex": "0x1",
        "removed": false
      },
      {
        "address": "0x779ded0c9e1022225f8e0630b35a9b54be713736",
        "topics": [
          "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
          "0x000000000000000000000000e7cac669cc341bae5edda780538d2dcd5ba37bdc",
          "0x0000000000000000000000005628a59df0ecac3f3171f877a94beb26ba6dfaa0"
        ],
        "data": "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffcca4b6319a0",
        "blockNumber": "0x618a700",
        "transactionHash": "0x1ecda3069718c657ba153c9bb5b6c6551eed60024ccd129162eea5643d1c7eb5",
        "transactionIndex": "0x1",
        "blockHash": "0x0e9f8b25705acb6e4eee68d5b43e6565827fbd2976ab27f7e7ed0704e3c9eaca",
        "blockTimestamp": "0x6ada4008",
        "logIndex": "0x2",
        "removed": false
      },
      {
        "address": "0xa7c728c4be834ddaf5c49ee4ced678d8aff49de6",
        "topics": [
          "0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67",
          "0x0000000000000000000000005628a59df0ecac3f3171f877a94beb26ba6dfaa0",
          "0x000000000000000000000000e7cac669cc341bae5edda780538d2dcd5ba37bdc"
        ],
        "data": "0x00000000000000000000000000000000000000000000000000000001a91206b2ffffffffffffffffffffffffffffffffffffffffffffffffd65ddbe4fc6ca9bb...",
        "blockNumber": "0x618a700",
        "transactionHash": "0x1ecda3069718c657ba153c9bb5b6c6551eed60024ccd129162eea5643d1c7eb5",
        "transactionIndex": "0x1",
        "blockHash": "0x0e9f8b25705acb6e4eee68d5b43e6565827fbd2976ab27f7e7ed0704e3c9eaca",
        "blockTimestamp": "0x6ada4008",
        "logIndex": "0x3",
        "removed": false
      }
    ],
    "logsBloom": "0x20000000000000000000000000000000000000000000000000000000000000000040008010000080000000000000000000000000000020000000000000200000...",
    "operatorFeeConstant": "0x0",
    "operatorFeeScalar": "0x5f5e100",
    "status": "0x1",
    "to": "0x5628a59df0ecac3f3171f877a94beb26ba6dfaa0",
    "tokenRatio": "0x1167",
    "transactionHash": "0x1ecda3069718c657ba153c9bb5b6c6551eed60024ccd129162eea5643d1c7eb5",
    "transactionIndex": "0x1",
    "type": "0x2"
  }
}
```

```bash title="mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
curl https://mainnet.mantle.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["0x1ecda3069718c657ba153c9bb5b6c6551eed60024ccd129162eea5643d1c7eb5"],"id":1}'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.