Skip to content
AnnouncementSomnia Oracle settles event contracts onchain, in minutes, with receipts.

Settle on real-world answers you can check

Somnia Oracle answers real-world questions onchain. Committees of Somnia Agents read the sources each question names, agree on one answer and publish it with a receipt for every source. There is no dispute window.

QuestionWebsite ×2JSONContractAnswer

Latest answers1 of 3

Resolving

Will La Rochelle beat Bayonne in their Top 14 match on 8 November 2026?

Answer type
Discrete · Yes / No
Sources
rugbyrama.fr, skysports.com
Committee
3 agents, 2 must agree
Resolution
9 Nov, 08:05 UTC
Receipts
2 of 2 sources

Answer

Yes

Outcome index

0

Question #77508, answered 11 s after its resolution time, in block 460,570,625.

How a question becomes an answer

Read how resolution works
  1. You ask the question

    2 Nov 07:14:59 UTC

    Submit the question through the OracleEntryPoint contract: the question in plain language, its sources (web pages, JSON APIs or onchain contracts), the answer shape and the resolution time.

  2. The question is reviewed

    07:14:59 UTC

    An LLM committee reviews the question and records an advisory accept or reject. A naming agent writes its display name.

  3. Sources are read at resolution time

    08:05:00 UTC

    At resolution time, Somnia Reactivity wakes the oracle. Agent committees read the named websites and APIs, and contract reads are captured in the same block.

  4. One answer posts onchain

    08:05:11 UTC

    Results are aggregated onchain: a median for numeric questions, a majority for discrete ones. One answer posts, with a receipt for each source.

  5. Markets pay out

    08:05:11 UTC

    Markets bound to the question read the answer or receive it by subscription, and pay out.

Replayed from question #77508Resolution time to answer11 s

One contract to call, one answer to read

  • Read an answer when you need it

    Call getAnswer(questionId) on the oracle contracts whenever your contract needs the result. The answer cannot change once posted, so every read returns the same value.

  • React the moment an answer lands

    Subscribe to the AnswerPosted event with Somnia Reactivity and run settlement logic in the same block, with no polling and no keeper to operate.

Solidity
// Read a resolved answer from the Somnia Oracle
IOracleEntryPoint constant ORACLE =
IOracleEntryPoint(0x5D7AA251…2aC2AB);
function settle() external {
QuestionStatus s = ORACLE.getStatus(questionId);
require(s == QuestionStatus.Resolved
|| s == QuestionStatus.Voided, "not final");
Answer memory a = ORACLE.getAnswer(questionId);
if (a.voided) return refundBoth();
payWinners(a.outcomeIdx); // 0 = "Yes"
}
getOutcome(questionId)Illustrative
outcomeIdx
0
label
"Yes"
numericValue
0
timestamp
1773359940
receiptIds
[ 41872 ]

Ask anything a public source can answer

  • LabelsYesNoVoidMajority of sources0 of 3

    Discrete answers, settled by majority

    Up to 64 outcome labels, settled by majority. Example: Yes or No.

  • IntervalsMedianBuckets set at creation

    Numeric answers, settled by median

    Numeric intervals, settled by the median of what the sources return.

  • WebsiteJSON APIContractVoidNo majority · each side refunded

    Void when no reliable answer exists

    A question that can’t be answered reliably resolves to void. On Somnia Markets event contracts, each side gets 0.5 USDso back.

Settle event contracts without arbitration

1 questionResolved onceUp to 64 marketsQuestionSame answer in every market0 / 64 settled

What every answer comes with

  • No single operator decides an outcome

    Independent validator-run agents read each source and agree on one answer.

  • See what every answer was based on

    Every answer records what was read and what came back, so each resolution has an audit trail.

  • Set a quality bar for what you list

    Each question and its sources get a caliber rating.

  • Resolve without running a keeper

    Somnia Reactivity triggers each resolution onchain, so no offchain bot has to stay online.

  • Check every answer in Somnia Explorer

    Questions, answers and receipts are public in Somnia Explorer, under Oracle.

What to check before you list

Source quality
An answer is only as good as the sources a question names. The caliber rating scores them, and operators set the bar for what they list.
Ambiguous questions
Moderation is advisory. A question that cannot be answered reliably resolves to void.
Finality
There is no dispute window, so a posted answer is final. Review the wording and sources before a market opens.

Settle markets on verifiable outcomes

Tell us what you want to settle, such as event contracts, prediction markets or parametric products, and we show you how Somnia Oracle fits.

Tell us