Polkadot Apps
    Preparing search index...
    • Fetch and parse JSON for a CID, auto-resolving the query path.

      Delegates to queryBytes and parses the result as JSON.

      Type Parameters

      • T

      Parameters

      • cid: string

        CIDv1 string to fetch.

      • gateway: string

        IPFS gateway base URL.

      • Optionaloptions: QueryOptions

        Query options.

      Returns Promise<T>

      Parsed JSON value.