What you will accomplish
- See which functions run on-chain and which run off-chain
- Understand what the funding and position contracts do
- Know what can be checked on a block explorer
- Avoid calling Quote.Trade fully on-chain or fully anonymous
Before you begin
- No account required
- The public technical overview and latest audit
How users connect and place orders
Users connect through the Quote.Trade app or use the REST API, WebSocket API, bots, or MCP tools. These interfaces send market-data requests and orders to Quote.Trade; they do not put the order itself on-chain.
What the off-chain engine does
The off-chain engine receives orders, returns prices, matches trades, calculates margin, applies liquidation rules, and performs risk checks. This is also where hidden-order handling occurs.
What the funding contracts do
Supported stablecoins are deposited through the public funding contracts. Those contracts record token movements and release approved withdrawals back to the connected wallet. The trading engine calculates how much is currently available to withdraw.
What the position contracts publish
The position contracts publish position records and information used by the withdrawal process. They are separate from the stablecoin funding balance and are not the order-matching engine.
How a trade moves through the system
A typical flow is: connect a wallet, deposit a supported stablecoin, place an order, match and apply risk checks off-chain, publish the position state, close the position, calculate the available withdrawal amount, and release funds through the funding contract.
What still runs off-chain
Smart contracts make deposits, withdrawals, and position records publicly inspectable. Order matching, pricing, margin, liquidation, system security, and withdrawal approvals still depend on Quote.Trade’s off-chain systems.