https://api.fibrous.finance/scroll
Last updated 3 months ago
Health Check
const response = await fetch('/scroll/healthCheck', { method: 'GET', headers: {}, }); const data = await response.json();
route api response
const response = await fetch('/scroll/route?amount=text&tokenInAddress=text&tokenOutAddress=text', { method: 'GET', headers: {}, }); const data = await response.json();
{ "success": true, "inputToken": {}, "inputAmount": "text", "outputToken": {}, "outputAmount": "text", "estimatedGasUsed": "text", "route": [ "text" ], "time": 1, "bestQuotesByProtocols": [ "text" ] }
const response = await fetch('/scroll/execute?amount=text&tokenInAddress=text&tokenOutAddress=text&slippage=1&destination=text', { method: 'GET', headers: {}, }); const data = await response.json();