Sub-accounts isolate margin, open orders, spot balances, and positions across desks, strategies, or clients under your organization’s Mother Account. Every sub-account is a pure engine account with no Canton Party ID of its own: transfers between the Mother Account and its sub-accounts execute atomically off-chain with zero Canton gas cost.

Sub-account lifecycle

Instant off-chain transfer rules

  • Allowed pairs only: Collateral moves strictly between the Mother Account and one of its own live sub-accounts (either direction). Sub-account to sub-account direct transfers are refused (409 sub_account_transfer_pair_refused); route through the Mother Account instead.
  • Collateral asset: code must be the venue collateral asset (USDCx). Other assets return 409 sub_account_transfer_asset_refused.
  • Free balance only: Funds locked in open orders, used as perpetual margin, or held by pending withdrawals cannot move (409 transfer_eligibility_insufficient with info.free naming the exact movable balance).
  • Mandatory idempotency: Always send a unique Idempotency-Key header (1 to 255 characters). Replaying the same key and body returns the original transfer without moving funds twice. Reusing the key with a different body returns 409 idempotency_key_conflict.
  • Zero on-chain settlement: Both accounts update atomically in a single engine journal record; Canton sees no transaction and charges zero network fees.

End-to-end Business API workflow

The curl flow below reads the Mother Account’s Omnibus deposit address, creates a sub-account, moves collateral from the Mother Account to the sub-account, places and cancels a spot limit order on the sub-account, returns the collateral to the Mother Account, and deletes the empty sub-account. The spot quote currency is USDCx on TestNet and MainNet. Read the exact symbols from GET /v2/spot/markets. Set EDEL_API_URL to your network’s REST base URL from the introduction, and use an organization-wide API key ($ORG_KEY) with trade: true, sub_accounts write, and trading_spot write. The spot symbol below (NVDAe/USDCx) is for TestNet and MainNet; read the live symbol list for your network from GET /v2/spot/markets.