@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
18 lines • 675 B
TypeScript
import { Bitcoind } from '../../types.js';
type FinalizePsbtParams = {
bitcoind: Bitcoind;
psbt: string;
extract?: boolean;
};
/**
* finalizepsbt "psbt" ( extract )
*
* Finalize the inputs of a PSBT. If the transaction is fully signed, it will produce a
* network serialized transaction which can be broadcast with sendrawtransaction. Otherwise a PSBT will be
* created which has the final_scriptSig and final_scriptWitness fields filled for inputs that are complete.
* Implements the Finalizer and Extractor roles.
*
*/
export declare function finalizePsbt(params: FinalizePsbtParams): Promise<any>;
export {};
//# sourceMappingURL=finalize-psbt.d.ts.map