Module block
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.