Taquito TypeDocs
    Preparing search index...

    Class IpfsHttpHandler

    Handler for retrieving and verifying TZIP-16 contract metadata over HTTPS IPFS gateways.

    By default, tries the public gateways ipfs.filebase.io and gateway.pinata.cloud in order with a 10-second per-gateway deadline. Public gateways are best-effort and may rate-limit or time out; for production applications, configure a paid IPFS gateway service with an SLA or a self-hosted HTTPS IPFS gateway supporting raw block retrieval (?format=raw).

    Implements

    Index
    • Parameters

      • OptionalipfsGateway: string

        Optional HTTPS gateway hostname (without https:// or /ipfs/). For production, use a paid gateway service with an SLA or a self-hosted HTTPS IPFS gateway. When omitted, falls back across the default public gateways.

      • timeout: number = 10000

        Total deadline in milliseconds for each gateway, including all block and body reads (default 10000).

      Returns IpfsHttpHandler

    httpBackend: HttpBackend = ...