Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.frenflow.com/llms.txt

Use this file to discover all available pages before exploring further.

Zero-Block Execution

What is Zero-Block?

Zero-block means your copy trade executes in the same blockchain block as the leader’s trade — giving you the same (or very close) entry price. No delay, no from waiting.

How It Works

Traditional copy trading detects a trade after it’s confirmed on-chain, then places your copy. By then, the price may have moved. FrenFlow uses detection — monitoring pending transactions before they’re included in a block:
1

Leader submits trade

The leader’s transaction enters the Polygon mempool (pending, not yet confirmed).
2

FrenFlow detects it

The mempool monitor catches the transaction 0–5 seconds before blockchain confirmation.
3

Your copy executes

FrenFlow immediately places your copy trade, targeting the same block window.
4

Both settle together

Both the leader’s trade and your copy settle in the same or next block (~12 seconds).

Speed Breakdown

StageTime
Leader trade → Detection~0–5 seconds (mempool)
Detection → Copy order placed~1–3 seconds
Total end-to-end~3 seconds
For comparison, systems that wait for on-chain confirmation typically take 15–30 seconds — by which time the price has already moved.

Multiple Detection Layers

FrenFlow runs three detection methods simultaneously — Mempool Monitor, CLOB Stream, and On-chain Logs. The fastest one wins, and duplicates are automatically prevented with distributed locks. See The Pipeline for a full breakdown.

When Zero-Block Isn’t Possible

In some cases, your copy may execute in a later block:
  • High network congestion — More transactions competing for block space
  • Thin orderbook — Not enough liquidity at the leader’s price level
  • High slippage — If the price moved too much, FrenFlow may use a limit order instead (if you have limit fallback enabled)
  • Balance checks — The brief time needed to verify your USDC balance can add a few hundred milliseconds
Zero-block execution is a goal, not a guarantee. FrenFlow optimizes for the fastest possible execution, but blockchain conditions vary. Most copies execute within 3 seconds of the leader’s trade.