Trait pallet_evm::BlockHashMapping
source · pub trait BlockHashMapping {
// Required method
fn block_hash(number: u32) -> H256;
}
Expand description
A trait for getting a block hash by number.
pub trait BlockHashMapping {
// Required method
fn block_hash(number: u32) -> H256;
}
A trait for getting a block hash by number.