This endpoint returns information about the expected result of the swap. It provides the expected output amount, as well gives information about the slippage, and fee involved for that specific swap.
public static VyTask<VyExchangeRateResultDto> GetExchangeRate(VyQuery_GetExchangeRate query = null)
Parameters
query (optional)
VyQuery_GetExchangeRate
Query to filter the operation results
Returns
VyTask<VyExchangeRateResultDto> Exchange rate and swap information retrieved successfully.
Last updated 3 months ago