Protocol
SB Core

Account State

On-chain account objects, balances, and state isolation

Spot State

Every account (1.2.x) holds asset balances (2.5.x), open limit orders (1.7.x), call orders for SbAssets (1.8.x), and pending force settlement requests (1.9.x).

State Isolation

  • Each asset balance is tracked independently — there is no shared margin pool for spot accounts
  • Funds locked in open orders are held by the order object, not the account balance, until filled or cancelled
  • On fill, funds are transferred atomically — buyer receives the asset and seller receives the proceeds in the same block

Account Object Fields

FieldDescription
idUnique account identifier (1.2.x)
nameHuman-readable account name
ownerOwner authority (key rotation, recovery)
activeActive authority (trading, transfers)
options.memo_keyPublic key for encrypted memo fields
options.votesGovernance votes cast by this account
options.voting_accountAccount delegated to vote on behalf of this account