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