14

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?

13

http://solidity.readthedocs.io/en/latest/units-and-global-variables.html#block-and-transaction-properties

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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