https://api.fibrous.finance/starknet
Health Check
Last updated 1 month ago
route api response
Route batch api response
const response = await fetch('/healthCheck', { method: 'GET', headers: {}, }); const data = await response.json();
const response = await fetch('/execute?amount=text&tokenInAddress=text&tokenOutAddress=text&slippage=0&destination=text', { method: 'GET', headers: {}, }); const data = await response.json();
const response = await fetch('/route?amount=text&tokenInAddress=text&tokenOutAddress=text', { method: 'GET', headers: {}, }); const data = await response.json();
{ "success": false, "inputAmount": "text", "outputAmount": "text", "estimatedGasUsed": "text", "route": [ "text" ], "time": 0, "bestQuotesByProtocols": [ "text" ] }
const response = await fetch('/routeBatch', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "success": false, "inputAmount": "text", "outputAmount": "text", "estimatedGasUsed": "text", "route": [ "text" ], "time": 0, "bestQuotesByProtocols": [ "text" ] } ]