Skip to main content

Signer

reddcoinjs-lib v7.0.1-rdd.1 • Docs


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

Interface: Signer

Properties​

network?​

optional network: any

Defined in​

ts_src/psbt.ts:1232


publicKey​

publicKey: Uint8Array

Defined in​

ts_src/psbt.ts:1231

Methods​

getPublicKey()?​

optional getPublicKey(): Uint8Array

Returns​

Uint8Array

Defined in​

ts_src/psbt.ts:1235


sign()​

sign(hash, lowR?): Uint8Array

Parameters​

• hash: Uint8Array

• lowR?: boolean

Returns​

Uint8Array

Defined in​

ts_src/psbt.ts:1233


signSchnorr()?​

optional signSchnorr(hash): Uint8Array

Parameters​

• hash: Uint8Array

Returns​

Uint8Array

Defined in​

ts_src/psbt.ts:1234