I know msg.sender exists, it gives the address of the sender. What other attributes are there and how can I list them / where are they defined?
Asked
Active
Viewed 6,120 times
1 Answers
17
msg.data (bytes): complete calldata
msg.gas (uint): remaining gas
msg.sender (address): sender of the message (current call)
msg.sig (bytes4): first four bytes of the calldata (i.e. function identifier)
msg.value (uint): number of wei sent with the message
eth
- 85,679
- 53
- 285
- 406