Class TradesApi

Hierarchy

  • TradesApi
    • TradesApi

Constructors

  • Parameters

    • Optionalconfiguration: Configuration
    • OptionalbasePath: string
    • Optionalaxios: AxiosInstance

    Returns TradesApi

Properties

basePath: string
axios: AxiosInstance
configuration: undefined | Configuration

Methods

  • Create a Trade.

    Parameters

    • requestParameters: TradesApiCreateTradeV3Request

      Request parameters.

    • Optionaloptions: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<CreateTradeResponse, any>>

    Create a Trade (V3)

    TradesApi

  • Generate a signable trade message (V3)

    Parameters

    • requestParameters: TradesApiGetSignableTradeRequest

      Request parameters.

    • Optionaloptions: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<GetSignableTradeResponse, any>>

    Generate a signable trade message (V3)

    TradesApi

  • Get details of a trade with the given ID

    Parameters

    • requestParameters: TradesApiGetTradeV3Request

      Request parameters.

    • Optionaloptions: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<Trade, any>>

    Get details of a trade with the given ID

    TradesApi

  • Get a list of trades (V3)

    Parameters

    • OptionalrequestParameters: TradesApiListTradesV3Request

      Request parameters.

    • Optionaloptions: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<ListTradesResponse, any>>

    Get a list of trades (V3)

    TradesApi