# \QuoteApi All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**quotesaverdeposit**](QuoteApi.md#quotesaverdeposit) | **GET** /mayachain/quote/saver/deposit | [**quotesaverwithdraw**](QuoteApi.md#quotesaverwithdraw) | **GET** /mayachain/quote/saver/withdraw | [**quoteswap**](QuoteApi.md#quoteswap) | **GET** /mayachain/quote/swap | ## quotesaverdeposit > crate::models::QuoteSaverDepositResponse quotesaverdeposit(height, asset, amount) Provide a quote estimate for the provided saver deposit. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **height** | Option<**i64**> | optional block height, defaults to current tip | | **asset** | Option<**String**> | the asset to deposit | | **amount** | Option<**i64**> | the source asset amount in 1e8 decimals | | ### Return type [**crate::models::QuoteSaverDepositResponse**](QuoteSaverDepositResponse.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## quotesaverwithdraw > crate::models::QuoteSaverWithdrawResponse quotesaverwithdraw(height, asset, address, withdraw_bps) Provide a quote estimate for the provided saver withdraw. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **height** | Option<**i64**> | optional block height, defaults to current tip | | **asset** | Option<**String**> | the asset to withdraw | | **address** | Option<**String**> | the address for the position | | **withdraw_bps** | Option<**i64**> | the basis points of the existing position to withdraw | | ### Return type [**crate::models::QuoteSaverWithdrawResponse**](QuoteSaverWithdrawResponse.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## quoteswap > crate::models::QuoteSwapResponse quoteswap(height, from_asset, to_asset, amount, destination, streaming_interval, streaming_quantity, tolerance_bps, affiliate_bps, affiliate) Provide a quote estimate for the provided swap. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **height** | Option<**i64**> | optional block height, defaults to current tip | | **from_asset** | Option<**String**> | the source asset | | **to_asset** | Option<**String**> | the target asset | | **amount** | Option<**i64**> | the source asset amount in 1e8 decimals | | **destination** | Option<**String**> | the destination address, required to generate memo | | **streaming_interval** | Option<**i64**> | the interval in which streaming swaps are swapped | | **streaming_quantity** | Option<**i64**> | the quantity of swaps within a streaming swap | | **tolerance_bps** | Option<**i64**> | the maximum basis points from the current feeless swap price to set the limit in the generated memo | | **affiliate_bps** | Option<**i64**> | the affiliate fee in basis points | | **affiliate** | Option<**String**> | the affiliate (address or mayaname) | | ### Return type [**crate::models::QuoteSwapResponse**](QuoteSwapResponse.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)