get https://li.quest/v1/quote
This endpoint can be used to request a quote for a transfer of one token to another, cross chain or not.
The endpoint returns a Step
object which contains information about the estimated result as well as a transactionRequest
which can directly be sent to your wallet.
The estimated result can be found inside the estimate
, containing the estimated toAmount
of the requested Token
and the toAmountMin
, which is the guaranteed minimum value that the transfer will yield including slippage.
If you want to learn more about how to use this endpoint please have a look at our guide.