Hierarchy

  • TradesApi
    • TradesApi

Constructors

  • Parameters

    • Optional configuration: Configuration
    • Optional basePath: string
    • Optional axios: AxiosInstance

    Returns x.TradesApi

Properties

basePath: string
axios: AxiosInstance
configuration: undefined | Configuration

Methods

  • Create a Trade.

    Parameters

    • requestParameters: TradesApiCreateTradeV3Request

      Request parameters.

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<CreateTradeResponse, any>>

    Summary

    Create a Trade (V3)

    Throws

    Memberof

    TradesApi

  • Generate a signable trade message (V3)

    Parameters

    • requestParameters: TradesApiGetSignableTradeRequest

      Request parameters.

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<GetSignableTradeResponse, any>>

    Summary

    Generate a signable trade message (V3)

    Throws

    Memberof

    TradesApi

  • Get details of a trade with the given ID

    Parameters

    • requestParameters: TradesApiGetTradeV3Request

      Request parameters.

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<Trade, any>>

    Summary

    Get details of a trade with the given ID

    Throws

    Memberof

    TradesApi

  • Get a list of trades (V3)

    Parameters

    • Optional requestParameters: TradesApiListTradesV3Request

      Request parameters.

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<ListTradesResponse, any>>

    Summary

    Get a list of trades (V3)

    Throws

    Memberof

    TradesApi

Generated using TypeDoc