RootPrivateKey
export interface RootPrivateKey {
bip32Key: Bip32PrivateKey
bytes: number[]
derive(i: number): Bip32PrivateKey
derivePath(path: number[]): Bip32PrivateKey
derivePubKey(): PubKey
deriveSpendingKey(
accountIndex?: number,
i?: number
): Bip32PrivateKey
deriveSpendingRootKey(accountIndex?: number): Bip32PrivateKey
deriveStakingKey(
accountIndex?: number,
i?: number
): Bip32PrivateKey
deriveStakingRootKey(accountIndex?: number): Bip32PrivateKey
entropy: number[]
sign(message: number[]): Signature
toPhrase(dict?: string[]): string[]
}
Properties
bip32Key
bip32Key: Bip32PrivateKey
bytes
bytes: number[]
derive
derive(i: number): Bip32PrivateKey
derivePath
derivePath(path: number[]): Bip32PrivateKey
derivePubKey
derivePubKey(): PubKey
deriveSpendingKey
deriveSpendingKey(
accountIndex?: number,
i?: number
): Bip32PrivateKey
deriveSpendingRootKey
deriveSpendingRootKey(accountIndex?: number): Bip32PrivateKey
deriveStakingKey
deriveStakingKey(
accountIndex?: number,
i?: number
): Bip32PrivateKey
deriveStakingRootKey
deriveStakingRootKey(accountIndex?: number): Bip32PrivateKey
entropy
entropy: number[]
sign
sign(message: number[]): Signature
toPhrase
toPhrase(dict?: string[]): string[]