@did-btc1/method
    Preparing search index...

    Type Alias ImportDescriptorRequest

    type ImportDescriptorRequest = {
        active?: boolean;
        desc: string;
        internal?: boolean;
        label?: string;
        next_index?: number;
        range?: number | number[];
        timestamp: number | string;
    }
    Index

    Properties

    active?: boolean

    (boolean, optional, default=false) Make descriptor "active" for corresponding output type/externality

    desc: string

    (string, required) Descriptor to import.

    internal?: boolean

    (boolean, optional, default=false) Whether matching outputs should be treated as not incoming payments (e.g. change)

    label?: string

    (string, optional, default="") Label to assign to the address, only allowed with internal=false. Disabled for ranged descriptors

    next_index?: number

    (numeric, optional) If a ranged descriptor is set to active, this specifies the next index to generate addresses from

    range?: number | number[]

    (numeric or array, optional) If a ranged descriptor is used, this specifies the end or the range (in the form [begin,end]) to import

    timestamp: number | string

    (integer / string, required) Time from which to start rescanning the blockchain for this descriptor, in UNIX epoch time Use the string "now" to substitute the current synced blockchain time. "now" can be specified to bypass scanning, for outputs which are known to never have been used, and 0 can be specified to scan the entire blockchain. Blocks up to 2 hours before the earliest timestamp of all descriptors being imported will be scanned as well as the mempool.