Skip to main content

gasprice

Function gasprice 

pub fn gasprice<IT, H>(
    context: InstructionContext<'_, H, IT>,
) -> Result<(), InstructionResult>
where IT: InterpreterTypes, H: Host + ?Sized,
Expand description

Implements the GASPRICE instruction.

Gets the gas price of the originating transaction.