Skip to main content

gasprice

Function gasprice 

Source
pub fn gasprice<IT: ITy, H: Host + ?Sized>(
    context: InstructionContext<'_, H, IT>,
) -> InstructionExecResult
Expand description

Implements the GASPRICE instruction.

Gets the gas price of the originating transaction.