finalized round
refers to a round with >= min submissions.function oracleRoundState(address _oracle, uint32 _queriedRoundId)
to determine eligibility for specific roundId. The same method oracleRoundstate(_oracle, 0)
can also be used to suggest the next eligible round for the oracle.submit(roundId, value)
.value
is the price to submit, note: in decimals as returned by the contract (currently set to 8) and roundId
refers to round, which is consecutive and starts from 1 for the specific feed. The oracle can only submit once for a specific round.latestRoundData(base, quote)
. To get the price data from a certain past round (historical price) call method getRoundData(base, quote, roundId)
. The roundId
supplied here is phaseId plus aggregator roundId, for reference query the latest roundId
. The answer returned will be of the form of decimals specified on the contract call method decimals(base, quote)
. For example,base
is always the token address and quote
is fiat in the ISO_4217 form.latestAnswer(base, quote)
.getAnswer(base, quote, roundId)
. roundId
supplied here is phaseId
plus aggregator roundId
.latestRound(base, quote)
.latestTimestamp(base, quote)
.