Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BtcWalletHD

Hierarchy

Index

Constructors

Methods

  • getAccounts(): { address: string; algo: string; pubkey: Uint8Array }[]
  • getAccountsWithPrivKey(): { address: string; addressInfo: P2Ret; algo: string; privateKey: Uint8Array; pubkey: Uint8Array }[]
  • signECDSA(address: string, hash: Uint8Array): Promise<{ recoveryParam: number; signature: Uint8Array }>
  • signIdx(address: string, tx: Transaction, idx: number): void
  • signPsbt(address: string, psbt: string): { signTx: (() => void); tx: Transaction }
  • Parameters

    • address: string
    • psbt: string

    Returns { signTx: (() => void); tx: Transaction }

    • signTx: (() => void)
        • (): void
        • Returns void

    • tx: Transaction