UNPKG

@bitgo/utxo-bin

Version:

Command-line utility for BitGo UTXO transactions

25 lines 911 B
import * as utxolib from '@bitgo/utxo-lib'; export declare const bitcoinRegtest: utxolib.Network; export declare function getNetworkForName(name: string): utxolib.Network; export declare function getNetworkName(network: utxolib.Network): string; export declare function getNetworkList(): utxolib.Network[]; export declare function getNetwork(argv: { network: string; }): utxolib.Network; type DemandOption<T> = T & { demandOption: true; }; type NetworkOption<TDefault> = { type: 'string'; description: string; default: TDefault; coerce: (arg: string) => utxolib.Network; }; export declare function getNetworkOptions(defaultValue?: string): { network: NetworkOption<typeof defaultValue>; }; export declare function getNetworkOptionsDemand(defaultValue?: string): { network: DemandOption<NetworkOption<typeof defaultValue>>; }; export {}; //# sourceMappingURL=parseNetwork.d.ts.map