Hierarchy

  • ExchangesApi
    • ExchangesApi

Constructors

  • Parameters

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

    Returns x.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.

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<ExchangeCreateExchangeAndURLResponse, any>>

    Summary

    Create an exchange with URL

    Throws

    Memberof

    ExchangesApi

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

    Parameters

    • requestParameters: ExchangesApiCreateExchangeTransferRequest

      Request parameters.

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<CreateTransferResponseV1, any>>

    Summary

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

    Throws

    Memberof

    ExchangesApi

  • Get an exchange by ID

    Parameters

    • requestParameters: ExchangesApiGetExchangeRequest

      Request parameters.

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<Exchange, any>>

    Summary

    Get an exchange by ID

    Throws

    Memberof

    ExchangesApi

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

    Parameters

    • requestParameters: ExchangesApiGetExchangeSignableTransferRequest

      Request parameters.

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<GetSignableTransferResponseV1, any>>

    Summary

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

    Throws

    Memberof

    ExchangesApi

  • Returns a list of exchanges based on the request

    Parameters

    • Optional requestParameters: ExchangesApiGetExchangesRequest

      Request parameters.

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<GetTransactionsResponse, any>>

    Summary

    Returns a list of exchanges based on the request

    Throws

    Memberof

    ExchangesApi

Generated using TypeDoc