Module block
Expand description
Compatibility functions for rpc Block
type.
Functions§
- from_
block - Converts the given primitive block into a
Block
response with the givenBlockTransactionsKind
- from_
block_ full - Create a new
Block
response from aRecoveredBlock
, using the total difficulty to populate its field in the rpc response. - from_
block_ with_ tx_ hashes - Create a new
Block
response from aRecoveredBlock
, using the total difficulty to populate its field in the rpc response.