pub trait BlockHashMapping {
    // Required method
    fn block_hash(number: u32) -> H256;
}
Expand description

A trait for getting a block hash by number.

Required Methods§

source

fn block_hash(number: u32) -> H256

Object Safety§

This trait is not object safe.

Implementors§