Understanding Layout of msg.data in Solidity

For most web3 users, you do not need to interact with a smart contract using msg.data. But for the savvy web3 code breakers, the knowledge of how the low level calldata works is useful.

If you’re here, it means that you may be curious about how to extract the data from calldata.

What is msg.data?

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store