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