Matcha

Matcha: DEX Aggregation for Token Swaps

Last updated:

Matcha is a wallet-connected decentralized exchange (DEX) aggregator from 0x that compares liquidity sources for token swaps across supported blockchains. Its principal functions include market swaps, limit orders, cross-chain trades, and token discovery. Standard trading charges network gas separately, while eligible Auto trades include that cost in the quote. Advanced orders add price-triggered market swaps. Choosing among these functions means distinguishing the desired exchange rate, execution timing, and destination network.

Market swaps, limit prices, and automatic triggers

Market swaps use an available quote now; limit orders set an exchange rate, and Advanced orders trigger market swaps when prices reach a target.

Matcha Standard submits a regular onchain swap with network gas paid separately. Auto delegates submission and gas handling to a relayer. On eligible trades, the network cost comes from one of the traded tokens.

Native assets have different eligibility rules from contract tokens. On the EVM Auto path, users can buy native assets, while selling them requires a wrapped version or Standard mode. EVM means Ethereum Virtual Machine, the execution environment used by Ethereum and compatible networks. An ordinary swap's availability does not establish eligibility for every order type.

Limit orders specify an exchange rate and can fill partially before expiry. Their documented scope covers ERC-20 contract tokens on supported EVM networks, excluding native assets. A price condition may remain unfilled when no taker executes the order.

Advanced stop-loss and take-profit orders use Definitive's Flash API to submit market swaps after a price trigger. A stop-loss activates when the sell token's price falls to or below its trigger; a take-profit activates when that price rises to or above its trigger. The trigger is not a guaranteed fill price. These orders require an expiry and supported non-native tokens, and volatile or thin markets can produce a different execution price.


Pool liquidity and market-maker quotes

Matcha combines automated market maker (AMM) pools with request-for-quote (RFQ) liquidity from professional market makers. Pool-based pricing and a maker's quoted exchange terms give the router different sources to compare.

0x's routing engine can split a single trade across multiple liquidity sources. It can also use intermediate tokens when a direct pair has insufficient liquidity. A multihop route connects token exchanges through those intermediate assets; a split route distributes the trade between sources. Both mechanisms can appear in the same proposed swap. Additional hops remain subject to the available liquidity and execution costs.

Price impact describes how a trade changes the pool price as it consumes liquidity. Slippage describes the difference between an expected price and the executed price. The slippage tolerance sets an acceptable execution boundary. A swap will not execute if the resulting price is worse than the slippage tolerance permits. Comparisons with a direct DEX quote need the same token pair and trade size, with gas and other costs included, because routing complexity can change execution expenses as well as the proposed exchange rate.


Approval and settlement in a same-chain swap

A same-chain swap separates trade selection, quoting, token authorization, and settlement, even when the interface groups some actions into one flow. An approval gives a contract spending permission. Settlement executes the exchange.

Table: Approval and settlement in a same-chain swap
Stage What happens Token and network scope
Trade selection Select the sell token, buy token, and trade amount. Both assets belong to the selected network for this same-chain flow.
Route and quote Review expected output, charges, and slippage tolerance. The route uses available liquidity for the selected pair and network.
Token authorization Complete any spending authorization required by the chosen mode. ERC-20 inputs use contract allowances; requirements depend on existing permission and mode.
Swap settlement Submit the swap, or let Auto submit it, and confirm successful onchain execution. This flow stays on one network; movement between networks needs a cross-chain route.

A confirmed approval establishes permission, not an exchange. Matcha uses 0x's AllowanceHolder for Standard ERC-20 approvals. Gasless authorization can differ, while successful swap settlement records the actual token transfers.

Swap fees and gas charges

The listed same-chain swap fee for Standard and Auto is 0.25% for most pairs, with no swap fee when both tokens are stablecoins. Standard adds a separate network gas charge. Auto includes the network cost in its quote, so a gasless trade can still carry both network costs and a swap fee.

Limit orders have a listed swap fee of 0.02% for stablecoin pairs and 0.25% for other supported pairs. Cross-chain swaps have a separate schedule: 0.04% for stablecoin-to-stablecoin trades and 0.40% for other pairs. Network gas applies when a limit order fills and when a cross-chain swap executes. These charges belong to their respective trade types; a same-chain exemption does not extend to bridging.

Token transfer taxes add a different cost. A token contract can deduct part of a transfer for its project. Matcha supports buy and sell tax detection through 0x, and that tax belongs to the token's mechanism rather than the platform's swap fee. The applicable tax can alter the amount available for settlement.

Matcha may retain extra output from Standard and Auto market swaps that execute better than quoted; this trade-surplus feature excludes limit orders and cross-chain trades. Some trades also use order flow auctions, in which market makers compete to execute the trade and Matcha may earn rebates. Fee schedules can change, and the trade confirmation displays the applicable charges for the selected route.


Cross-chain swaps and network coverage

Cross-chain swaps combine token exchange with movement between blockchains, including supported routes between EVM networks and Solana, where availability depends on the selected assets, networks, and bridge liquidity. Matcha integrates bridging infrastructure into the trading interface; it does not make every listed token available on every route. Completion time reflects congestion, network costs, and available liquidity. A destination asset's network matters independently of its ticker, because a same-chain swap cannot move a balance onto another blockchain.

Graphic: Matcha: Cross-chain swaps and network coverage
Illustration: Cross-chain swaps and network coverage

View image file


Token discovery and contract risk signals

Token discovery in Matcha combines searchable token pages with market tables that group assets and offer filters for networks and onchain metrics. The interface supports searching ERC-20 tokens by name or contract address. A contract address distinguishes assets that share a name or ticker, while the selected network determines which contract that address identifies. Discovery data can include holder counts, launch timing, and price movement. Available liquidity and trading restrictions determine which swaps the interface can offer for a token.

The Liquidity Score describes trading depth around the spot price. Its measurement band covers liquidity within 2.5% of the spot price for most tokens and 3.5% for Zora coins. Those bands describe the depth measurement rather than setting the slippage tolerance for a trade. A price chart and a liquidity measure therefore answer different questions. The chart describes recorded price movement; depth indicates how much liquidity sits near that price. Neither gives a fixed output for an arbitrary trade size.

The security panel displays third-party token-code risk checks from GoPlus Security. Detected properties can include restrictions on selling or an issuer's ability to mint more supply. Some permissions also appear in legitimate contracts, so a flag alone does not prove malicious intent. These checks do not guarantee contract safety or accuracy. Token discovery, liquidity scoring, and security checks describe different aspects of an asset; none makes its presence in the interface an endorsement.


Wallet custody and aggregator alternatives

Wallet-connected trading keeps assets under the holder's control without requiring a deposit into a centralized exchange account. Contract permissions and smart contract flaws remain relevant risks. A direct DEX interface concentrates on its own liquidity sources, while aggregation searches across venues. Matcha Meta is a separate 0x product that compares DEX aggregators and simulates routes. A deliberately chosen pool suits direct DEX trading; a comparison across aggregators calls for the extra layer that Meta provides.

Details worth knowing about Matcha

Is ZRX a token issued by Matcha?

ZRX is the governance token of the 0x Protocol, and Matcha does not have its own token. The relationship comes from the platform's use of 0x infrastructure. A token bearing the trading platform's name therefore should not be assumed to represent it.

Can a mobile wallet connect to Matcha through WalletConnect?

Matcha supports WalletConnect for compatible mobile wallets. The connection protocol uses QR codes or deep links to connect a wallet with a decentralized application. WalletConnect is a connection method, so the wallet and trading interface must also support the network involved. A successful connection does not expand the assets, networks, or order types available for a trade.

Why is a completed purchase missing from MetaMask?

MetaMask may omit a purchased token from its asset list when its token registry has not added that asset. The blockchain balance and the wallet's displayed token list are separate records. A custom token entry uses the correct contract address on the relevant network. A missing display entry alone does not establish that the swap failed or that the tokens disappeared.

Where does Matcha display open orders and previous trades?

Trade History displays previous trades and open orders for the connected wallet. Its network and order-type filters help locate the relevant records. Open limit orders appear in the Open Orders area. For Advanced orders, untriggered orders appear among open orders, while completed or partially filled orders appear in the Advanced tab. Individual trade details also identify the corresponding blockchain transaction.

Does disconnecting MetaMask revoke a Matcha token allowance?

Disconnecting MetaMask leaves existing onchain token allowances in place. The wallet connection and a contract's permission to spend ERC-20 tokens are separate controls. Removing that spending permission requires an onchain revocation, which normally incurs a network fee. Closing the trading tab or removing its wallet connection does not perform that contract change.

Are wallet-connected Matcha trades private?

Wallet-connected trades leave public blockchain records that include addresses, asset movements, and amounts. Matcha's privacy practices also cover collection of wallet-related information and technical data such as IP addresses and browsing activity. Keeping custody of tokens does not make those records anonymous. Public transactions can reveal patterns that third parties correlate with other information about an address.

When does a small trade become ineligible for Matcha Auto?

Auto is unavailable when the estimated network fee exceeds the trade's value, and the interface prompts you to increase the amount. That condition follows the estimated execution cost, so it does not correspond to one permanent minimum token amount. Network conditions and the selected route affect the estimate.