forked from p2pderivatives/cfd-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cfdjs_util.d.ts
32 lines (26 loc) · 851 Bytes
/
cfdjs_util.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import * as cfdjs from './index.d';
export function HasChildExtkey(
rootExtkey: string,
rootBip32Path: string,
childExtkey: string,
childBip32Path: string): boolean;
export function HasChildPubkeyArray(
rootExtkey: string,
rootBip32Path: string,
childPubkeyArray: string[],
childBip32Path: string): boolean;
export function HasChildPubkey(
rootExtkey: string,
rootBip32Path: string,
childPubkey: string,
childBip32Path: string): boolean;
export function GetPubkeyFromKey(key: string): string;
export function GetPubkeyArrayFromDescriptor(
outputDescriptor: string,
networkType: string): string[];
export function SetMultisigScriptSig(
txHex: string, txid: string,
vout: number,
scriptsig: string,
hashType: string,
isElements?: boolean): cfdjs.AddMultisigSignResponse;