Get price inference for a specific asset and timeframe
A promise that resolves to an AlloraInferenceResponse object
const response = await fetch('https://beta.usemoon.ai//allora/inference?asset=ETH&timeframe=5m¤tPrice=0', { method: 'GET', headers: { "Authorization": "text" }, }); const data = await response.json();
{ "success": false, "message": "text", "data": { "confidenceIntervals": { "values": [ 0 ], "percentiles": [ 0 ] }, "timestamp": "text", "percentageChange": 0, "impliedFuturePrice": 0, "predictedLogReturn": 0, "currentPrice": 0 } }