StakeKeyHash
Represents a blake2b-224 hash of staking key.
A StakeKeyHash
can be used as the second part of a regular payment Address
, or to construct a StakeAddress
.
Static methods
fromCbor
Deserialize a CBOR encoded StakeKeyHash
.
Mutates bytes
and shifts it to the next CBOR element.
helios.StakeKeyHash.fromCbor(bytes: number[]): helios.StakeKeyHash
fromHex
Construct a StakeKeyHash
from its hexadecimal string representation.
helios.StakeKeyHash.fromHex(hex: string): helios.StakeKeyHash
Getters
bytes
Get the underlying bytes.
stakekey_hash.bytes: number[]
hex
Returns the hexadecimal representation.
stakekey_hash.hex: string