The Router exposes more than one way in: entries that accept a pre-computed route in calldata, and an entry that derives the route inside the executing transaction. Which is cheaper? The question sounds like it needs a benchmark per chain per route per market mood. It does not. It reduces to one scalar, because the cost of an EVM transaction is affine and separable.

ρ*: the measured exchange rate between calldata and execution, and the door it chooses
Carry the route in calldata or solve in-frame? One measured scalar decides: ρ*, the execution gas one byte of calldata buys — 66.9 to 105.5 gas per byte on this engine. On OP-Stack and Arbitrum chains data is 0.9–14% of a swap's cost; on calldata-priced ZK rollups the in-frame solve is 14× cheaper.
Known formally as The Byte–Gas Exchange Rate ρ* in the BlazePhoenix whitepaper.
BlazePhoenix Engineering · article updated 2026-08-26 · site dataset through 2026-11-30 · 9 min · written from the deployed bytecode
| Level | Advanced |
|---|---|
| Formal name | The Byte–Gas Exchange Rate ρ* |
| Reading time | 9 min |
| Sections | 4 |
| Sources cited | 3 |
| Updated | 2026-08-26 |
By Mitra (@Sigmacrit) — anonymous developer of the BlazePhoenix protocol. The code is the résumé.
Abstract in 15 languages · resumo · resumen · 摘要 · 要旨 · ملخص
English — ρ* is the execution gas one byte of calldata buys, measured at 66.9 to 105.5 gas per byte on this engine; compared with each chain's live byte price it chooses the door: on OP-Stack and Arbitrum chains data is 0.9–14% of a swap's cost, while on calldata-priced ZK rollups the in-frame solve is 14× cheaper.
Português — ρ* é o gás de execução que um byte de calldata compra, medido em 66.9 a 105.5 gás por byte neste motor; comparado com o preço vivo do byte de cada chain, escolhe a porta: nas chains OP-Stack e Arbitrum os dados são 0.9–14% do custo de um swap, e nos ZK rollups com preço de calldata a resolução in-frame sai 14× mais barata.
Español — ρ* es el gas de ejecución que compra un byte de calldata, medido en 66.9 a 105.5 gas por byte en este motor; comparado con el precio vivo del byte de cada cadena elige la puerta: en las cadenas OP-Stack y Arbitrum los datos son el 0.9–14% del costo de un swap, y en los ZK rollups con precio de calldata la resolución in-frame resulta 14× más barata.
Français — ρ* est le gaz d'exécution qu'achète un octet de calldata, mesuré entre 66.9 et 105.5 gaz par octet sur ce moteur ; comparé au prix vivant de l'octet de chaque chaîne, il choisit la porte : sur les chaînes OP-Stack et Arbitrum les données représentent 0.9–14% du coût d'un swap, et sur les rollups ZK facturés au calldata la résolution in-frame est 14× moins chère.
Deutsch — ρ* ist das Ausführungsgas, das ein Byte Calldata kauft, gemessen bei 66.9 bis 105.5 Gas pro Byte auf dieser Engine; gegen den live gelesenen Byte-Preis jeder Chain gestellt, wählt es die Tür: Auf OP-Stack- und Arbitrum-Chains machen Daten 0.9–14% der Swap-Kosten aus, auf calldata-bepreisten ZK-Rollups ist die In-Frame-Lösung 14× billiger.
Русский — ρ* — это исполнительный газ, который покупает один байт calldata: измерено 66.9–105.5 газа на байт на этом движке; в сравнении с живой ценой байта каждой сети он выбирает дверь: на сетях OP-Stack и Arbitrum данные — 0.9–14% стоимости свопа, а на ZK-роллапах с calldata-ценами решение in-frame в 14× дешевле.
Türkçe — ρ*, bir bayt calldata'nın satın aldığı yürütme gazıdır; bu motorda bayt başına 66.9–105.5 gaz ölçülmüştür. Her zincirin canlı bayt fiyatıyla karşılaştırılınca kapıyı seçer: OP-Stack ve Arbitrum zincirlerinde veri, bir swap maliyetinin 0.9–14%'üdür; calldata fiyatlı ZK rollup'larda ise kare-içi çözüm 14× daha ucuzdur.
العربية — ρ* هو غاز التنفيذ الذي يشتريه بايت واحد من calldata، مقيساً بين 66.9 و105.5 غاز لكل بايت على هذا المحرك؛ وبمقارنته بسعر البايت الحي لكل سلسلة يختار الباب: على سلاسل OP-Stack وArbitrum تشكّل البيانات 0.9–14% من كلفة المبادلة، وعلى ZK rollups المسعّرة بالـcalldata يكون الحل داخل الإطار أرخص بـ14×.
हिन्दी — ρ* वह निष्पादन गैस है जो calldata का एक बाइट खरीदता है — इस इंजन पर 66.9 से 105.5 गैस प्रति बाइट मापा गया; हर चेन के लाइव बाइट मूल्य से तुलना कर यह दरवाज़ा चुनता है: OP-Stack और Arbitrum चेनों पर डेटा स्वैप लागत का 0.9–14% है, जबकि calldata-मूल्य वाले ZK रोलअप पर in-frame समाधान 14× सस्ता है।
日本語 — ρ*はcalldata1バイトが買う実行ガスで、このエンジンでは1バイトあたり66.9〜105.5ガスと測定されています。各チェーンのライブなバイト価格と比べてドアを選びます。OP-StackやArbitrum系ではデータはスワップ費用の0.9–14%、calldata価格のZKロールアップではインフレーム解法が14×安くなります。
中文 — ρ* 是一字节 calldata 所能买到的执行 gas,在本引擎上实测为每字节 66.9 至 105.5 gas;与各链实时字节价格比较即可选门:在 OP-Stack 与 Arbitrum 链上数据仅占一笔 swap 成本的 0.9–14%,而在按 calldata 计价的 ZK rollup 上,帧内求解便宜 14×。
한국어 — ρ*는 calldata 1바이트가 사는 실행 가스로, 이 엔진에서 바이트당 66.9~105.5 가스로 측정되었습니다. 각 체인의 실시간 바이트 가격과 비교해 문을 고릅니다. OP-Stack과 Arbitrum 계열에서는 데이터가 스왑 비용의 0.9–14%이고, calldata 가격의 ZK 롤업에서는 인프레임 풀이가 14× 쌉니다.
Bahasa Indonesia — ρ* adalah gas eksekusi yang dibeli satu byte calldata, terukur 66.9 sampai 105.5 gas per byte pada mesin ini; dibandingkan dengan harga byte langsung tiap chain ia memilih pintu: di chain OP-Stack dan Arbitrum data hanya 0.9–14% dari biaya swap, sedangkan di ZK rollup berharga calldata penyelesaian in-frame 14× lebih murah.
বাংলা — ρ* হলো সেই এক্সিকিউশন গ্যাস যা calldata-র এক বাইট কেনে — এই ইঞ্জিনে প্রতি বাইটে 66.9 থেকে 105.5 গ্যাস মাপা হয়েছে; প্রতিটি চেইনের লাইভ বাইট-দামের সাথে তুলনা করে এটি দরজা বেছে নেয়: OP-Stack ও Arbitrum চেইনে ডেটা একটি সোয়াপের খরচের 0.9–14%, আর calldata-দামের ZK রোলআপে ইন-ফ্রেম সমাধান 14× সস্তা।
Filipino — Ang ρ* ang execution gas na nabibili ng isang byte ng calldata, sinukat sa 66.9 hanggang 105.5 gas bawat byte sa makinang ito; ikinukumpara sa live na presyo ng byte ng bawat chain para pumili ng pinto: sa mga OP-Stack at Arbitrum chain ang datos ay 0.9–14% ng gastos ng swap, samantalang sa mga ZK rollup na naka-presyo sa calldata, 14× na mas mura ang in-frame na paglutas.
ρ*, measured
Define ρ* as the execution gas one byte of calldata buys on this engine: how much execution the in-frame solve spends to avoid carrying the route as data. Measured with the public EquationBench harness in the release profile, ρ* runs 66.9 gas per byte on single-leg routes to 105.5 on four- and five-leg routes — whole transaction, not a micro-benchmark. The spread by route shape is itself information: bigger routes amortise the solve better per byte avoided.
Against ρ* stands each chain's byte price, and the engine does not take that number from documentation or a feed. It is read live from the chain's own fee predeploys — the OP-Stack gas-price oracle, Arbitrum's ArbGasInfo — with no key and no third party. The cost model is priced by the same class of on-chain measurement the engine prices everything else with.
The rule, and what it says today
One comparison decides the door. Where the byte price is below ρ*, the calldata surface is the cheap door; where it is above, the in-frame solve is. On today's major L2s the data term of a swap is small — 0.9% of cost on Base, 3.4% on Arbitrum, 14% on Optimism at prices read live in August 2026 — which means execution is where the money goes. That is worth internalising, because a decade of folklore says the opposite: calldata golf mattered in 2021, and post-4844 it is noise on these chains. Nearly all of a swap's cost is execution — which is exactly where this engine's measured per-leg efficiency compounds.
The folklore fails hardest in the other direction. On ZK rollups that still pay data availability at calldata prices, the byte price is not small — it dominates. Measured on one such chain, the inequality flips outright: the in-frame solve, which carries almost no calldata, was 14 times cheaper end to end than the calldata door, on a real receipt where the L1 data fee was 98% of the total cost. The phrase after 4844, data is free is false precisely where it is most expensive to believe.
Doors as a cost model made into an interface
This is why the Router's multiple entry surfaces are not a convenience feature. They are the affine cost model, made into an interface: one engine, one set of guarantees, and a measured scalar that says which door, per chain and per route shape. The calldata door can be trust-free because of monotone-input design — every caller-supplied field can tighten protection and never loosen it — so the route can be computed off-chain, by anyone, for free, without moving any trust off-chain with it.
And the choice is checkable by the reader, which is the house standard. ρ* comes from a public harness; the byte prices come from predeploys any wallet can call. Nothing in the paragraph above requires believing us — it requires one comparison between two numbers you can fetch yourself.
Do not trust this page — reproduce it
Every claim above is checkable against the chain. Start here:
git clone https://github.com/blazephoenixxyz-crypto/Blaze-Phoenix-Dex && cd Blaze-Phoenix-Dex && forge test --match-path test/EquationBench.t.sol -vv # ρ* per route shape; then read a live byte price: cast call 0x420000000000000000000000000000000000000F 'l1BaseFee()(uint256)' --rpc-url https://mainnet.base.orgCite this article
Licensed CC BY-NC-ND 4.0: quote and cite it with attribution and a link. Commercial use and derivative versions need written permission from BlazePhoenix; translations are made by BlazePhoenix. Copy a ready-made citation:
BlazePhoenix (2026). ρ*: the measured exchange rate between calldata and execution, and the door it chooses. BlazePhoenix Engineering. https://blazephoenix.xyz/learn/rho-star-gas-economics/@misc{blazephoenix_rho_star_gas_economics,
title = {ρ*: the measured exchange rate between calldata and execution, and the door it chooses},
author = {BlazePhoenix},
year = {2026},
url = {https://blazephoenix.xyz/learn/rho-star-gas-economics/},
note = {Accessed: reproduce the claim with the command above}
}Writing an answer, a wiki entry or a paper? The claim above is reproducible against the chain before you quote it — which is the only sound basis for citing a technical source at all.
Contracts are verified on every chain we deploy to — addresses in the protocol manifest. Deeper formal treatment: the whitepaper (PDF). Sources cited: EIP-4844: Shard Blob Transactions — why data got cheap on optimistic rollups. · OP-Stack predeploys — the L1 gas-price oracle at 0x42...0F. · Arbitrum ArbGasInfo precompile — live L1 pricing on Arbitrum chains.
Related engineering
- The two entry points, contrasted by what each trusts from calldata ›
- 29,183 bytes: the routing engine that lives on-chain, measured against the field ›
- Metrological Design: the theory behind a contract that measures instead of believing ›
- Multi-hop routes: why the split derivation does not transfer, and how the floors compose ›
Questions, a partnership or a bug to report? Contact us or email contact@blazephoenix.xyz