Optional
configuration: ConfigurationProtected
axiosProtected
baseProtected
configurationProvide a quote estimate for the provided saver deposit.
Optional
height: numberoptional block height, defaults to current tip
Optional
asset: stringthe asset to deposit
Optional
amount: numberthe source asset amount in 1e8 decimals
Optional
options: AxiosRequestConfig<any>Override http request option.
QuoteApi
Provide a quote estimate for the provided saver withdraw.
Optional
height: numberoptional block height, defaults to current tip
Optional
asset: stringthe asset to withdraw
Optional
address: stringthe address for the position
Optional
withdrawBps: numberthe basis points of the existing position to withdraw
Optional
options: AxiosRequestConfig<any>Override http request option.
QuoteApi
Provide a quote estimate for the provided swap.
Optional
height: numberoptional block height, defaults to current tip
Optional
fromAsset: stringthe source asset
Optional
toAsset: stringthe target asset
Optional
amount: numberthe source asset amount in 1e8 decimals
Optional
destination: stringthe destination address, required to generate memo
Optional
toleranceBps: numberthe maximum basis points from the current feeless swap price to set the limit in the generated memo
Optional
affiliateBps: numberthe affiliate fee in basis points
Optional
affiliate: stringthe affiliate (address or mayaname)
Optional
options: AxiosRequestConfig<any>Override http request option.
QuoteApi
Generated using TypeDoc
QuoteApi - object-oriented interface
Export
QuoteApi