@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
18 lines • 572 B
TypeScript
import { Bitcoind } from '../../types.js';
type CreatePsbtParams = {
bitcoind: Bitcoind;
inputs: Array<unknown>;
outputs: Array<unknown>;
locktime?: number;
replaceable?: boolean;
};
/**
* createpsbt [{"txid":"hex","vout":n,"sequence":n},...] [{"address":amount,...},{"data":"hex"},...] ( locktime replaceable )
*
* Creates a transaction in the Partially Signed Transaction format.
* Implements the Creator role.
*
*/
export declare function createPsbt(params: CreatePsbtParams): Promise<any>;
export {};
//# sourceMappingURL=create-psbt.d.ts.map