Function blockhash

Source
pub fn blockhash<WIRE: InterpreterTypes, H: Host + ?Sized>(
    context: InstructionContext<'_, H, WIRE>,
)
Expand description

Implements the BLOCKHASH instruction.

Gets the hash of one of the 256 most recent complete blocks.