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.

1 Answer 1

2

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

0

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.