Hash28
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / Hash28
Class: Hash28
Extends
Extended by
ValidatorHash
PubKeyHash
StakeValidatorHash
StakeKeyHash
GenesisDelegateHash
GenesisHash
PoolKeyHash
Constructors
new Hash28()
new Hash28(
bs
,className
):Hash28
Parameters
• bs: CanBeHash28
• className: string
= "Hash28"
Returns
Overrides
Defined in
src/hashes/Hash28/Hash28.ts:26
Accessors
_bytes
get
protected
_bytes():Uint8Array
Returns
Uint8Array
Inherited from
Defined in
_str
get
protected
_str():string
Returns
string
Inherited from
Defined in
asBytes
get
asBytes():Uint8Array
Deprecated
use toBuffer()
instead
Returns
Uint8Array
Inherited from
Defined in
asString
get
asString():string
Deprecated
use toString()
instead
Returns
string
Inherited from
Defined in
Methods
clone()
clone():
Hash28
Returns
Overrides
Defined in
src/hashes/Hash28/Hash28.ts:41
toBuffer()
toBuffer():
Uint8Array
Returns
Uint8Array
Inherited from
Defined in
toBytes()
toBytes():
Uint8Array
Returns
Uint8Array
Deprecated
use toBuffer()
instead