UNPKG

bitcoin-cli-ts

Version:

Auto-generated Bitcoin client library for bitcoind JSON-RPC API

18 lines (17 loc) 528 B
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 {};