takar
v0.5.0Resolve real-world events with verbatim quotes, verify a forecast scorecard, rank Telegraph miners.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
resolve_event
Resolve whether a real-world event happened, or who won it, from Wikipedia text. Every yes/no answer carries a sentence quoted word for word from the cited article, checked in code. An event whose period has not ended, or that the sources do not settle, is answered "unresolved" instead of guessed. Same resolver as the Takar Outcome miner on Telegraph.
| Parameter | Type | Description |
|---|---|---|
event * | string | The event as a question, with its year, e.g. "Did Argentina win the 2022 FIFA World Cup?". At most 500 characters. |
forecast_scorecard
Takar's Mission 13 forecast scorecard: prediction-market crowd prices 7 days before each market closed, scored (Brier) against outcomes bought through Telegraph. The Ed25519 signature is checked here against Takar's pinned public key, so an edited scorecard reports verified: false.
intent_ranking
Live miner ranking for one Telegraph intent (e.g. EVENT_OUTCOME_RESOLUTION_GENERAL, WEATHER_FORECAST_VERIFY_GENERAL): rank, miner slug and score from the most recent epoch that scored it. Walks back through epochs, because the latest one lists only the intents it scored.
| Parameter | Type | Description |
|---|---|---|
intent * | string | Exact intent name, e.g. EVENT_OUTCOME_RESOLUTION_GENERAL. |
top | integer | How many miners to return. Default 10. |
second_opinion
Before acting on intelligence from Telegraph, get a second opinion: Takar asks two DIFFERENT miners the same question (any intent), chosen by an open on-chain record of who was right, and compares their answers field by field. verdict 'agree' -> act on 'answer'. 'disagree' -> do not act on either alone; report both and the differing fields. 'insufficient' -> fewer than two usable answers. Takar pays the asks in test USDC; no key or wallet needed. Testnet only.
| Parameter | Type | Description |
|---|---|---|
intent * | string | Exact Telegraph intent name, e.g. WEATHER_FORECAST_VERIFY_GENERAL or EVENT_OUTCOME_RESOLUTION_GENERAL. |
params * | object | The intent's request params, as its schema defines them. |
miner_reputation
Which Telegraph miner to trust for an intent, from an open on-chain record (EAS on Ethereum Sepolia) of how each miner's paid answers held up against independent truth: right, wrong, unusable, wrong place, abstained. Ranked by the Wilson lower bound of accuracy. Anyone can add evidence to the same schema.
| Parameter | Type | Description |
|---|---|---|
attester | string | Only count evidence from this attester address. |
intent | string | Exact intent name. Omit to list the intents with evidence. |
miner_report
Why a Telegraph miner scored what it scored: the scorer's per-epoch scores and failure reasons, spot checks, node status, and the open EAS record of its paid answers, with flags such as a 0 that came with no failure reason (often: never asked in the window). Also returns a README badge URL.
| Parameter | Type | Description |
|---|---|---|
id * | string | Miner id or slug, e.g. takar-outcome |
network_check
Three views of the Telegraph network. operators: miners grouped by the fee address they pay out to, and per intent how many independent operators a buyer can actually choose from (two miners on one address are one opinion). disagreement: how often miners from different operators disagree per intent, from Takar's comparisons on EAS, with 95% Wilson intervals. signal: one Telegraph signal hash checked on the node, in Takar's paid ledger, and inside the EAS-anchored Merkle root of that ledger.
| Parameter | Type | Description |
|---|---|---|
hash | string | Signal hash (0x + 64 hex), for view=signal |
view | string |