Skip to main content

PubKeyHash

export interface PubKeyHash {
  bytes: number[]
  dump(): string
  isEqual(other: PubKeyHash): boolean
  kind: "PubKeyHash"
  toCbor(): number[]
  toHex(): string
  toString(): string
  toUplcData(): ByteArrayData
}
Represents a blake2b-224 (28 bytes) hash of a PubKey Note: A PubKeyHash can also be used as the second part of a payment Address, or to construct a StakeAddress.

Properties​

bytes​

bytes: number[]

dump​

dump(): string

isEqual​

isEqual(other: PubKeyHash): boolean

kind​

kind: "PubKeyHash"

toCbor​

toCbor(): number[]

toHex​

toHex(): string

toString​

toString(): string
Alias for toHex()

toUplcData​

toUplcData(): ByteArrayData