eth_getRawTransactionByHash

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

Path parameters

apiKeystringRequiredDefaults to docs-demo

Request

This endpoint expects an object.
Transaction hashstringRequiredformat: "^0x[0-9a-f]{64}$"
The hash of the transaction to retrieve.

Response

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