Report Schema Reference
Data Streams can deliver a broad array of information in each report. The values you can expect in each report depend on the schema for the Stream ID that you select. You can find the schema for each ID on the Stream IDs page.
Basic schema
Streams with the Basic
schema have the following values specifically applicable to market pricing data:
Value | Type | Description |
---|---|---|
feedID | bytes32 | The unique identifier for the stream |
validFromTimestamp | uint32 | The earliest timestamp during which the price is valid |
observationsTimestamp | uint32 | The latest timestamp during which the price is valid |
nativeFee | uint192 | The cost to verify this report when paying with the blockchain's native token |
linkFee | uint192 | The cost to verify this report when paying with LINK |
expiresAt | uint32 | The expiration date of this report |
price | int192 | The DON's consensus median price for this report carried to 8 decimal places |
Premium schema
The Premium
schema includes all values from the Basic
schema, and also includes bid
and ask
values:
Value | Type | Description |
---|---|---|
bid | int192 | The simulated price impact of a buy order up to the X% depth of liquidity usage |
ask | int192 | Simulated price impact of a sell order up to the X% depth of liquidity usage |