qbit-rpc
    Preparing search index...

    Interface DescriptorImport

    One descriptor for importDescriptors.

    interface DescriptorImport {
        active?: boolean;
        desc: string;
        internal?: boolean;
        label?: string;
        nextIndex?: number;
        range?: DescriptorRange;
        timestamp: number | "now";
    }
    Index
    active?: boolean

    Make it the active descriptor of its output type, receiving or (with internal) change. Ranged only.

    desc: string

    The descriptor, with its checksum. It can hold private keys: see Descriptors.

    internal?: boolean

    Treat its outputs as change. Not for a multipath descriptor, whose second path is the change one.

    label?: string

    A label for its address: only for a descriptor without a range or multipath that is not internal.

    nextIndex?: number

    The next index to hand out, for a ranged descriptor: within range, which it needs, as the default range depends on the node's -keypool.

    The indexes to derive, for a ranged descriptor (one with *); left out, the first -keypool (1,000).

    timestamp: number | "now"

    Unix time in seconds from which to rescan for the descriptor's transactions, 0 for the whole chain, or 'now', the tip's median time, for keys never used. The call rescans once, from 2 hours before the earliest of its descriptors' timestamps and the tip's time: always the last 2 hours of blocks at least.