class Hash
(source)
An Ethereum hash.
fun equals(other: Any?): Boolean |
|
static fun fromBytes(bytes: Bytes): Hash
Create a Hash from Bytes. The hash must be exactly 32 bytes. static fun fromBytes(bytes: Bytes32): Hash
Create a Hash from Bytes32. |
|
static fun fromHexString(str: String): Hash
Parse a hexadecimal string into a Hash. |
|
static fun hash(value: Bytes): Hash |
|
fun hashCode(): Int |
|
fun toBytes(): Bytes32 |
|
fun toHexString(): String |
|
fun toString(): String |