getExchangeRate

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 getExchangeRate(query?: VyQuery_GetExchangeRate) : VyPromise<VyExchangeRateResultDto>

Parameters

query (optional)

Query to filter the operation results

Returns

VyPromise<VyExchangeRateResultDto> Exchange rate and swap information retrieved successfully.

Last updated