Inference

get

Get price inference for a specific asset and timeframe

Authorizations
AuthorizationstringRequired
Query parameters
assetstring · enumRequired
  • The asset to get inference for (ETH or BTC)
Possible values:
timeframestring · enumRequired
  • The timeframe for the inference (5m or 8h)
Possible values:
currentPricenumber · doubleRequired
  • The current price of the asset
Header parameters
AuthorizationstringRequired
  • The authorization token
Responses
get
/allora/inference
200

A promise that resolves to an AlloraInferenceResponse object