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

x/bitcoin_rpc/mod.ts>default#converttopsbt

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

Converts a network serialized transaction to a PSBT. This should be used only with createrawtransaction and fundrawtransaction createpsbt and walletcreatefundedpsbt should be used for new applications. https://developer.bitcoin.org/reference/rpc/converttopsbt.html

Parameters

hexstring: string
optional
permitsigdata: boolean
optional
iswitness: boolean