alloy_network

Type Alias AnyRpcBlock

Source
pub type AnyRpcBlock = WithOtherFields<Block<WithOtherFields<Transaction<AnyTxEnvelope>>, AnyRpcHeader>>;
Expand description

A catch-all block type for handling blocks on multiple networks.

Aliased Type§

struct AnyRpcBlock {
    pub inner: Block<WithOtherFields<Transaction<AnyTxEnvelope>>, Header<AnyHeader>>,
    pub other: OtherFields,
}

Fields§

§inner: Block<WithOtherFields<Transaction<AnyTxEnvelope>>, Header<AnyHeader>>

The inner struct.

§other: OtherFields

All fields not present in the inner struct.