Skip to main content

HDSignerAsync

bitcoinjs-lib v1.0.7


bitcoinjs-lib / HDSignerAsync

Interface: HDSignerAsync

Defined in: ts_src/psbt.ts:1210

Same as above but with async sign method

Extends

  • HDSignerBase

Properties

fingerprint

fingerprint: Uint8Array

Defined in: ts_src/psbt.ts:1191

The first 4 bytes of the sha256-ripemd160 of the publicKey

Inherited from

HDSignerBase.fingerprint


publicKey

publicKey: Uint8Array

Defined in: ts_src/psbt.ts:1187

DER format compressed publicKey buffer

Inherited from

HDSignerBase.publicKey

Methods

derivePath()

derivePath(path): HDSignerAsync

Defined in: ts_src/psbt.ts:1211

Parameters

path

string

Returns

HDSignerAsync


sign()

sign(hash): Promise\<Uint8Array>

Defined in: ts_src/psbt.ts:1212

Parameters

hash

Uint8Array

Returns

Promise\<Uint8Array>