Docs

debug_getRawTransaction

Get the RLP-encoded raw transaction data on Monad. Essential for transaction analysis and re-broadcasting.

Return the raw RLP-encoded bytes for a signed Monad transaction. Use it when you need the exact wire representation of a transaction rather than the decoded JSON fields.

Return Format

debug_getRawTransaction accepts a transaction hash and returns a single RLP string for the signed transaction payload. A concrete hash such as 0x6a799a826eba52b79af941490b03af44673ea1849d4f36cef0637962f7419ccf is useful when you need a stable example for replay or decoder tooling.

What The Raw Bytes Give You

The returned hex string is the signed transaction payload exactly as the node stores and relays it. That is useful for debugging signing issues, testing RLP decoders, replaying a transaction in another environment, or comparing what different nodes believe the canonical signed payload should be.

Compared with eth_getTransactionByHash, this method does not decode fields for you. It preserves the original serialization, which is what you want when the bug is in encoding, signature recovery, or replay tooling.

Caveats

  • A successful response does not tell you whether the transaction succeeded on-chain; it only confirms the raw signed payload exists.
  • For transaction status, pair this method with eth_getTransactionReceipt.
  • If the hash is unknown or pruned, expect a missing result rather than a decoded error object.