Alchemy Logo

eth_getRawTransactionByHash

POST
/{apiKey}

Returns the raw transaction data (RLP-encoded) for a transaction by its hash.

Path Parameters

apiKeystringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

Transaction hashstringformat: "^0x[0-9a-f]{64}$"required

The hash of the transaction to retrieve.

Responses

200

The raw RLP-encoded transaction data as a hexadecimal string, or null if the transaction is not found.

Was this page helpful?