Docs · method v1 · also at /documentation

How inb4 counts. In full.

Sources, method v1, what runs on Solana, how to check it, what $INB4 does in the product, and what is still thin. Every number on an inb4 card can be recomputed from Kalshi's public API by anyone. This page says how, and where it cannot be checked yet.

[01]What inb4 does

inb4 measures when a prediction market moved compared with the headline about it.

Each time a tracked news account posts a breaking headline (first of all @Kalshi), inb4 finds the Kalshi market about the same event, reads that market's public one-minute price history, and reports how much of the move happened before the post and how many minutes before.

It also watches liquid markets for sharp moves that have no headline yet, alerts holders within seconds, and writes each alert's hash to Solana so anyone can check later that the alert existed before the news.

inb4 never says who traded or why. Kalshi's order book is anonymous. Cards carry timestamps and changes in points, and end with one fixed line: Just timestamps. Not advice. DYOR.

[02]How it works

Sources

Posts come from tracked X accounts, with T taken from the post's X timestamp to the second. Prices come from Kalshi's public market data, Trade API v2, one-minute candlesticks. Each report lists the exact API call it used and the SHA-256 of the candles it used. inb4 is not affiliated with Kalshi.

Matching

A model (Claude, by Anthropic) reads the post and picks the Kalshi market about the same event, with a one-line reason. It can be wrong, and it can find nothing: "no matching market" is a valid answer and is shown as such.

Calculation

Method v1 runs on the 76 one-minute mids from T0 − 60 to T0 + 15. The definitions are under Method v1; the same code runs in your browser on /verify.

Radar

A market is flagged when its mid moved sharply within a few minutes, with both sides quoted, a tight spread and no matching headline from tracked sources. Holders get alerts live; the public board and X get them 15 minutes later.

Proof

Radar alerts are hashed into one Merkle root per batch, and the root is written to Solana in a Memo transaction within about a minute. Each alert has a proof id; its JSON is public. /verify recomputes the hash in your browser and reads the transaction's slot time from a Solana RPC.

[03]Method v1

Mid p(t)
(yes bid close + yes ask close) / 2, in cents, per minute. If one side is missing or the spread is over 10¢, that minute uses the last trade and is marked last trade. If neither exists, the previous value carries forward, marked stale. A minute missing from Kalshi's candles keeps the previous quotes, marked carried.
T, T0
T is the post's X timestamp. T0 is the minute end at or before T.
Pre
p(T0) − p(T0 − 60)
Post
p(T0 + 15) − p(T0)
Total
pre + post
Lead time
Only when |total| is 5 points or more: the first minute from T0 − 60 at which half of the total move had happened, counted in minutes before T0.
Labels
MOVED BEFORE when the lead is 2 minutes or more. MOVED AFTER when half the move came after the post. MOVED WITH when half the move landed in the two minutes up to the post, where one-minute data cannot place it before or after. NO CLEAR MOVE when |total| is under 5 points. No verdict words, ever.

Worked example, from a real record

Reading a record from the engine.

The full definitions as the engine serves them, the radar rule and a way to try other limits are on /method.

[04]What runs where

Most of inb4 runs off-chain and is checkable by recomputing. One thing is written on-chain: the proof that an alert existed at a given minute.

PartRunsOn SolanaHow you check it
Reading posts and candlesinb4 servernoRe-fetch the post and the listed candle call
Matching a post to a marketmodel on the inb4 servernoEach report shows its reason; judge it yourself
Pre, post, total, lead, labelinb4 server, method v1noRecompute from the candles, in your browser or anywhere
Radar detectioninb4 servernoThe rule is public; each alert's JSON is public
Alert proofone Memo transaction per batchyes: the Merkle root and its slot timeHash the alert, walk its Merkle path, read the slot time
Wallet linka tiny SOL transfer with a memo codethe transfer, yesThe transfer is public; the link itself is kept by inb4
Holdings for live radarbalance read every 60 secondsthe balance, yesAny explorer shows the same balance

Solana enforces that a root was written at a slot. It does not judge what the alert says; that is what the public JSON is for.

[05]Check it yourself

Re-fetch the candles of a report

Every report carries its exact public call. No key is needed.

shell
Reading a record from the engine.
From the responseUsed for
end of each one-minute periodplacing the minute on the T0 − 60 to T0 + 15 grid
yes bid close, yes ask closethe mid, when both exist and the spread is 10¢ or less
last trade price closethe minute's price otherwise, marked last trade

Then compare

  1. Hash JSON.stringify(response.candlesticks) with SHA-256 and compare it with the report's published hash.
  2. Build the 76 mids with the rule above.
  3. Recompute pre, post, total and lead. /verify does both in this browser: paste the response and it prints = or ≠ for each field.
  4. For a radar alert: hash its canonical JSON, walk the Merkle path to the root, find the Memo transaction and read its slot time. /verify does that too.

When a fetched candle set differs from the published hash, the report is wrong or the market's history changed; both are worth a reply to @inb4fun with the report code.

[06]Speed

Targets, next to the medians the engine measured over the last 24 hours (published at /api/health).

StepTarget, medianMeasured, 24 h
Headline posted to card posted45 s or less-
Tag to reply10 s or less-
Radar move to holder alert10 s or less-
Alert to confirmed memo90 s or less-

The recorded back-test

[07]Token and supply

$INB4 is a token on Solana. The board and tag replies are free and equally fast for everyone. Holding $INB4 changes what you get in the product:

  • Live radar alerts, instead of 15 minutes late.
  • A higher API rate, live instead of delayed.

Holdings are re-checked every 60 seconds for linked wallets. Wallets are linked by a tiny transfer with a memo code on /bind, never by connecting a wallet to this site.

Mint address
Set at launch. No token exists yet.
Total supply
Set at launch.
Mint authority
Set at launch.
Allocation and unlocks
Set at launch, and listed here.
No token exists yet. There is no contract address, no supply and no unlock schedule to show. Any token claiming to be $INB4 before this page shows an address is not it.

[08]API

Everything on this site comes from a public JSON API on the same address. /api lists every open endpoint.

EndpointWhat it returns
/api/healthreceiving state, watched markets, today's counts and costs, stage medians
/api/headlinesrecent headlines with market, label and changes
/api/h/<code>one report, every matched market, the candle call and its SHA-256
/api/radarradar alerts, 15 minutes late without a key
/api/proof/<id>a proof document: alert JSON, leaf, Merkle path, root, memo, slot
/api/methodmethod v1 definitions and constants

Without a key: 30 requests a minute per address, radar 15 minutes late.

[09]Thin parts, said plainly

  • Matching is done by a model and can be wrong or find nothing.
  • One-minute data cannot place a move inside the two minutes around a post; those reports say MOVED WITH.
  • A follow-up post on a market already in the news mostly measures the earlier news; reports mark it.
  • Thin markets carry many unchanged minutes forward. Each report counts its last-trade, stale and carried minutes.
  • Kalshi's order book is anonymous. inb4 cannot know who traded and does not guess.