Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/bitcoin_rpc/mod.ts>default#fundrawtransaction

A Bitcoin RPC Module for Deno.
Latest
method default.prototype.fundrawtransaction
import { default } from "https://deno.land/x/bitcoin_rpc@v1.0.3/mod.ts";

If the transaction has no inputs, they will be automatically selected to meet its out value. https://developer.bitcoin.org/reference/rpc/fundrawtransaction.html

Parameters

hexstring: string
optional
options: { add_inputs?: boolean; changeAddress?: string; changePosition?: number; change_type?: string; includeWatching?: boolean; lockUnspents?: boolean; fee_rate?: number | string; feeRate?: number | string; subtractFeeFromOutputs?: Array<number>; }
optional
iswitness: boolean