Fund individual trades or batch-settle multiple trades from the StableFX Console.
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.
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, or maker_funded, depending on your role). See
Trade states for a description of each
status.
Trade details with Settle Trade button for a pending settlement trade
Go to the Trades page from the sidebar navigation.
2
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
3
Click Fund
In the trade details side panel, click Fund to open the funding flow.
4
Review and sign
The funding panel displays your deliverables (what you send to escrow) and
receivables (what you get after settlement). Click Fund Trade and confirm
the Permit2 signature in your wallet.
The funding panel showing delivering and receiving amounts
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.
1
Enter batch mode
The Trades page with Batch fund button and filter controls
On the Trades page, click Batch fund in the toolbar. The table
switches to selection mode with checkboxes on each row.
2
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.
3
Review the batch
A summary bar at the bottom shows:
Number of selected trades
Total deliverables (aggregated by currency)
Total receivables (aggregated by currency)
4
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.
Netting applies across all selected trades regardless of counterparty. You
cannot net at the individual counterparty level.
If you are a taker, skip this step. Takers always fund in gross mode.
5
Sign and submit
Click Fund All. Your wallet prompts you to sign Permit2 batch typed data
covering all selected trades. Confirm the signature.
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 a breaching 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.
See Risk buffers for details on how
collateral protects against breaches.