Oracle
Get Oracle History
List recorded price attestations beside the prices that landed on the oracle
GET
Returns two lists, newest first.
signed holds the price attestations recorded for the market, through Record Price Attestation or the Trusset app. pushed holds every price that actually landed on the oracle, read from its PriceUpdated events. An attestation that has landed carries the pushedTxHash of the transaction that landed it.
Neither list is complete on its own. signed shows only attestations someone recorded; a signature from Sign Price that was never recorded is absent. pushed never holds the price set at deployment, which emits no event. An ORACLE-priced market reads an external feed, so its pushed list stays empty.
How the Pushed List Stays Current
Each read first sweeps the oracle’s events forward from where the last sweep stopped, then answers from the stored rows. The first sweep starts at the deployment block, or 200,000 blocks back when the deployment transaction is not on record. The sweep stays 3 blocks behind the chain head, so a push from the last few blocks may not appear yet. It runs at most once every 15 seconds per market and reads at most 400 events per run, so a long backlog can take several reads to catch up. A failed sweep leaves the stored rows unchanged and the read still answers.Path Parameters
string
required
Market ID.
Query Parameters
integer
default:"20"
Entries per list, from 1 to 100. Values above 100 are lowered to 100; zero or a non-numeric value falls back to 20.
Response Fields
object
