TIRIO / BLOG

Notes from the router

Engineering deep dives, new liquidity integrations and product updates from the Tirio team.

FEATUREDENGINEERING

How fast is a Tirio quote? Measured latency on BNB Chain

Median and 90th-percentile response times of Tirio's /price and /quote across 185 BNB Chain pairs, measured on production from one client on 2026-10-02.

Oct 1, 2026 · 3 min read
A signature dropped into a highlighted slot inside a block of transaction calldata.
INTEGRATIONS

Gasless approvals through the Tirio API: EIP-2612 and Permit2

Pass a sender and each quote says whether the wallet must approve or can just sign. How to handle permit and approval and splice the signature.

Oct 1, 2026 · 6 min read
Two columns of numbers, one from Tirio's engine and one from the chain, with every row marked equal.
ENGINEERING

Bit-exact: how we check our pool math against the chain

A quote is only as good as the router's copy of each pool's math. How we port AMM and tick math in exact integers and check it against the chain.

Oct 1, 2026 · 6 min read
Four rows of blocks over six seconds, getting denser from one block every 3 seconds to one every 0.45 seconds.
GUIDES

BNB Chain block time in 2026: 0.45 seconds, and what it means for your swap

BNB Chain now makes a block every 0.45 seconds and finalises in about 1.1. How it got there, how to measure it yourself, and what fast blocks change for quotes.

Oct 1, 2026 · 6 min read
A rising bonding curve that ends at a dashed graduation line, followed by a DEX pool drawn as two overlapping circles.
GUIDES

Bonding-curve launchpads on BNB Chain: buying before and after graduation

How four.meme, Flap and Genius.fun price a new token on a curve, what graduation moves to PancakeSwap, the fees involved and what changes for you as a trader.

Oct 1, 2026 · 7 min read
A contract's source code under a magnifying glass, next to a checklist of source, owner, tax, holders and liquidity.
GUIDES

How to check a BEP-20 token contract before you buy

Anyone can deploy a token with any name. A BNB Chain checklist: the right address, verified source, owner powers, proxies, taxes, holders and liquidity.

Oct 1, 2026 · 7 min read
Two stacked bars labelled A and B, each split into net output, fee and gas, with a dashed line showing that B delivers more net output.
GUIDES

Why DEX aggregator quotes differ, and how to compare them fairly

Same pair, same amount, different numbers. Fees, gas, timing, simulation and positive slippage policies explain most gaps. Here is how to compare fairly.

Oct 1, 2026 · 9 min read
A bar chart of liquidity across prices, with the bars inside the active range highlighted and a dashed line marking the current price.
GUIDES

Concentrated liquidity and ticks: why V3 and V4 quotes move the way they do

Concentrated liquidity puts depth in price ranges, so a pool can be deep at one price and thin just past it. How ticks work and what they mean for quotes.

Oct 1, 2026 · 7 min read
Two routes between the same tokens: an exact-in route computed left to right and an exact-out route computed right to left from a fixed target.
ENGINEERING

Exact-in vs exact-out: routing a swap backwards

Selling an exact amount and buying an exact amount sound symmetric. Exact-out routing runs backwards, rounds the other way and settles differently.

Oct 1, 2026 · 6 min read
A stack of tokens flows to the right through a gate where a slice is diverted into a bucket labelled tax, leaving a smaller stack received.
GUIDES

Taxed tokens: why fee-on-transfer swaps fail and how to fix them

INSUFFICIENT_OUTPUT_AMOUNT, Pancake: K, TRANSFER_FROM_FAILED: what these swap errors mean, why taxed tokens cause most of them and how to swap them safely.

Oct 1, 2026 · 7 min read
BNB on the left flows to USDT on the right through five pools, with thicker lines for the paths that carry a larger share.
GUIDES

How a DEX aggregator finds and splits a route

From finding pools to the transaction you sign: how an aggregator prices pools, searches paths, splits an order and checks the result, with real numbers.

Oct 1, 2026 · 7 min read
An order panel with Limit, Stop and DCA tabs next to a price line that crosses a limit level.
PRODUCT

Limit, stop-loss and DCA orders on tirio.io: a step-by-step guide

Orders are live on BNB Chain. How to place a limit order, a stop-loss with take-profit and a DCA schedule, what each field does and what it costs.

Oct 1, 2026 · 8 min read
A swap quote card with rows for rate, price impact, minimum received, fees, network fee and route, with minimum received highlighted as the amount enforced on chain.
GUIDES

How to read a DEX swap quote, line by line

Rate, price impact, minimum received, fees, network fee and route: what each line of a swap quote means, worked through on a real BNB to USDT quote.

Oct 1, 2026 · 8 min read
A price line rising across a dashed limit price, with a fill marker at the crossing and evenly spaced DCA slices along a timeline below.
GUIDES

On-chain limit orders, stops and DCA: escrow, keepers and price floors

A swap fills now. An order waits for your terms. How on-chain limit, stop and DCA orders work, who fills them, what the contract guarantees and what it costs.

Oct 1, 2026 · 9 min read
A wallet sends one transaction to the Router, which hands the route to the Executor and checks the recipient's balance before anything is final.
ENGINEERING

One transaction, one guarantee: how a Tirio swap settles

A split, multi-hop route settles in a single transaction that either delivers at least your minimum or does nothing. How the Router and Executor make that hold.

Oct 1, 2026 · 6 min read
An API request turning into a place transaction, with an order card showing its floor, expiry and order book flag.
INTEGRATIONS

Placing and managing on-chain orders through the Tirio API

Build limit, stop and DCA orders into your app: the place endpoint, its preview, verifying calldata byte for byte, and reading, cancelling and editing.

Oct 1, 2026 · 7 min read
A swap transaction splitting off a small partner fee that flows to a partner address in the same transaction.
INTEGRATIONS

Earn from your swap flow with Tirio partner fees

Add a fee of up to 10 % to swaps and orders you route through Tirio, paid to your address in the same transaction. How to set it and verify it.

Oct 1, 2026 · 6 min read
The constant-product curve x times y equals k, with the spot price, a larger fill further along the curve and a short stretch marked as slippage.
GUIDES

Price impact vs slippage vs positive slippage, with worked numbers

Price impact comes from your own order, slippage from other people's trades. A worked pool example shows what each one costs and how to set your tolerance.

Oct 1, 2026 · 8 min read
Three transactions in one block: a front-run, the user's swap and a back-run, with the price rising before the swap and falling after it.
GUIDES

Sandwich attacks on BNB Chain: how they work and how to limit them

A sandwich bot buys right before your swap and sells right after it. How it works, what your slippage setting caps, and what BNB Chain and private RPCs changed.

Oct 1, 2026 · 8 min read
A code editor next to a flow of three requests: price while typing, quote on review, and the signed transaction to the Router.
INTEGRATIONS

Integrating the Tirio swap API with viem: price, quote, check, send

A working TypeScript integration of Tirio's public swap API: /price while the user types, /quote before signing, the checks to run, then send.

Oct 1, 2026 · 7 min read
A swap split into labelled parts: a small Tirio fee taken from the input, pool fees inside the route, and a capped band above the quote.
PRODUCT

Tirio's fees, plainly: what you pay on a swap, an order and the API

3 bps on tirio.io, no Tirio fee on the API, partner fees, positive slippage kept up to 1 % and 10 bps on orders. Every fee, with worked numbers.

Oct 1, 2026 · 6 min read
A wallet approves Permit2 once, then signs each swap for a router, with a clock marking that the signed allowance expires.
GUIDES

Token approvals, EIP-2612 permits and Permit2: what you are actually signing

Approve, permit or Permit2? What each lets a contract do with your tokens, how long it lasts, how signature phishing works and how to revoke old approvals.

Oct 1, 2026 · 8 min read
Three linked cards labelled token, pair and venue, each showing a contract address and a small route.
PRODUCT

Token, pair and venue pages: look up a route before you swap

Every listed token, its main pairs and every venue Tirio routes through have their own page, with contract addresses and a live indicative route.

Oct 1, 2026 · 5 min read
A trading screen with a candlestick chart, an order book with bids and asks, a depth curve and an order panel.
PRODUCT

A tour of the trade page: chart, order book, depth and trades

A pair's chart, Tirio's order book, pool depth, recent trades and an order panel on one screen. What each panel shows and where its data comes from.

Oct 1, 2026 · 6 min read
A route on the left passes through a simulation step against the latest block before becoming a signed quote on the right.
ENGINEERING

Why every quote you sign is simulated on chain first

Before a Tirio quote reaches you, the complete swap runs against the latest block. What that simulation checks, what it catches and what it guarantees.

Oct 1, 2026 · 6 min read
BNB is wrapped into WBNB and routed to another token, all inside one transaction.
PRODUCT

Swap native BNB, no wrapping required

One less approval, one less transaction: Tirio wraps and unwraps BNB inside the route.

Sep 25, 2026 · 1 min read
A single pool manager holding a grid of pools, a few of them with hooks attached.
INTEGRATIONS

Routing through PancakeSwap Infinity, hooked pools included

Infinity CL and Bin pools and pools with hooks: what Tirio quotes with its own math, what it prices on chain, and what it leaves out.

Sep 25, 2026 · 2 min read
An output curve that flattens as the trade grows, the live quote of an on-chain market maker.
INTEGRATIONS

Prop-AMMs join the router: Tessera, WOOFi, LunarBase, Metric

On-chain market makers price from their own inventory. Here is how Tirio lets them compete with AMM pools in the same route.

Sep 25, 2026 · 2 min read