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

x/bitcoin_rpc/mod.ts>default#importdescriptors

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

Import descriptors. This will trigger a rescan of the blockchain based on the earliest timestamp of all descriptors being imported. Requires a new wallet backup. https://developer.bitcoin.org/reference/rpc/importdescriptors.html

Parameters

requests: Array<{ desc: string; active?: boolean; range: number | Array<number>; next_index: number; timestamp: number | string; internal?: boolean; label?: string; }>