alloy_network_primitives

Trait 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§