PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/abstract-utxo/dist/src/transaction/descriptor

Просмотр файла: signPsbt.d.ts

import * as utxolib from '@bitgo/utxo-lib';
import { DescriptorMap } from '@bitgo/utxo-core/descriptor';
export declare class ErrorUnknownInput extends Error {
    vin: number;
    constructor(vin: number);
}
/**
 * Sign a PSBT with the given keychain.
 *
 * Checks the descriptor map for each input in the PSBT. If the input is not
 * found in the descriptor map, the behavior is determined by the `onUnknownInput`
 * parameter.
 *
 *
 * @param tx - psbt to sign
 * @param descriptorMap - map of input index to descriptor
 * @param signerKeychain - key to sign with
 * @param params - onUnknownInput: 'throw' | 'skip' | 'sign'.
 *                 Determines what to do when an input is not found in the
 *                 descriptor map.
 */
export declare function signPsbt(tx: utxolib.Psbt, descriptorMap: DescriptorMap, signerKeychain: utxolib.BIP32Interface, params: {
    onUnknownInput: 'throw' | 'skip' | 'sign';
}): void;
//# sourceMappingURL=signPsbt.d.ts.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!