blockhash

Function blockhash 

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

Implements the BLOCKHASH instruction.

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