Class ExchangesApi

Hierarchy

  • ExchangesApi
    • ExchangesApi

Constructors

  • Parameters

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

    Returns ExchangesApi

Properties

basePath: string
axios: AxiosInstance
configuration: undefined | Configuration

Methods

  • Receive wallet_address, provider, type and widget information to create a base exchange transaction and return widget URL

    Parameters

    • requestParameters: ExchangesApiCreateExchangeRequest

      Request parameters.

    • Optionaloptions: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<ExchangeCreateExchangeAndURLResponse, any>>

    Create an exchange with URL

    ExchangesApi

  • Accepts a transfer request and updates the transfer_status after processing transfer (offramp)

    Parameters

    • requestParameters: ExchangesApiCreateExchangeTransferRequest

      Request parameters.

    • Optionaloptions: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<CreateTransferResponseV1, any>>

    Accepts a transfer request and updates the transfer_status after processing transfer (offramp)

    ExchangesApi

  • Get an exchange by ID

    Parameters

    • requestParameters: ExchangesApiGetExchangeRequest

      Request parameters.

    • Optionaloptions: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<Exchange, any>>

    Get an exchange by ID

    ExchangesApi

  • Send a request for signable-transfer-details (offramp)

    Parameters

    • requestParameters: ExchangesApiGetExchangeSignableTransferRequest

      Request parameters.

    • Optionaloptions: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<GetSignableTransferResponseV1, any>>

    Send a request for signable-transfer-details (offramp)

    ExchangesApi

  • Returns a list of exchanges based on the request

    Parameters

    • OptionalrequestParameters: ExchangesApiGetExchangesRequest

      Request parameters.

    • Optionaloptions: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<GetTransactionsResponse, any>>

    Returns a list of exchanges based on the request

    ExchangesApi