Skip to main content
POST
/
prices
/
refresh
Refresh oracle prices from Finnhub
curl --request POST \
  --url https://alphagrid-api.artiffine-delivery.workers.dev/prices/refresh
{
  "updated": 8,
  "skipped": false,
  "reason": "FINNHUB_API_KEY not set",
  "transactionHash": "0xabc..."
}

Response

Prices updated on-chain

updated
integer
required
Example:

8

skipped
boolean
required
Example:

false

reason
string
Example:

"FINNHUB_API_KEY not set"

transactionHash
string
Example:

"0xabc..."