No results found
tx.gasprice - current transaction gas price.
tx.origin - sender of the transaction.
pragma solidity ^0.8.0; contract Test { function getValue() public view returns(unit, address){ return (tx.gasprice,tx.origin); } }