TxFlow uses a Price-Time Priority matching engine (Central Limit Order Book / CLOB).
Orders are matched according to:
Best Price First — Highest bid (for sells) or lowest ask (for buys)
Oldest Order First — If multiple orders have the same price, the earliest order is matched first
When a taker order arrives:
Find the best maker order on the opposite side
Execute at the maker's price (price improvement for takers)
Repeat until the taker order is fully filled OR no more crossing orders exist
If unfilled, limit orders rest in the book; market/IOC orders are cancelled
Order Book:
2 BTC
$49,950
5 BTC
$49,900
$50,000
3 BTC
$50,050
4 BTC
Scenario: You place a Market BUY for 5 BTC.
Match 3 BTC @ $50,000 (oldest ask)
Match 2 BTC @ $50,050 (next best ask)
Order fully filled; average execution price = $50,020
Order Types
Market, Limit, and advanced orders
Liquidation
Detailed liquidation mechanics
Trading Fees
Trading and funding fees
Last updated 1 month ago