DEV Community

BlazePhoenix
BlazePhoenix

Posted on

The route is computed on-chain, inside the swap transaction: how BlazePhoenix quotes DEX trades

Most DEX aggregators compute the route on a private server and hand you a transaction to sign. Between the quote and the execution the pool state can move, and the server's answer is something you have to take on trust.

BlazePhoenix is an on-chain DEX aggregator on Base, Ethereum, Optimism, Arbitrum and Robinhood Chain that removes that step. The route is computed inside the transaction that executes it. There is no off-chain router to trust.

What the contract enforces

  • Minimum-out: the swap reverts unless you receive at least the minimum you signed.
  • Surplus to the user: any execution surplus goes to you, not to the router.
  • Verifiable quotes: the price comes from the Quoter contract, so anyone can reproduce it with a plain eth_call on their own RPC. Nothing is proxied through our servers.

Try it, no API key and no signup

  • SDK: npm i @blazephoenix/sdk
  • MCP server for AI agents: https://blazephoenix.xyz/mcp. The prepare_quote tool returns the exact eth_call to run on your node; decode_quote turns the result into the quote, a solvency check and verified calldata.
  • Raw eth_call against the Quoter on your own RPC.

Status: pre-launch. An independent external audit is scheduled before launch.

Links: https://blazephoenix.xyz · https://blazephoenix.xyz/llms.txt · whitepaper https://blazephoenix.xyz/docs/BlazePhoenix_Whitepaper.pdf (DOI 10.5281/zenodo.23084091) · X @blazephoenyx · contact@blazephoenix.xyz

Top comments (0)