Settlement and custody
How off-chain execution, owner approvals and Canton confirmations work together.
Settlement pipeline
Settlement pipeline
Drag to pan, or use arrow keys when the diagram is focused. Use plus and minus to zoom, and zero to fit. On a touch screen, pinch to zoom.
The settlement worker takes committed execution records and their balanced account effects, groups them into ordered net batches, and stores each submission in a durable outbox. Canton validates and confirms the settlement.
Net settlement. A batch contains transfers and expected account changes for a settlement window. Many trading effects can therefore settle together, instead of requiring a blockchain transaction for every order.
Ordered batches. The batching policy preserves complete command effects and limits the size of each batch. The window is not a fixed delay or a guarantee of settlement at a particular time.
Recoverable submissions. Retries keep the same batch identity and payload. Sequence and predecessor checks preserve the order of settlement, while confirmed Canton records establish finality.
Settle obligations after execution
Off-chain processing can produce many order and fill outcomes before settlement publishes a netted batch. A single order can generate zero, one or several fills, while one settlement batch can represent many eligible effects. Orders per second, fills per second and Canton settlement transactions per second are therefore different measures.
Batching is bounded by policy and preserves ordered evidence. A fill-timeline window does not imply that every trade settles on a fixed wall-clock schedule. Settlement has no fixed completion-time guarantee.
Funding still requires ledger evidence
A deposit becomes trading collateral after its confirmed effect is ingested into ordered account state. Withdrawal completion can require reservation, owner consent, ledger consumption and later payout acceptance. An accepted command or receipt-backed account debit does not automatically mean the owner has claimed the payout.
Follow Deposits and Withdrawals for the user workflow. For implementation details, see the settlement contract model. Client integrations use product APIs; the backend handles ledger operations.