Trait alloy_network_primitives::HeaderResponse

source ·
pub trait HeaderResponse: BlockHeader {
    // Required method
    fn hash(&self) -> BlockHash;
}
Expand description

Header JSON-RPC response.

Required Methods§

source

fn hash(&self) -> BlockHash

Block hash

Implementations on Foreign Types§

source§

impl<T: HeaderResponse> HeaderResponse for WithOtherFields<T>

source§

fn hash(&self) -> BlockHash

Implementors§