pub type RpcBlock<T> = Block<RpcTransaction<T>, RpcHeader<T>>;Expand description
Adapter for network specific block type.
Aliased Type§
pub struct RpcBlock<T> {
pub header: <T as RpcTypes>::Header,
pub uncles: Vec<FixedBytes<32>>,
pub transactions: BlockTransactions<<T as RpcTypes>::Transaction>,
pub withdrawals: Option<Withdrawals>,
}Fields§
§header: <T as RpcTypes>::HeaderHeader of the block.
uncles: Vec<FixedBytes<32>>Uncles’ hashes.
transactions: BlockTransactions<<T as RpcTypes>::Transaction>Block Transactions. In the case of an uncle block, this field is not included in RPC responses, and when deserialized, it will be set to [BlockTransactions::Uncle].
withdrawals: Option<Withdrawals>Withdrawals in the block.
Layout§
Note: Encountered an error during type layout; the type failed to be normalized.