POST /lifi/quote
Changed onLiFi API compatibility endpoint for getting swap quotes. Accepts LiFi-formatted requests and returns LiFi-formatted responses.
Request
- Base URLhttps://swaps.sprinter.tech/mainnet
- URLhttps://swaps.sprinter.tech/mainnet/lifi/quote
- AuthHTTP basic
Request body
Example request
{
"slippage": 0.005
}Response
Successfully calculated swap route with LiFi-compatible response
Example response
{
"slippage": 0.005,
"gasEstimation": 180000
}Changes
- info
endpoint added
- info