Preparing search index...
The search index is not available
@openfort/openfort-node
@openfort/openfort-node
generated
ExchangeApi
Class ExchangeApi
Index
Constructors
constructor
Properties
api
Methods
create
Swap
quote
Swap
Constructors
constructor
new
Exchange
Api
(
configuration
,
requestFactory
?
,
responseProcessor
?
)
:
ExchangeApi
Parameters
configuration
:
Configuration
Optional
requestFactory
:
ExchangeApiRequestFactory
Optional
responseProcessor
:
ExchangeApiResponseProcessor
Returns
ExchangeApi
Properties
Private
api
api
:
ObservableExchangeApi
Methods
create
Swap
create
Swap
(
createExchangeRequest
,
_options
?
)
:
Promise
<
TransactionIntentResponse
>
Creates token swap. Create token swap.
Parameters
createExchangeRequest
:
CreateExchangeRequest
Optional
_options
:
Configuration
Returns
Promise
<
TransactionIntentResponse
>
quote
Swap
quote
Swap
(
createExchangeRequest
,
_options
?
)
:
Promise
<
QuoteExchangeResult
>
Quote token swap. Quote token swap.
Parameters
createExchangeRequest
:
CreateExchangeRequest
Optional
_options
:
Configuration
Returns
Promise
<
QuoteExchangeResult
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
api
create
Swap
quote
Swap
@openfort/openfort-node
Loading...
Creates token swap. Create token swap.