2

I know how to create a raw transaction for Ethereum because there are many articles like this.

But I don't know how to access the raw transactions in Solidity.

Msg object give us msg.data, msg.sender, msg.sig and msg.value. These parameters are convenient but I want the RLP encoded signed raw transaction.

How can I access the raw data?

Is there any global variable like tx.raw? Or Is it impossible?

Thanks in advance.

Ko Ohhashi
  • 844
  • 1
  • 11
  • 23

1 Answers1

2

To my knowledge, the raw transaction is not exposed to Solidity.

user94559
  • 59,196
  • 6
  • 103
  • 103