Polkadot Apps
    Preparing search index...

    Type Alias QueryStrategy

    QueryStrategy:
        | {
            kind: "host-lookup";
            lookup: (cid: string, timeoutMs?: number) => Promise<Uint8Array>;
        }
        | { kind: "gateway" }

    Discriminated union describing how data will be queried from the Bulletin Chain.

    • "host-lookup" — the host manages the lookup via its preimage subscription API, which includes local caching and managed IPFS polling.
    • "gateway" — direct HTTP fetch from the IPFS gateway.