Skip to the article
Web3 Report

Crypto news and its trade-offs

Does Matcha swap hold your tokens during the trade?

seo_title: Does Matcha swap hold your tokens during a trade?

By Web3 Report Editorial5 min read

Does Matcha swap hold your tokens during the trade?

seo_title: Does Matcha swap hold your tokens during a trade?

dek: Does Matcha swap hold your tokens during a trade? No: your wallet authorizes an on-chain swap, and the sold and bought tokens settle in one transaction.

Matcha swap does not take custody of your tokens: your wallet authorizes the trade, and the sold token and bought token settle in one on-chain transaction. The 0x documentation on Settler and allowance contracts explains the contracts that execute the swap. At this point, Matcha swap is the interface that helps you make a token exchange without first depositing funds into an account.

The confusion makes sense if you are used to a centralized exchange. There, you deposit tokens and see an account balance that the exchange controls. A Matcha DEX swap works differently: before the swap executes, the tokens remain in your wallet. There is no sign-up, deposit, or withdrawal step in the trade.

How does Matcha swap move tokens between wallets?

A Matcha token exchange uses 0x Protocol smart contracts to settle the trade. You approve and sign transactions with your wallet; Matcha swap does not receive your private key or seed phrase. For an ERC-20 token sale, the flow may include an approval before the swap itself. That approval lets a specified spender contract move an authorized amount of that token.

Approval is permission, not a deposit. The ERC-20 standard defines how a token owner can approve a spender and how that spender can later call transferFrom to move tokens. The approval does not place the tokens in a Matcha account. It does mean the approved contract can move tokens within the permission you gave it, so read the wallet’s transaction details before signing.

During settlement, tokens may pass through the 0x Settler contract. That is part of executing the trade, not a period in which Matcha swap keeps a balance for you. The transaction moves the sold token out and delivers the bought token in as one atomic operation: if execution succeeds, both sides settle; if it reverts, the transfer changes are rolled back. A transaction can still be pending before it is included in a block.

  • Wallet: Holds your tokens before execution and signs the transaction. The private key stays with you.
  • AllowanceHolder or Permit2: Can act as the spender for an ERC-20 approval, depending on the route. An approval authorizes token movement; it is not a deposit into either contract.
  • 0x Settler: Executes the swap settlement. Tokens can pass through it during the transaction, then the transaction completes or reverts.

Consider a constructed example: you hold an ERC-20 token in your Ethereum wallet and want to swap some for another token. You sign any required approval and then the swap transaction. Once the swap executes, the wallet shows the bought token and a reduced amount of the sold token. There is no intervening Matcha balance to check or withdraw.

What changes compared with an exchange account?

The visible difference is where the tokens sit before the trade. On a centralized exchange, the exchange holds deposited funds and records your balance on its system. With a Matcha swap, the wallet holds the funds until the on-chain transaction executes. Confusing an approval with a deposit can lead you to think your tokens have moved into an account; the approval is permission for a contract to move tokens under its terms.

That distinction also changes what can happen when a site is unavailable. A service holding an exchange balance can control access to that balance, including withdrawals. A wallet-to-wallet swap creates no Matcha account balance to freeze or withdraw, and no withdrawal queue. If the site goes offline, that does not create a Matcha-held balance; the tokens remain associated with your wallet on-chain.

The trade-off is that you authorize the on-chain actions yourself. An approval is separate from the swap and grants a spender permission to move a token, while the swap signature submits the trade for execution. Neither signature gives the interface your seed phrase. For a specific trade, distinguish those wallet prompts and check which token, spender, and amount each one names.

Related questions

Do I need an account or KYC to use Matcha swap?

No account or deposit is part of the described wallet-to-wallet swap. You connect a wallet and authorize on-chain transactions; that is distinct from opening a centralized exchange account. The transaction still needs to meet the relevant blockchain’s execution requirements.

Where are my tokens if a Matcha swap fails?

If the swap transaction reverts, its token transfers roll back, so the swap itself does not leave a partial completed trade. If it is pending, the transaction has not executed yet. Check the transaction status in your wallet or a blockchain explorer before trying again.

Can Matcha swap reverse or refund a trade?

A completed on-chain swap is not an exchange order that the interface can reverse or refund. The resulting token movement is recorded by the blockchain. The useful next move is to inspect the pending or completed transaction and its approval details; that shows whether the trade executed and what permission you granted.

Related coverage