After you have created a trade and both parties have signed, the trade needs to be funded onchain for settlement to occur. The StableFX Console provides two ways to fund: individual funding for a single trade, or batch funding to settle multiple trades in a single transaction.Documentation Index
Fetch the complete documentation index at: https://developers.circle.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin:- You have connected an EVM wallet with sufficient token balance.
- You have granted Permit2 approval for the funding token. Permit2 is a token-approval contract that lets you authorize token transfers with a single offchain signature rather than a separate onchain approve transaction.
- You have one or more trades in a fundable status (
pending_settlement,taker_funded, ormaker_funded, depending on your role). See Trade states for a description of each status.

Individual trade funding
Open a fundable trade
Click on any trade that shows the Fund action. Fundable trades have one of
these statuses:
| Your role | Fundable when status is |
|---|---|
| Taker | pending_settlement or maker_funded |
| Maker | pending_settlement or taker_funded |

Batch funding
Batch funding lets you settle multiple trades in a single wallet signature. This is especially useful for makers who accumulate many trades throughout a settlement window.Enter batch mode

Select trades
Check the trades you want to fund. Only trades in a fundable status appear as
selectable. The console automatically filters out trades that are not eligible.
Review the batch
A summary bar at the bottom shows:
- Number of selected trades
- Total deliverables (aggregated by currency)
- Total receivables (aggregated by currency)
Choose funding mode
If you are a maker, choose between:
- Gross: Fund each trade at its full amount. The total deliverable is the sum of all individual trade amounts.
- Net: Fund the net position across all selected trades. If you have offsetting trades (for example, selling USDC in one trade and buying USDC in another), the net amount is reduced accordingly.
Funding modes explained
| Mode | Behavior | Best for |
|---|---|---|
| Gross | Each trade is funded at its full notional amount. | Takers (always gross), or makers who want explicit per-trade funding. |
| Net | Opposing positions in the same currency are offset. You fund only the net difference. | Makers with many trades in the same pair. Reduces capital requirements. |
Takers always fund in gross mode. The net funding option is available only to
makers.
What happens after funding
Once you submit your funding signature:- The console broadcasts the transaction through the StableFX execution engine.
- The FxEscrow smart contract on Arc receives and holds your tokens in escrow.
- When both parties have funded, the contract settles the trade automatically:
- The taker receives the “to” currency minus the taker fee.
- The maker receives the “from” currency minus the maker fee.
- Fees are sent to the fee wallet.
complete, and the settlement tokens appear in your
wallet.
Monitoring settlement

- The contract trade ID
- Each onchain transaction (record, taker deliver, maker deliver, settle)
- Transaction hashes and timestamps
- Current status of each step
Handling breaches
If one or both parties fail to fund before the settlement deadline (determined by the tenor, which is the agreed duration of the trade from creation to settlement expiry), the trade enters abreaching state and eventually becomes
breached. See Trade states for details on
these statuses.
When a trade is breached:
- The funded party’s tokens are returned from escrow.
- Any collateral (risk buffer) from the non-funding party is forfeited.
- The trade cannot be retried. You must create a new trade.
