# eth_getTransactionReceipt - Etherlink RPC Method

Returns the receipt of a transaction by transaction hash on Etherlink. Receipt is only available for mined transactions.

## When to Use This Method

Read the execution receipt for the recorded transaction in block 4,162,737.

## Request Parameters

- `transactionHash` (`DATA, required`): 32-byte transaction hash.

## Request Example

```json
{
  "jsonrpc": "2.0",
  "id": 24,
  "method": "eth_getTransactionReceipt",
  "params": [
    "0x0dc908c545bfefe9fd5b5198e39c1af2b3166e5e556a51f2efd55c4a449fa587"
  ]
}
```

## Response Fields

This method returns no documented fields.

## Successful Response

```json
{
  "jsonrpc": "2.0",
  "result": {
    "transactionHash": "0x0dc908c545bfefe9fd5b5198e39c1af2b3166e5e556a51f2efd55c4a449fa587",
    "transactionIndex": "0x0",
    "blockHash": "0x8fccc43a1a50e7888b945a82c2c239908ead9ee4720c30774e9f58a2c40a3ad1",
    "blockNumber": "0x3f84b1",
    "from": "0x5d66ec78664f4a0b0929a41270316a6cd4d8bd4b",
    "to": "0xa2cca359c43839040cf3d230deb1689ab8db2dac",
    "cumulativeGasUsed": "0x4564ea",
    "effectiveGasPrice": "0x3b9aca00",
    "gasUsed": "0x4564ea",
    "logs": [],
    "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "type": "0x0",
    "status": "0x1",
    "contractAddress": null
  },
  "id": 24
}
```

## Best Practices

Keep the recorded block height and address together when reproducing a historical example. Preserve RPC errors instead of replacing them with empty results.

## Code Examples

```bash
curl -X POST "https://api-etherlink-mainnet.n.dwellir.com/YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"jsonrpc":"2.0","id":24,"method":"eth_getTransactionReceipt","params":["0x0dc908c545bfefe9fd5b5198e39c1af2b3166e5e556a51f2efd55c4a449fa587"]}'
```
