UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

14 lines 550 B
// Auto synced from github actions. Don't change this file import request from '../../rpc-request.js'; /** * 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 function createPsbt(params) { const { bitcoind, ...methodParams } = params; return request({ method: 'createpsbt', params: methodParams }, bitcoind); } //# sourceMappingURL=create-psbt.js.map