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

x/bitcoin_rpc/mod.ts>default#utxoupdatepsbt

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

Updates all segwit inputs and outputs in a PSBT with data from output descriptors, the UTXO set or the mempool. https://developer.bitcoin.org/reference/rpc/utxoupdatepsbt.html

Parameters

psbt: string
optional
descriptors: Array<string | { desc: string; range?: number | Array<number>; }>