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

Returns

VyPromise<VyExchangeRateResultDto>

Last updated