MeteraDOCS
Request access

Get started

Core concepts

The handful of ideas every Metera response is built on: how sure, how independent, measured or computed, and what happens when the answer is not good enough.

Verification levels

Every delivered answer carries exactly one level. The level says how much independent evidence stands behind the value, not how good the source is.

LevelMeaningExample
single_sourceOne source answered. Nothing independent confirmed it. The response says so in a caveat.spot.price in fast mode, any solana.* type today
consensusIndependent sources were compared and agreed.spot.price in safe mode, when its 4 providers agree
anchoredThe value was checked against a reference anchor, such as a price feed read from the chain.token.price, checked against a Chainlink feed on Solana

All levels are available on every plan. Higher plans go faster; they do not verify better.

Independence

Consensus only counts sources that are truly independent. Two feeds from the same upstream count as one. Metera also says when an anchor is not fully independent of the source. In the real token.price trace from the Quickstart, the anchor is a Chainlink feed that aggregates centralised venues, Kraken among them, so the trace reports "independentOfSource": false and explains that agreement is weaker than an independent check.

Some data can never reach consensus, by its nature. A perpetual's funding rate is set by each venue; three venues are three different quantities, not three observations of one. Metera serves those as single_source and names the venue, and the catalog's capReason explains why.

Origin: measured or derived

origin: "measured" means a source published this number. origin: "derived" means Metera computed it from measured inputs, and the scalar block shows the operation. A real example from spot.price:

json
"scalar": {
  "value": 71.2765,
  "origin": "derived",
  "op": "midpoint",
  "inputs": ["bidUsd", "askUsd"],
  "note": "midpoint of two measured quotes; no venue published this number and nobody traded at it"
}

Refusals

When Metera cannot reach what you asked for, it refuses instead of guessing. A refusal is a normal, structured response with a code and a reason, and it costs nothing. Your agent should treat a refusal as information, not as an error to retry.

Speed: safe or fast

speed is a preference about waiting, not about paying.

  • safe (default): full corroboration is attempted: fan-out to other providers and the live anchor comparison.
  • fast: Metera delivers as soon as the first source answers, usually single_source, and says so in the response's speed block. It never downgrades silently.

Asking for fast together with a minLevel that fast cannot reach is refused before anything is spent.

Anchoring

Two things share the word, and the response keeps them apart:

  • Anchor as evidence. The anchored level means the value agreed with a reference. anchorKind says whether that reference was read on-chain (on-chain) or from an independent signed oracle over HTTPS. Set requireOnChainAnchor: true to accept only chain state.
  • Anchor as record. Delivered results are hashed into a Merkle tree whose root is written on-chain in a memo, so anyone can later prove what Metera said and when. The trace's proof block carries the leaf, its hash, the path, the signature and the steps to verify it.

Traces

Every answer has a traceId. The trace is the full reasoning: candidates, attempts, checks, anchor, and proof. Reading a trace is free. See Traces.

Credits

Calls that deliver are billed in credits. Refusals, trace reads, polling and registering watches are free. See Billing.