Get a quote for a token transfer using toAmount

This endpoint is an alternative to the v1/quote endpoint, taking a toAmount value rather than fromAmount. This endpoint will calculate an appropriate fromAmount based on the specified toAmount, and use this value to generate the quote data.
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 required fromAmount of the sending Token to meet the toAmountMin of the receiving token, 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.

Language
URL
Click Try It! to start a request and see the response here!