@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
17 lines • 593 B
TypeScript
import { Bitcoind } from '../../types.js';
type ConvertToPsbtParams = {
bitcoind: Bitcoind;
hexstring: string;
permitsigdata?: boolean;
iswitness?: boolean;
};
/**
* converttopsbt "hexstring" ( permitsigdata iswitness )
*
* Converts a network serialized transaction to a PSBT. This should be used only with createrawtransaction and fundrawtransaction
* createpsbt and walletcreatefundedpsbt should be used for new applications.
*
*/
export declare function convertToPsbt(params: ConvertToPsbtParams): Promise<any>;
export {};
//# sourceMappingURL=convert-to-psbt.d.ts.map