> ## 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_getRawTransactionByHash

Returns the raw, signed and RLP-encoded bytes of a transaction, given its hash.

This method will use `10` [Compute Units](https://docs.validationcloud.io/nodeapi/about/billing.md).

***

## Reference: [Here](https://ethereum.github.io/execution-apis/)

## **Parameters**

`DATA`, 32 Bytes - Hash of a transaction.

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

## **Returns**

`DATA` - The raw transaction bytes, or `null` when no transaction was found.

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
// Result
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x02f904d582e708824633843b9aca00843b9aca198307a1209461b7492a40ae4c403629703a38d24851caa1e7e480b90464de5e0b9a000a5d7ac72f7f6e102979..."
}
```

```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_getRawTransactionByHash","params":["0x5dc8d47cfcda136bcd84d3661c7bbaf4e53e23ba70b46bb5a310481ed724a034"],"id":1}'
```


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