Skip to main content

SignerAsync

reddcoinjs-lib v7.0.1-rdd.1Docs


reddcoinjs-lib v7.0.1-rdd.1 / SignerAsync

Interface: SignerAsync

Properties

network?

optional network: any

Defined in

ts_src/psbt.ts:1240


publicKey

publicKey: Uint8Array

Defined in

ts_src/psbt.ts:1239

Methods

getPublicKey()?

optional getPublicKey(): Uint8Array

Returns

Uint8Array

Defined in

ts_src/psbt.ts:1243


sign()

sign(hash, lowR?): Promise<Uint8Array>

Parameters

hash: Uint8Array

lowR?: boolean

Returns

Promise<Uint8Array>

Defined in

ts_src/psbt.ts:1241


signSchnorr()?

optional signSchnorr(hash): Promise<Uint8Array>

Parameters

hash: Uint8Array

Returns

Promise<Uint8Array>

Defined in

ts_src/psbt.ts:1242