Oracle Prices
Current Oracle Price
The current Oracle Price in $USD and at which block it took effect. The last 7 digits are decimals, cent denominations.
Response
Current and Historical Oracle Prices
The current and historical Oracle Prices and at which block they took effect. This route is paged using a cursor.
Query Parameters
Name
Tags
Description
Example
Type
optional
Returned from an initial query, allowing client to fetch more results.
eyJiZWZvcmUiOjQ2NjE5MH0
text
Response
Oracle Price Stats
Gets statistics on Oracle prices.
Query Parameters
Response
Oracle Price at a Specific Block
Provides the oracle price at a specific block and at which block it initially took effect.
Path Parameters
Name
Tags
Description
Example
Type
Response
List Activity for a Specific Oracle
Lists price report transactions for the given oracle key. This route is paged using a cursor.
Path Parameters
Name
Tags
Description
Example
Type
Query Parameters
Name
Tags
Description
Example
Type
optional
Cursor for the next page to fetch.
eyJ0eXBlcyI6InByaWNlX29yYWNsZV92MSIsIm1pbl9ibG9jayI6MzY2MjgzLCJibG9jayI6ODY2MjAwLCJhbmNob3JfYmxvY2siOjg2NjIwMH0
text
Response
Get Predicted HNT Oracle Prices
This returns a list of expected times when the Oracle Price is expected to change.The blockchain operates in "block-time", meaning that blocks can come out at some schedule close to 1 per minute. Oracles report in "wall-clock-time", meaning they report what they believe the price should be.If the route returns one or more prices and times, it indicates that the chain is expected to adjust the price (based on Oracle reports) no earlier than the indicated time to the returned price.NOTE: A prediction may not be seen in the blockchain if they are close together (within 10 blocks) since block times may cause the blockchain to skip to a next predicted price. If no predictions are returned the current HNT Oracle Price is valid for at least 1 hour.
Response
Last updated
Was this helpful?