class Block
(source)
An Ethereum block.
<init> |
Creates a block. Block(header: BlockHeader!, body: BlockBody!) |
equals |
fun equals(other: Any?): Boolean |
fromBytes |
Deserialize a block from RLP encoded bytes. static fun fromBytes(encoded: Bytes!): Block! |
fromHexString |
Parse a hexadecimal string into a static fun fromHexString(str: String!): Block! |
getBody |
Provides the block body fun getBody(): BlockBody! |
getHeader |
Provides the block header fun getHeader(): BlockHeader! |
hashCode |
fun hashCode(): Int |
readFrom |
Deserialize a block from an RLP input. static fun readFrom(reader: RLPReader!): Block! |
toBytes |
Provides the block bytes fun toBytes(): Bytes! |
toString |
fun toString(): String |
writeTo |
Write this block to an RLP output. fun writeTo(writer: RLPWriter!): Unit |