Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method default.prototype.walletcreatefundedpsbt
import { default } from "https://deno.land/x/bitcoin_rpc@v1.0.3/mod.ts";

Creates and funds a transaction in the Partially Signed Transaction format. https://developer.bitcoin.org/reference/rpc/walletcreatefundedpsbt.html

Parameters

inputs: Array<{ txid: string; vout: number; sequence: number; }>
outputs: Array<{ address: string; } | { data: string; }>
optional
locktime: number
optional
options: object
optional
bip32derivs: boolean