Constructor
new Hash256(hash256)
Creates a hash from bytes or a hex string.
Parameters:
Name | Type | Description |
---|---|---|
hash256 |
Uint8Array | string | Input string or byte array. |
- Source:
Methods
(static) zero() → {Hash256}
Creates a zeroed hash.
- Source:
Returns:
Zeroed hash.
- Type
- Hash256