Hierarchy

Constructors

Properties

axiosInstance: AxiosInstance
payloadBuilder: EngineExecuteBuilder

Methods

  • Sets the linked signer for execute requests

    Parameters

    • linkedSignerWalletClient: null | {}

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

    Returns void

  • Gets the orderbook contract address for a given product

    Parameters

    • productId: number

    Returns Promise<string>

  • 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>