SYMMIO Contract
Reads and writes against the on-chain SYMMIO diamond contract — quotes, collateral, allocation, withdraw, and the on-chain market list. This slice targets the Symmio contract directly via viem clients.
Solver-side catalog / limit reads (getMarkets, getLockedParams, getNotionalCapBySymbolId, getOpenInterestBySymbolId) hit the solver REST API and live under Solvers — they are not contract reads even when the numbers ultimately reflect on-chain state.
Each method has its own page with the full signature, parameters, return shape, examples, and query options.
On-chain markets
Quote reads
Read one quote struct by id.
getSubAccountQuotesA subaccount’s full quote picture across its Virtual Accounts.
getPartyAOpenPositionsOpen positions for a PartyA (Virtual Account).
getPartyAPendingQuotesPending quote ids for a PartyA.
Collateral
Collateral-token wallet balance for an owner.
getCollateralAllowanceAllowance the owner has granted the SYMMIO core.
Allocate / deallocate
allocate and deallocate move collateral between an account’s available and allocated balances. They are the same on-chain writes documented under AccountLayer — see allocate and deallocate.
Withdraw
Build a classic (provider-free) withdraw receiver part.
getLastWithdrawRequestIdThe most recent withdraw request id for a subaccount.
getPendingWithdrawRequestsThe active (non-terminal) withdraw requests for a subaccount.
Query options
Every read ships a matching …QueryOptions factory and …QueryKey builder. See each read’s page for the exact call, and Query options for the shared pattern.
Related
- Solvers — solver REST catalog: markets, locked params, notional cap, open interest.
- AccountLayer — SubAccount / Virtual Account creation, balances,
allocate/deallocate. - InstantLayer — delegated instant flows.
- Muon oracle —
getDeallocateUpnlSigand other uPnL signature helpers for gated writes. - Errors — every write can surface a viem revert or an SDK-level
SymmError.