Skip to content
Alchemy Logo

eth_getRawTransactionByBlockNumberAndIndex

POST
https://zerointerop-mainnet.g.alchemy.com/v2/{apiKey}
CUs20

Returns the RLP-encoded signed transaction at the given index of the block with the given number, as a hex string.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"required

The block number, as a hex-encoded quantity.

stringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"required

The index of the transaction in the block, as a hex-encoded quantity.

Responses

200

The RLP-encoded signed transaction, as a hex string.

Was this page helpful?