How it works

Latency

Measured from the blocks, per action, from the swap that crossed the trigger to the callback that acted.

The method. For every action Reactive triggered, latency is the callback's block time minus the origin swap's block time, on the action chain. Base Sepolia stamps milliseconds (timestampMs, 200 ms blocks); Unichain Sepolia and Lasna stamp whole seconds, so loops that touch them read in seconds. The indexer computes it for every action, live at /latency; contracts/script/proof.py does the same for one action from the command line.

median, Base swap → Base action (68 loops)
1.2 s
p90, same loops
1.8 s
Unichain swap → Unichain action
≈ 2 s
a trigger on one chain acting on the other
1.2–1.4 s
LoopLoopsMedianp90
Base Sepolia swap → Base Sepolia action651.2 s1.8 s
Unichain Sepolia swap → Unichain Sepolia action19≈ 2 s≈ 3 s
A rule saved past its trigger → action (Unichain)3≈ 2 s≈ 2 s
Base Sepolia swap → Unichain Sepolia action31.6 s2.6 s
Unichain Sepolia swap → Base Sepolia action1≈ 1.4 s—

Every rule type, measured

Each loop opens a fresh position on a bench pool with one rule (openWithRules), moves the price past its trigger with the price mover, and times the swap to the Executor's callback. The rows are in testnet-loops.json; Unichain Sepolia stamps whole seconds.

RuleSwap on → action onLoopsEach, swap to callbackOne of them
Stop-lossBase Sepolia → Base Sepolia21.4 s, 1.6 sswap · reaction · callback
Stop-lossUnichain Sepolia → Unichain Sepolia32.0 s, 2.0 s, 2.0 sswap · reaction · callback
Take-profitBase Sepolia → Base Sepolia31.2 s, 1.2 s, 1.4 sswap · reaction · callback
Trailing closeBase Sepolia → Base Sepolia21.6 s, 3.0 sswap · reaction · callback
Stop loss (an order, sell at a price)Base Sepolia → Base Sepolia21.0 s, 1.2 sswap · reaction · callback
Follow the priceUnichain Sepolia → Unichain Sepolia32.0 s, 3.0 s, 3.0 sswap · reaction · callback
Stop-loss watching the other chainBase Sepolia → Unichain Sepolia21.6 s, 2.6 sswap · reaction · callback

Fire one yourself

The landing's Run it now moves a test pool's price on Base Sepolia; the Watcher on Lasna reacts to that swap and calls back the Executor, which re-ranges a position in the demo wallet (its Keep-in-range rule moves to the new position and waits for the next press). The card lights each transaction as it lands and shows the time between the swap's block and the callback's, as Base stamps them. The first press took 800 ms.

The press is ours, sent from a server key; the rule it sets off runs on-chain. Each press costs the Watcher about 0.077 lREACT, so there's one at a time, a cooldown, a daily cap (never more than the rule's own 24 a day), a per-network cap, and it pauses itself when the Watcher's fuel runs low. Why the second matters.

Against a bot polling every second

The same five swaps each set off one Reactive order and one order on a bot's own Executor instance, from the same machine and RPC, with the same action code (apps/baseline).

SamplesMedianp90Range
Reactive51,200 ms1,800 ms1,000–1,800 ms
Bot, 1 s polling51,000 ms2,200 ms600–2,200 ms

The full loop passes through another chain and back, and still lands within 200 ms of the most aggressive practical bot at the median, with a tighter tail (p90 1.8 s against 2.2 s) and no server to run, pay for or breach. A bot that polls faster spends more and still needs a server running.

The paired run is five swaps, on the previous generation of contracts; the 22-loop figures above are from every generation on record.

On this page