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

x/bitcoin_rpc/mod.ts>default#lockunspent

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

Updates list of temporarily unspendable outputs. https://developer.bitcoin.org/reference/rpc/lockunspent.html

Parameters

unlock: boolean
transactions: Array<{ txid: string; vout: number; }>