cryptonews24

When Does Each Matcha Swap Order Type Execute? Four Triggers

A pending Matcha swap has four execution triggers: Market Swaps settle when your transaction lands, Limit Orders when a taker fills your signed order, Cross-chain Swaps through separate source and destination legs, and Matcha Auto when a relayer submits your signature onchain.

When Each Matcha Swap Type Settles

The practical question is who submits the transaction that moves your tokens. A quote shows proposed terms; the order type determines whether you submit now, wait for a taker, or wait for another party to complete delivery.

Cross-chain settlement has two checkpoints, so a confirmed source transaction does not establish that the destination received tokens. For a Matcha crypto swap across networks, review matcha cross-chain before submitting; it helps you distinguish the source transaction from the later delivery.

Market Swaps

Market Swaps execute when the transaction you submit is included in a block. They suit a trade you want to make now at the available route, subject to the minimum output you accepted.

The 0x Swap API sources routes across AMMs and market makers. Between quote and inclusion, liquidity and prices can change. The transaction succeeds if execution still returns at least your slippage floor; otherwise it reverts, and the attempted transaction can still consume gas. A pending transaction therefore represents an attempted trade, not a completed fill.

Limit Orders

Limit Orders execute when a taker submits a fill of your signed order onchain. They suit a trader willing to wait for a specified price or better. Signing creates an off-chain instruction; it does not move the sell tokens or reserve them. The order can fill before expiry when a taker accepts its terms, or it can expire without a fill.

Your balance and allowance matter at fill time. The wallet must still hold enough sell tokens for the attempted fill and have approved the required token transfer. Say you sign an order, then move its sell tokens to another wallet. A taker cannot fill that amount while the balance is short, but the signature has not been cancelled.

If the tokens return before the order expires, the order can become fillable again. Restoring a revoked allowance can have the same effect. Cancel the order explicitly when you no longer want it filled; moving tokens or removing approval only interrupts fillability. The 0x order documentation describes the taker’s onchain submission and settlement of a signed order.

Do Matcha limit orders cost gas?

Matcha limit orders require no gas for the off-chain signature, while the taker pays gas to submit a fill. A separate token approval, if needed, is an onchain transaction and costs gas. Explicit onchain cancellation can cost gas too.

Cross-chain Swaps

Cross-chain Swaps complete after a source-chain transaction and a separate destination delivery. They suit a trader who needs the bought token on another chain. You submit the source transaction; a bridge or relayer then handles the destination leg.

A successful source transaction shows that its chain processed the first leg. The destination leg can still be waiting for finality or delivery, or it can fail and enter a route-dependent recovery process. Treat destination receipt as the completion point. The 0x cross-chain explanation describes this source submission and bridge handoff.

How long do cross-chain swaps take?

Cross-chain swaps take as long as source confirmation, the route’s finality requirements, bridge or relayer processing, and destination execution require. A source transaction hash tells you when the first leg landed; the destination transaction or delivered balance tells you when the swap finished.

Matcha Auto

Matcha Auto executes when a relayer submits your signed trade and that transaction lands. It suits a trader who wants the relayer to handle submission and the network fee paid from the sold token.

Your signature authorizes the trade, but signing alone does not settle it. Until the relayer’s transaction succeeds, the tokens have not swapped. The distinction matters when comparing it with a Market Swap: both need an included transaction, but a different party sends it. If the relayer does not submit a successful transaction, there is no fill to record.

To predict a fill, identify the submitter and the final onchain event: your transaction for a Market Swap, a taker’s fill for a Limit Order, destination delivery for a Cross-chain Swap, or the relayer’s transaction for Matcha Auto. That also tells you where to look when an order is still pending.

What Happens When a Fill Is Incomplete?

What happens if a cross-chain swap gets stuck between chains?

A cross-chain swap can have a confirmed source leg while destination delivery remains pending. Use the source transaction hash to identify the route’s status, then look for a destination transaction, a retry, or a refund. Recovery depends on where that route failed; source confirmation alone is not a reason to submit the same swap again. 0x’s recovery documentation illustrates the distinct refund and destination-retry outcomes.

Can a limit order partially fill?

A limit order can partially fill when a taker takes less than its remaining amount and its terms permit that fill. The unfilled portion can remain available until expiry or cancellation, provided the wallet still has sufficient balance and allowance. Track the filled amount as well as the order’s remaining amount; a partial fill is settlement for only the portion traded.