Skip to main content
Rounds are not written to chain one by one. The gateway therefore reports every round it sends to the nodes, signed or failed, to a public read service, the round archive. Use it to look up a round from the roundId in a gateway response, to see a source’s recent rounds, or to check how often each node is selected and signs. The API is public, read-only and free: GET only, no authentication, CORS open to any origin.

What is recorded

  • One record per round run. Requests for one feed inside one 100 ms tick share a round ID and one dispatch, so they share one record. A private or paid-source round is dispatched once per caller, so one round ID can have several records (reports).
  • Signed and failed rounds. A record holds the round (round ID, source ID, the source’s canonical form, quorum, registry version, timestamp), when the gateway started and finished it, the selected nodes with what each answered, and either the signed aggregate or a failure class.
  • No caller. A record never names who asked for or paid for the round.
  • Not recorded: requests refused before any node was asked (such as 400, 401, 403, 409, 429 or a capacity 503) and rounds whose caller went away before they finished.
  • Private sources are stored in their public form, with the {{secret.NAME}} placeholders in place. For private and paid-source rounds only the failure class is kept, never a node’s error text.
Each batch a gateway pushes is signed with its on-chain authority key, and the read service accepts it only from an active Gateway account of the program. It then checks every record against the protocol and the chain before storing it: it recomputes the round ID, checks the timestamp is on the 100 ms grid, checks that the source’s canonical form hashes to the sourceId, re-draws the committee from the registry snapshot of the round’s version and requires it to equal the reported one, and checks that the signer bits lie inside that committee and reach the quorum.

Public API

  • Hashes are returned as 0x-prefixed lowercase hex and accepted with or without 0x, so a roundId from a gateway response can be used as it is. Node accounts and gateways are base58.
  • Lists take limit (default 25, at most 100) and page with the opaque nextCursor, sent back as cursor. days is 1 to 365 (default 7) and counts UTC days, today included.
  • Errors are 400 {"error": "bad_request", "message": ...}, 404 {"error": "not_found"} and 503 {"error": "timeout"}. A 404 can be a round that has not arrived yet: the gateway pushes records in batches, by default about once a second.
  • Successful responses are cacheable for 10 seconds (Cache-Control: public, max-age=10, stale-while-revalidate=30).
Response (shortened)

Reading a round

  • status is signed when any report signed. conflict is true when two signed reports attest different values.
  • A report’s nodes lists the selected committee in slot order. outcome is what the node answered when asked: accepted, busy, rejected, send_failed, not_connected (selected, but the gateway had no connection to it) or not_asked (the round failed before anyone was asked, because too few nodes were connected). signed says whether the node’s bit is in the signer bitmap.
  • A failed report has failure.class: nodes_busy, nodes_unreachable, nodes_rejected, node_error, timeout or internal.
  • A round a data provider co-signed has provider on its signed report. No provider signer is registered on devnet yet.

Policy rounds and receipts

For a source with a policy, a signed report carries result: {"outcome": "conclusive"}, or {"outcome": "fallback", "reason": "0x01"} when the nodes signed the policy’s declared fallback. About a second after such a round ends, the gateway fetches each accepting node’s receipt and pushes it to the archive. receipts on GET /v1/rounds/{roundId} lists them as {gateway, node, nodeAccount, receipt}. A receipt is the node’s own account of the round: per input the keccak256 hash of the body it received (or the block a chain input was pinned to), which policy candidates qualified and why not, and the outcome and value it reached. It never holds a body, a header, a secret or an error text. Receipts are not kept for private or paid-source rounds, and the API serves a receipt only when the pushing gateway’s own report of the round lists that node.

What the archive does not prove

  • It is not the chain. The archive stores what a gateway reported and rechecks it against the protocol rules above. It does not verify the aggregate signature. To rely on a value, verify the attestation with a verifier.
  • Receipts are not signed. A receipt explains a round; it does not attest one.
  • Absence proves nothing. A gateway drops records it cannot queue, and a request refused before dispatch leaves none. Full records are kept for a limited retention window; sources and daily counts are kept longer.
  • It does not affect admission, quota or payment. The archive is never an input to the gateway’s decisions.