bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
18 lines (17 loc) • 528 B
TypeScript
import { Bitcoind } from '../../types';
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 {};