Troubleshooting#
Common issues and solutions when using Seesaw Protocol.
Order Placement#
Insufficient funds for the order#
Error: InsufficientBalance (0x300D)
Cause: Not enough USDT in your wallet or trader-ledger for the required collateral.
Required collateral:
bid collateral = (price_bps / 10_000) × quantity (in settlement tokens)
ask collateral = quantity settlement tokens (sell orders escrow the shares)
Solutions:
- Examine your USDT balance in the Portfolio tab.
- Account for collateral already locked in open resting orders.
- Cancel unused resting orders to free collateral before placing a new one.
Order price is outside the allowed band#
Error: OrderPriceOutOfBand (0x3014)
Cause: Your resting order's price is too far from the current market midpoint, or outside the static dust-filter bounds.
How the band works:
- When both sides have resting orders:
mid ± 1000 bps. A midpoint of 5000 bps means bids must be ≥ 4000 bps and asks ≤ 6000 bps. - When one or both sides are empty: bids must be ≥ 100 bps, asks ≤ 9900 bps.
- IOC orders are exempt (they never rest on the book).
Solutions:
- Move your price closer to the current best bid/ask.
- Use an IOC order if you want to fill immediately regardless of price.
- Examine the live order book before submitting.
PostOnly order would cross the spread#
Error: WouldCross (0x3004)
Cause: A PostOnly order would immediately match an existing resting order. PostOnly orders are guaranteed not to take liquidity.
Solutions:
- Adjust your price to sit on the passive side of the spread.
- Use a regular Limit order if you are willing to take liquidity.
Market is in PostOnly mode#
Error: PostOnlyModeActive (0x300B)
Cause: The market's admin has set its emergency status to PostOnly. Taker
fills (IOC and Limit orders that would match immediately) are blocked. Resting
Limit and PostOnly orders are still accepted.
Solutions:
- Switch to a PostOnly order to add liquidity.
- Wait for the market's status to return to
None. - Settlement instructions (Redeem, MarkPositionSettled, etc.) still work normally.
Protocol is paused#
Error: ProtocolPaused (0x6001)
Cause: The protocol authority has paused the protocol globally, or the
market has been set to Paused emergency status. All order placement is blocked.
Solutions:
- Settlement, redemption, and position-claiming instructions remain available.
- Wait for the pause to be lifted.
- Monitor the protocol's status page or Discord for updates (see Support (unavailable reference)).
Market is in ForceCancelOnly or emergency mode#
Cause: The market's SetMarketEmergencyStatus has been set to
ForceCancelOnly. New orders are blocked. The authority or configured nonzero
pauser can call ForceCancelMarketOrders (0x28) for one resting order at a time.
Solutions:
- Cancel your own resting orders if possible.
- The operator must repeat or batch individual force-cancel instructions within transaction limits; a single call does not clear the entire market.
- Redeem positions and any claimed collateral as normal.
Order book is full#
Error: OrderbookFull (0x3002)
Cause: Your side of the market's orderbook is at its configured capacity. Current deep books use tiered capacities from 64 to 4096 resting orders per side.
Solutions:
- Wait for existing orders to fill, be cancelled, or expire.
- Use a price that will match immediately (IOC or aggressive Limit).
- Try again after a few seconds.
Resting remainder is too small#
Error: MinRestingNotionalNotMet (0x3013)
Cause: After a partial fill, the remaining quantity's notional value falls below the protocol's minimum resting notional.
Solutions:
- Increase your order size so any remainder meets the minimum.
- Use an IOC order to avoid leaving a partial remainder on the book.
Trading has ended#
Error: TradingEnded (0x1004)
Cause: The market's duration window has closed. New orders are not accepted.
Solutions:
- Select an existing market or create another one. Each market's window starts when its creation transaction lands; markets do not open on a shared cadence.
- Examine the countdown timer before placing orders near market close.
Settlement and Redemption#
Cannot claim winnings#
Symptom: Claim button is disabled or Redeem transaction fails.
Possible causes and solutions:
| Cause | Solution |
|---|---|
| Market not yet resolved | An operator must submit eligible snapshot/resolution transactions; permissionless does not mean automatic |
| Already redeemed | Examine your transaction history — position may already be closed |
| Insufficient SOL for fees | Examine the transaction's current fee and any account-creation rent; fund the wallet accordingly |
| Market still in SETTLING state | Wait for the end price to be captured |
The countdown ended but Claim is still disabled#
Examine the market's on-chain outcome, not just its end timestamp. The end
snapshot may be missing, resolution may not have been submitted, or the indexer
may be behind a completed transaction. Refresh from the expected deployment
and reconcile the transaction signature before retrying. If the market is
still unresolved, follow cranking; expiry and
ForceClose each have their own state/time gates.
Free funds are missing from my wallet#
Deposits, maker proceeds, and rebates can remain in the market's trader ledger.
quote_free, yes_free, and no_free are per-market balances, not wallet SPL
balances. Select the same market and wallet, read its ledger slot, and use the
appropriate withdrawal or redemption flow. A wallet refresh cannot move funds
out of the ledger. See funding and free funds.
Reclaiming an expired resting order#
Resting orders carry a per-order TTL (max_age_seconds). Once expired, the
order becomes claimable via ReclaimExpiredOrder (0x16). The caller receives a
10 bps bounty (capped) of the refund as an incentive.
To reclaim your own expired order:
- Find the expired order in your Portfolio tab.
- Click Reclaim or use the SDK to call
ReclaimExpiredOrder. - Your collateral is returned plus the caller bounty.
Note: CloseMarket requires the order book to be empty. If expired orders
remain on the book, call ReclaimExpiredOrder before CloseMarket is attempted.
Claiming an abandoned position (MarkPositionSettled)#
If you are not the position owner but want to help a stalled market close:
MarkPositionSettled (0x19)is permissionless — anyone can call it for any abandoned position.- It reads only protocol-owned PDAs to compute the owner's owed value, then transfers that USDT directly to the owner's settlement token account.
- It advances
settled_positionssoCloseMarketcan proceed.
This crank protects owners — it pays them, not the creator.
Market not progressing to Closed state#
CloseMarket (0x1B) requires:
- Market is resolved (outcome != 0).
- At least 7 days have passed since
resolved_at. - All trader-ledger balances are zero.
- No unsettled position-holders or outstanding SPL share supply.
- No unclaimed creator fees (
accumulated_creator_fees == 0). - Order book is empty (all expired orders reclaimed).
- Vault balance is zero (after dust sweep to creator).
If CloseMarket fails, examine which condition is not yet met. Call
MarkPositionSettled for each unsettled position, ReclaimExpiredOrder for any
expired orders, and ClaimCreatorFees (0x1F) to clear accumulated fees.
Creating Markets#
Transaction fails when creating a market#
EnsureTraderLedgerSpace required (0x33)
Cause: The trader-ledger PDA must grow past Solana's 10240-byte
MAX_PERMITTED_DATA_INCREASE cap per transaction. If the ledger has not been
pre-allocated, CreateMarket will fail with TraderLedgerNotAllocated (0x3017).
Solution: Call EnsureTraderLedgerSpace (0x2B) as an idempotent prelude
before CreateMarket. The SDK's create_market_bundle() returns both
instructions in the correct order automatically. Repeat calls are no-ops.
Market already exists for this identity#
Error: MarketExists (0x1001)
Cause: A market with this feed, duration, creator, and market_id already
exists. Native market_id is a positive creator-chosen Unix-microsecond
identity; it does not represent an epoch or determine the market's timestamps.
Solution: Interact with the existing market, or prepare a distinct positive identity before funding/preallocation and use it for the new market. Its full duration begins when creation lands.
Oracle Issues#
Stale oracle price#
Error: StaleOracle (0x2002)
Cause: One of:
- The Pyth price's
publish_timeis older than the freshness window (start snapshot: hardcoded 60 s; end snapshot: configurable viaUpdateOperationalParams). - The price's
publish_timeis in the future relative to the Solana Clock sysvar (zero-tolerance future check; retries self-heal within seconds).
Solutions:
- Wait a few seconds and retry — transient feed delays are common.
- Examine Pyth Network status for feed health.
- For end snapshots: the snapshot window is generous; a single retry is usually enough.
Confidence too wide#
Error: ConfidenceTooWide (0x2004)
Cause: The Pyth price confidence interval exceeds the market's configured
max_confidence_ratio_bps threshold. This protects trades from settling on
uncertain prices.
Solutions:
- Wait for market conditions to stabilize.
- This usually resolves within seconds to minutes.
Invalid oracle data#
Error: InvalidOracleData (0x2006)
Cause: The PriceUpdateV2 account has an unexpected discriminator, a
verification_level below Full (1), or an exponent outside [-18, 18].
Solutions:
- Ensure you are passing the correct Pyth feed account for the market.
- For pull markets, post a fresh
PriceUpdateV2via the Pyth Receiver before calling the snapshot instruction.
Wallet and Network Issues#
Wallet not detected#
Symptom: "Connect Wallet" shows no wallet options.
Solutions:
- Make sure that the wallet browser extension is installed and enabled.
- Refresh the page.
- Disable conflicting wallet extensions.
- Try a different browser.
Wrong network#
Symptom: Connected but transactions fail or show wrong balances.
Solutions:
- Open wallet settings and switch to
mainnet-beta. - Refresh the page after switching.
Transaction timeout or blockhash expired#
Symptom: Transaction submitted but never confirms; "blockhash not found".
Solutions:
A timeout, missing RPC history, or expired blockhash does not prove that the transaction failed. To follow one transaction to a terminal state, see Troubleshooting transactions (unavailable reference). A new blockhash creates a new signed attempt. Both attempts could affect your balance.
- Stop new submissions for the same action.
- Keep the recorded signature, signed transaction bytes, wallet, network, and program identity.
- Reopen the same app profile and wallet after a restart.
- Examine the recorded signature through the app's reconciliation flow and the correct network's transaction history.
- If the earlier attempt succeeded, refresh the market, orders, and balances.
- Continue only the unfinished steps of a multi-transaction workflow.
| Observed result | Safe next action |
|---|---|
| Earlier attempt succeeded | Show that result; do not repeat the economic action |
| Finalized on-chain failure | Refresh state and review a new attempt |
| No observation, RPC failure, or expired blockhash | Keep the replacement barrier; continue reconciliation |
| Identical signed bytes, still valid | The recovery flow can rebroadcast those bytes without a new signature |
| Explicit acknowledgement of an unresolved attempt | A replacement is new exposure; the acknowledgement does not prove prior failure |
Do not clear local storage to remove a blocked attempt. Durable storage failure must block dispatch. If the interface cannot reconcile the attempt, keep the signature and ask the operator to examine it. An alternate RPC can help observe the same signature; it does not authorize replacement.
The contract is implemented in packages/core/src/transactionAttempt.ts.
Tests in packages/core/src/__tests__/transactionAttempt.test.ts cover restart, RPC failure, expired attempts, and finalized failure.
See the recovery SDK guide for integration procedures.
Balance not showing#
Possible causes:
- Wrong network in wallet.
- Transaction not yet confirmed.
- UI needs refresh.
Solutions:
- Confirm wallet is on
mainnet-beta. - Examine transaction status in your wallet history.
- Refresh the page or wait 30 seconds.
Getting Help#
If the above solutions do not resolve your issue:
- Review the FAQ and relevant docs section.
- Search Discord — many issues have been discussed before. See Support (unavailable reference) for channels and what to include.
- Post in #support with:
- Error code (e.g.
0x3014) - Transaction signature
- Wallet type and browser
- Steps to reproduce
- Expected vs. actual result
- Error code (e.g.
- Open a GitHub issue for bugs or feature requests.
Error Code Quick Reference#
See Error Codes for the complete, categorized error code reference including all categories (Market, Oracle, Order, Account, Fee/Referral, and Authority errors) with recovery actions.