pub trait BlockHashRef {
type Error;
// Required method
fn block_hash(&self, number: u64) -> Result<B256, Self::Error>;
}
Required Associated Types§
Required Methods§
Sourcefn block_hash(&self, number: u64) -> Result<B256, Self::Error>
fn block_hash(&self, number: u64) -> Result<B256, Self::Error>
Get block hash by block number