alloy_rpc_types

Type Alias BlockHashOrNumber

Source
pub type BlockHashOrNumber = HashOrNumber;
Available on crate feature eth only.
Expand description

A block hash or a block number

Aliased Type§

enum BlockHashOrNumber {
    Hash(FixedBytes<32>),
    Number(u64),
}

Variants§

§

Hash(FixedBytes<32>)

The hash

§

Number(u64)

The number