Skip to main content

debug_getRawTransaction

Returns an array of EIP-2718 binary-encoded transactions.

Parameters (by position)

Transaction hash string required


Result

EIP-2718 binary-encoded transaction string

hex encoded bytes

Match pattern: ^0x[0-9a-f]*$


Errors

Error code: 4444

  • code

    4444

  • message

    Pruned history unavailable

Examples

debug_getRawTransaction example

Request

{
"params": [
"0x3a2fd1a5ea9ffee477f449be53a49398533d2c006a5815023920d1c397298df3"
]
}

Response

"0xf8678084342770c182520894658bdf435d810c91414ec09147daa6db624063798203e880820a95a0af5fc351b9e457a31f37c84e5cd99dd3c5de60af3de33c6f4160177a2c786a60a0201da7a21046af55837330a2c52fc1543cd4d9ead00ddf178dd96935b607ff9b"