> ## 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](https://docs.validationcloud.io/nodeapi/about/billing.md).

***

> [!NOTE]
>
> On Linea Mainnet, transaction lookups by hash work from about block 32,438,000 (late October 2026). For older transactions this method returns `null`. If you know the block, use [eth\_getBlockReceipts](https://docs.validationcloud.io/nodeapi/linea/execution-api/eth_getblockreceipts.md) and pick the entry whose `transactionHash` matches. It reaches back to genesis.

## 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: [
  "0x5dc8d47cfcda136bcd84d3661c7bbaf4e53e23ba70b46bb5a310481ed724a034"
]
```

## 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": {
    "blockHash": "0xbfe147b96599be9c1bde4b59689187ba3b60cecb1872144488cbb3b8167d2b5c",
    "blockNumber": "0x1f42ac4",
    "contractAddress": null,
    "cumulativeGasUsed": "0x1c5ef",
    "from": "0xdeb02f83136766adf5f9add4a93b38de28087fee",
    "gasUsed": "0x1c5ef",
    "effectiveGasPrice": "0x3b9aca07",
    "logs": [
      {
        "address": "0x1f4b7011ee3d53969bb67f59428a9ec0477856e9",
        "topics": [
          "0xdd84a3fa9ef9409f550d54d6affec7e9c480c878c6ab27b78912a03e1b371c6e",
          "0x0000000000000000000000000000000000000000000000000674b9172b4b4974"
        ],
        "data": "0x000000000000000000000000000000000000000000000000000000024a0bbc03000000000000000000000000000000000000000000000000000000006b115c4c",
        "blockNumber": "0x1f42ac4",
        "transactionHash": "0x5dc8d47cfcda136bcd84d3661c7bbaf4e53e23ba70b46bb5a310481ed724a034",
        "transactionIndex": "0x0",
        "blockHash": "0xbfe147b96599be9c1bde4b59689187ba3b60cecb1872144488cbb3b8167d2b5c",
        "blockTimestamp": "0x6b115c4c",
        "logIndex": "0x0",
        "removed": false
      },
      {
        "address": "0x61b7492a40ae4c403629703a38d24851caa1e7e4",
        "topics": [
          "0xb967c9b9e1b7af9a61ca71ff00e9f5b89ec6f2e268de8dacf12f0de8e51f3e47"
        ],
        "data": "0x00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000080...",
        "blockNumber": "0x1f42ac4",
        "transactionHash": "0x5dc8d47cfcda136bcd84d3661c7bbaf4e53e23ba70b46bb5a310481ed724a034",
        "transactionIndex": "0x0",
        "blockHash": "0xbfe147b96599be9c1bde4b59689187ba3b60cecb1872144488cbb3b8167d2b5c",
        "blockTimestamp": "0x6b115c4c",
        "logIndex": "0x1",
        "removed": false
      },
      {
        "address": "0x61b7492a40ae4c403629703a38d24851caa1e7e4",
        "topics": [
          "0x198d6990ef96613a9026203077e422916918b03ff47f0be6bee7b02d8e139ef0",
          "0x0000000000000000000000000000000000000000000000000000000000000000"
        ],
        "data": "0x000a5d7ac72f7f6e102979738bd07b91fc6346571ca8e2c44daa37c89f0a4f2d00000000000000000000000000000000000000000000000000000000000599ea",
        "blockNumber": "0x1f42ac4",
        "transactionHash": "0x5dc8d47cfcda136bcd84d3661c7bbaf4e53e23ba70b46bb5a310481ed724a034",
        "transactionIndex": "0x0",
        "blockHash": "0xbfe147b96599be9c1bde4b59689187ba3b60cecb1872144488cbb3b8167d2b5c",
        "blockTimestamp": "0x6b115c4c",
        "logIndex": "0x2",
        "removed": false
      }
    ],
    "logsBloom": "0x20000000000000000000000000000000000000000000000000000010000000000000000004000000000000000000000000000000000000000000000020000200...",
    "status": "0x1",
    "to": "0x61b7492a40ae4c403629703a38d24851caa1e7e4",
    "transactionHash": "0x5dc8d47cfcda136bcd84d3661c7bbaf4e53e23ba70b46bb5a310481ed724a034",
    "transactionIndex": "0x0",
    "type": "0x2"
  }
}
```

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


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