PerformanceBlog
Tempo MCP serverGive agents search and read tools for Tempo docs
Skip to content
LogoLogo

Fee AMM Overview

The Fee AMM (Automated Market Maker) is a dedicated system for converting transaction fees between different stablecoins. It enables users to pay fees in any supported stablecoin while allowing validators to receive fees in their preferred token.

How the Fee AMM converts stablecoin fees

When a user pays fees in a stablecoin that differs from the validator's preference, the Fee AMM automatically converts the payment:

  • User pays: 1.0 of their chosen stablecoin
  • Validator receives: 0.9970 of their preferred stablecoin
  • Liquidity providers earn: 0.003 (0.3%) as fees

This conversion happens automatically at the end of each block through batched swaps, preventing MEV attacks like sandwiching.

Fee AMM vs. Exchange

Tempo has two stablecoin-swapping systems that are easy to confuse. They serve different purposes:

Exchange (DEX)Fee AMM
PurposeUser-facing stablecoin tradingConverting transaction fees into validators' preferred tokens
Who initiates swapsUsers and appsThe protocol, automatically (plus arbitrageurs rebalancing)
PricingMarket-driven orderbook (price-time priority)Fixed conversion price
LiquidityLimit and flip orders resting in the orderbookLP deposits into per-pair fee pools
ContractStablecoin DEX precompile (0xdec0…0000)FeeManager precompile (0xfeec…0000)
Use it forSwaps, prices, orderbook depth, fillsLetting users pay fees in any stablecoin

If you want to trade stablecoins or read market data, use the Exchange. If you want to enable fee payments in your stablecoin or provide fee-conversion liquidity, you're in the right place — continue below.

Learn more about fee conversion