UNPKG

@bitgo/utxo-bin

Version:

Command-line utility for BitGo UTXO transactions

47 lines 1.96 kB
import * as utxolib from '@bitgo/utxo-lib'; import { KeyOptions } from './args'; type FixedScriptAddressProperties = { chain: utxolib.bitgo.ChainCode; index: number; type: utxolib.bitgo.outputScripts.ScriptType; userPath: string; backupPath: string; bitgoPath: string; userKey: string; backupKey: string; bitgoKey: string; redeemScript?: string; witnessScript?: string; scriptPubKey: string; address: string; }; export declare function getAsPlaceholderDescription(v: Record<string, string>): string; export declare function getFixedScriptAddressPlaceholderDescription(): string; export declare function formatAddressTree(props: FixedScriptAddressProperties | DescriptorAddressProperties): string; export declare function formatAddressWithFormatString(props: Record<string, unknown>, placeholders: Record<string, string>, format: string): string; export declare function formatFixedScriptAddress(props: FixedScriptAddressProperties, format: string): string; export declare function getRange(start: number, end: number): number[]; export declare function parseIndexRange(ranges: string[]): number[]; export declare function generateFixedScriptAddress(argv: KeyOptions & { network?: utxolib.Network; chain?: number[]; format: string; index: number[]; }): Generator<FixedScriptAddressProperties>; type DescriptorAddressProperties = { descriptor: string; index: number; explicitScript: string; scriptPubKey: string; address: string; }; export declare function getDescriptorAddressPlaceholderDescription(): string; export declare function formatDescriptorAddress(props: DescriptorAddressProperties, format: string): string; export declare function generateDescriptorAddress(argv: { network: utxolib.Network; descriptor: string; format: string; index: number[]; }): Generator<DescriptorAddressProperties>; export {}; //# sourceMappingURL=generateAddress.d.ts.map