Fund Your Trading Balance and Trade with Free Funds#
A task-oriented walkthrough of the free-funds flow in the Seesaw app (web and mobile): deposit once, then place, cancel, and withdraw without a per-order token transfer. For the on-chain mechanism this UI drives, see Placing Orders → Free-funds orders and the Free Funds glossary entry — this page does not restate those facts.
0. Enable Pro Mode#
First, examine the wallet, network, market address, and settlement mint. Keep SOL for transaction fees and account creation. Deposits require settlement tokens in the wallet. Free funds belong to one market's ledger. A deposit in another market does not fund this market's orders.
The free-funds deposit/withdraw panel is a Pro Mode surface. Turn on Pro Mode in Settings first — on either platform the panel only renders when Pro Mode is on and your wallet is connected.
1. Deposit into your free-funds balance#
- Open a market's detail page.
- Connect your wallet.
- In the funding panel, enter an amount in base units (1 USDT = 1,000,000).
- Tap Deposit.
- Confirm the transaction in your wallet.
This moves USDT from your wallet into your trader-ledger slot
(deposit_funds, 0x08). It is a one-time transfer per deposit — every order
you place afterward against this balance skips the per-order token
transfer.
Web funding captures#
These captures show the real web component with controlled fixture data. No transaction was sent.
The amount field uses settlement-token base units: 25000000 means 25 units for a six-decimal token.
The shown free balance is 100 units. The mint-pair field contains 10000000, or 10 pairs.

Examine the amount units and available balance before signing.

The deposit request is pending in this controlled fixture.

The withdrawal request is pending in this controlled fixture.

The mint request is pending in this controlled fixture. A pending control is not proof of a confirmed transfer.
2. Place an order funded from your balance#
On the full order form, select Wallet or Free Funds before confirming. On the web, open Advanced to reach this control. Web Quick Trade selects a funding balance automatically.
- Wallet — the standard order instructions, one token transfer per order.
- Free Funds — the
*WithFreeFundsinstruction variants; settles against your ledger balance instead of transferring tokens.
Both paths use identical matching and fees — the toggle only changes where the collateral comes from. If your free-funds balance is insufficient for the order size, the toggle either disables the Free Funds option or the order form falls back to the Wallet path (insufficient-balance guard) — you'll see the reason inline rather than a silent switch.
3. Cancel a free-funds order#
Cancelling a free-funds order works the same as cancelling any other order from Portfolio → Orders: tap Cancel. Collateral (or unfilled shares) returns to your free-funds balance rather than your wallet, since that's where it came from — no extra step needed to "get it back into the ledger."
4. Withdraw back to your wallet#
When you're done trading from your balance:
- Return to the same market detail page funding panel.
- Enter an amount in base units.
- Tap Withdraw.
- Confirm the transaction.
This calls withdraw_funds (0x09), moving the balance back to your wallet
token account. You can deposit and withdraw as many times as you like —
there's no lock-up period tied to free funds specifically (order-level
locks, like resting-order collateral, still apply per
Placing Orders).
Why use free funds at all?#
Skipping the per-order token transfer matters most if you place and cancel orders frequently (e.g. market making, quote-ladder strategies) — see Market Making for that workflow in more depth.
Check the accounting#
This example uses a six-decimal settlement token. It excludes SOL fees and rent. Assume a permitted post-only bid for 10 shares at 0.40. No fill occurs.
| Step | Wallet quote | Free quote | Locked quote | Total quote |
|---|---|---|---|---|
| Start | 20 | 0 | 0 | 20 |
Deposit 10 (10000000 base units) | 10 | 10 | 0 | 20 |
| Reserve 4 for the bid | 10 | 6 | 4 | 20 |
| Cancel the unfilled bid | 10 | 10 | 0 | 20 |
| Withdraw 10 | 20 | 0 | 0 | 20 |
If the order partly fills, only the remaining reservation returns on cancellation.
Record the purchased shares and any fee separately. A filled order does not keep the quote-only total in this table.
After withdrawal, examine the confirmed token transfer and the reduced quote_free balance.
A dash in the balance display means unread data, not zero.
Withdraw free shares to your wallet#
WithdrawShares converts available ledger shares into SPL tokens in your wallet.
It does not sell shares or pay settlement tokens. It does not create another economic claim.
Use the wallet that owns the ledger balance. Keep SOL available for transaction fees and share-account creation. These UI procedures require the owner's signature. The destination must belong to that owner and use the selected share mint. The selected outcome must have a positive free ledger balance. Locked ask shares and existing wallet tokens are not free ledger shares. The market must be unresolved and within its permitted trading window. For native markets, an accepted start snapshot is also required. After resolution or trading close, use the applicable redemption or cleanup path instead.
Web procedure#
- Connect the owner's wallet on the correct network.
- Open Portfolio.
- Find the position for the intended market address.
- Open that position's Advanced section.
- Select Withdraw free YES or Withdraw free NO.
- Examine the wallet request.
- Give approval for the transaction.
- Examine the confirmed signature.
- Examine the selected share balance in your wallet.
- Refresh the position's free ledger balance.
The web action withdraws the selected outcome's entire available free ledger balance. It rereads that balance before submission. The destination is the owner's associated token account for the selected market share mint. The transaction includes account creation when that token account is missing.
Native mobile procedure#
- Connect the owner's wallet on the correct network.
- Open Portfolio.
- Find the intended position.
- Tap its vertical three-dot button, labelled Advanced actions for that position.
- Select Withdraw [quantity] YES to wallet or Withdraw [quantity] NO to wallet.
- Examine the wallet request.
- Give approval for the transaction.
- Examine the confirmed signature and wallet share balance.
- Refresh the free ledger balance.
The quantity comes from the selected free ledger bucket. The action is separate from the position's share-link button. If the ledger is still loading, no withdrawal quantity is offered. Refresh before selecting an action. If no shares are available, examine locked orders and existing wallet holdings. Do not add a position mirror to those holdings again.
Check the share accounting#
This example withdraws 5 YES shares (5000000 share base units).
The position starts with 5 free ledger YES shares and 2 wallet YES tokens.
All other balances and claims remain unchanged.
| Quantity | Before | After |
|---|---|---|
| Free ledger YES shares | 5 | 0 |
| Wallet YES tokens | 2 | 7 |
| Owner's combined YES holdings | 7 | 7 |
| Circulating YES SPL supply attributable to these holdings | 2 | 7 |
| Change to vault settlement tokens | — | 0 |
| Change to wallet settlement tokens | — | 0 |
The program debits 5 ledger shares and mints 5 wallet tokens. The selected circulating-supply aggregate increases by 5. The ledger liability decreases by 5. The total economic claim remains 7 shares. Existing vault collateral continues to support that claim. SOL transaction fees and account rent are separate from this table.
Recover a share withdrawal#
If confirmation is unknown, stop new withdrawal submissions. Keep the signature. Use transaction recovery before another attempt. A timeout does not prove that the ledger debit or wallet credit failed. If submission fails before signing, examine the displayed reason. An insufficient-free-shares error requires a fresh ledger read; an aggregate position total is not an available balance. A wrong-owner or wrong-mint destination must be corrected before submission. If the market became terminal, use Claiming winnings.
Web source: apps/web/app/[locale]/portfolio/PortfolioWithdrawSharesPanel.tsx and usePortfolioPositionActions.ts.
Mobile source: apps/mobile/src/screens/PortfolioScreen.tsx and apps/mobile/src/hooks/useWithdrawShares.ts.
Program source: withdraw_shares.rs (unavailable reference).
The integration fixtures (unavailable reference) cover YES, NO, over-withdrawal, wrong mint, and third-party destinations.
Mint and merge a complete set#
A complete set contains equal quantities of YES and NO shares. For a native market, each pair has one settlement unit of collateral. Minting creates both outcomes. It does not buy one outcome from the order book.
- With your wallet connected and Pro Mode enabled, open the native market.
- Make sure that the mint action is available and the market is unresolved.
- Enter the collateral amount in base units in the Mint pair panel.
- Examine the transaction.
- Sign the transaction.
- Examine the wallet debit and both share balances.
For example, 5000000 settlement base units mint 5 YES and 5 NO shares.
The wallet spends 5 settlement units. The vault gains 5 settlement units.
The two share balances represent that same collateral; do not count each side as another 5-unit deposit.
To reverse an available complete set before resolution:
- Open the market position or Portfolio position.
- Select the available merge action.
- Examine the YES quantity, NO quantity, collateral output, and destination.
- Confirm the merge.
- Sign the wallet request.
- Examine the confirmed collateral receipt and both reduced share balances.
| Step | Wallet quote | Available YES | Available NO | Vault collateral for these pairs |
|---|---|---|---|---|
| Start | 20 | 0 | 0 | 0 |
| Mint 5 pairs | 15 | 5 | 5 | 5 |
| Merge all 5 pairs | 20 | 0 | 0 | 0 |
The merge quantity cannot exceed the smaller available outcome balance. Wallet shares and free ledger shares can participate. Shares locked in orders must first become available. After terminal resolution, use redemption instead of merge. If the action is absent, examine market state, both holdings, and the disabled-action reason. Do not infer unsupported behavior from a missing control.
Web controls are in MarketProFundingPanels.tsx and MarketPositionMerge.tsx under the market-detail route.
Mobile uses OrderFormSection.tsx and MergeCompleteSetAction.tsx.
See complete-set fixtures.
Recover interrupted actions#
If a deposit, withdrawal, mint, or merge has an unknown result, stop new submissions. Keep its signature. Follow transaction recovery before a new submission. After confirmation, refresh the same market and wallet. Compare chain balances if indexed data remains stale. If withdrawal is blocked, examine available free quote. Locked collateral is not withdrawable free quote. If mint is blocked, examine the wallet token balance, market state, supply cap, and current configuration. Do not switch to another settlement mint to bypass an account error.