Expand description
Compatibility functions for rpc Block
type.
Functionsยง
- Converts the given primitive block into a Block response with the given
BlockTransactionsKind
- Create a new Block response from a primitive block, using the total difficulty to populate its field in the rpc response.
- Create a new Block response from a primitive block, using the total difficulty to populate its field in the rpc response.
- Converts from a
reth_primitives::SealedHeader
to areth_rpc_types::Header
- Build an RPC block response representing an Uncle from its header.