Queries that talk directly to web, not the engine. Placing here in the engine-client as we don't have enough use cases to justify a separate package

Hierarchy (view full)

Constructors

Properties

axiosInstance: AxiosInstance

Methods

  • Sets the linked signer for execute requests

    Parameters

    • linkedSigner: null | Signer

      The linkedSigner to use for all signatures. Set to null to revert to the chain signer

    Returns void

  • Determines whether client IP is blocked from interacting with the engine

    Returns Promise<boolean>

  • Determines whether a client needs to complete the cloudflare JS challenge to interact with the API

    Returns Promise<boolean>

    true if the client needs to complete the JS challenge at '/challenge', false otherwise

  • Retrieves current server epoch in milliseconds

    Returns Promise<number>