Polkadot Apps
    Preparing search index...
    • Fetch raw bytes for a CID, auto-resolving the query path.

      • Inside a host container: uses the host preimage lookup (local cache + managed IPFS polling).
      • Standalone: direct IPFS gateway HTTP fetch.

      Parameters

      • cid: string

        CIDv1 string to fetch.

      • gateway: string

        IPFS gateway base URL (used for the gateway fallback path).

      • Optionaloptions: QueryOptions

        Query options (timeoutMs for gateway, lookupTimeoutMs for host).

      Returns Promise<Uint8Array<ArrayBufferLike>>

      Raw bytes of the content.