we have a JSON RPC method eth_sendRawTransaction as specified here.

how is the raw transaction data formatted? I can't seem to find this anywhere.

I'm guessing it consists of a signed transaction struct serialized and encoded in some way, but it doesn't explicitly say.

  • it's RLP encoded, github.com/ethereum/wiki/wiki/RLP
    – Nulik
    Jul 28, 2018 at 21:49
  • core/types/transaction.go, core/types/transaction_signing.go, core/types/transaction_test.go might help
    – Nulik
    Jul 28, 2018 at 21:50


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.