Function remainingGas

  • Returns the remaining gas for the current smart contract execution.

    Remarks

    Gas is a measure of the computational resources required to execute a transaction on the blockchain. When there is no more gas, the execution of the smart contract is interrupted and all the transactions are reversed.

    Returns

    The amount of remaining gas for the current transaction.

    Returns u64

Generated using TypeDoc