blockchainchainlink

What do `observationsTimestamp` and `validFromTimestamp` from Chainlink's data streams schemas exactly represent?


Was checking Chainlink's docs on the data stream services. https://docs.chain.link/data-streams/reference/report-schema

Two of the parameters of the report schema are the validFromTimestamp and observationTimestamp. That's the price validity timespan, as I got it. Is it supposed to surround the request timestamp? the answer timestamp? or both? I'm thinking that maybe its one of them, but wanted to ask.

Which of these is it?

Thank you so much for your time


Solution

  • In Chainlink Data Streams, the validFromTimestamp and observationsTimestamp fields define the time range during which the reported price is valid.

    Together, these timestamps specify the validity period of the price data.