API Version: v0.3.1

ReportVersions v0.3.1 API Reference

ReportVersions

An abstract contract that defines the Data Streams report schemas (ReportV1 through ReportV13).

ReportVersions

Structs

ReportV1

FieldTypeDescription
feedIdbytes32The stream ID the report has data for
observationsTimestampuint32Observation timestamp in seconds
benchmarkPriceint192DON consensus median benchmark price
bidint192Bid-side price estimate
askint192Ask-side price estimate
currentBlockNumuint64Current block number used by the report
currentBlockHashbytes32Current block hash used by the report
validFromBlockNumuint64Earliest block number from which the report is valid
currentBlockTimestampuint64Current block timestamp in seconds

ReportV2

FieldTypeDescription
feedIdbytes32The feed ID the report has data for
validFromTimestampuint32Earliest timestamp for which price is applicable
observationsTimestampuint32Latest timestamp for which price is applicable
nativeFeeuint192Base cost to validate a transaction, in the native token
linkFeeuint192Base cost to validate a transaction, in LINK
expiresAtuint32Latest timestamp where the report can be verified on-chain
benchmarkPriceint192DON consensus median price

ReportV3

FieldTypeDescription
feedIdbytes32The stream ID the report has data for
validFromTimestampuint32Earliest timestamp for which price is applicable
observationsTimestampuint32Latest timestamp for which price is applicable
nativeFeeuint192Base cost to validate a transaction, in the native token
linkFeeuint192Base cost to validate a transaction, in LINK
expiresAtuint32Latest timestamp where the report can be verified on-chain
priceint192DON consensus median price
bidint192Simulated price impact of a buy order up to the X% depth of liquidity utilisation
askint192Simulated price impact of a sell order up to the X% depth of liquidity utilisation

ReportV4

FieldTypeDescription
feedIdbytes32The stream ID the report has data for
validFromTimestampuint32Earliest timestamp for which price is applicable
observationsTimestampuint32Latest timestamp for which price is applicable
nativeFeeuint192Base cost to validate a transaction, in the native token
linkFeeuint192Base cost to validate a transaction, in LINK
expiresAtuint32Latest timestamp where the report can be verified on-chain
priceint192DON consensus median benchmark price
marketStatusuint32The DON's consensus on whether the market is currently open

ReportV5

FieldTypeDescription
feedIdbytes32The stream ID the report has data for
validFromTimestampuint32Earliest timestamp for which the report is applicable
observationsTimestampuint32Latest timestamp for which the report is applicable
nativeFeeuint192Base cost to validate a transaction, in the native token
linkFeeuint192Base cost to validate a transaction, in LINK
expiresAtuint32Latest timestamp where the report can be verified on-chain
rateint192Reported rate value
timestampuint32Rate timestamp in seconds
durationuint32Duration window in seconds

ReportV6

FieldTypeDescription
feedIdbytes32The stream ID the report has data for
validFromTimestampuint32Earliest timestamp for which the report is applicable
observationsTimestampuint32Latest timestamp for which the report is applicable
nativeFeeuint192Base cost to validate a transaction, in the native token
linkFeeuint192Base cost to validate a transaction, in LINK
expiresAtuint32Latest timestamp where the report can be verified on-chain
priceint192Primary price value
price2int192Secondary price value
price3int192Third price value
price4int192Fourth price value
price5int192Fifth price value

ReportV7 through ReportV13

Get the latest Chainlink content straight to your inbox.