Submitting Values
Reporting data is the same on any network, it requires a staked reporter to run the submitValue
function:
Notes:
Once a value is submitted, the reporter is then locked from submitting again for the reporterLock time period (currently 12 hours on most networks).
For all queryId's except legacy ID's (ETH only), the queryId must be the keccak256 hash of the queryData. For information on how to get the queryId or how to parse the queryData, see the Creating a Query section.
_nonce also must be correct for a valid report. The nonce represents the number of submissions for a given query. The purpose of the nonce is to prevent two parties from submitting at the same time for the same ID.
Last updated