Home

What is the difference between msg.sender and tx.origin

Thetx.origin global variable refers to the original external account that started the transaction while msg.sender refers to the immediate account (it could be external or another contract account) that invokes the function.

To see the full list of block and transaction properties, click here



Last Updated on

Next Post: Rules vs Guidelines →

Comments