@arkade-os/sdk Documentation - v0.4.36
    Preparing search index...

    Interface ScanContractsOptions

    interface ScanContractsOptions {
        batchSize?: number;
        deps: DiscoveryDeps;
        gapLimit?: number;
        hd: boolean;
        materialize: (index: number) => string;
    }
    Index

    Properties

    batchSize?: number

    Number of HD indices probed concurrently per window (default DEFAULT_SCAN_BATCH). Pure latency knob: the gap loop stays gap-limit bounded and the discovered set is identical regardless of batch size. A non-positive / non-integer value throws. Ignored when hd is false (the static pass probes only index 0).

    Read-only context injected into every discoverAt call.

    gapLimit?: number

    Default 20. A non-positive / non-integer value throws.

    hd: boolean

    HD mode → unbounded gap loop guided by the gap counter; false → probe only index 0 (single static pass).

    materialize: (index: number) => string

    Materialize the descriptor at an HD index. Pure derivation; a throw here is structural/fatal and propagates out of scanContracts.