Swap Quotes
Swap Details Endpoint
Endpoint:
/swap/details
Description: This endpoint allows you to obtain the best exchange rate between two tokens and identify the best pool to perform the swap.
Response Includes:
Best pool for performing the swap.
amountIn
andamountOut
values.Network fees and liquidity provider fees.
Price impact of the swap.
Important Notes:
Swap from Rune to BTC:
The
amountOut
provided by the/swap/details
endpoint does not account for the network fees.You need to subtract the network fees from the
amountOut
to get the correct amount to send to the endpoint.
Last updated