{s}omniamarkets

@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / UnifiedBalance

Interface: UnifiedBalance

Defined in: unified/structs.ts:159

One currency's balance, human units (ccxt shape). Funds escrowed in resting orders live in the pools — not the wallet — so here used is always 0 and free === total.

Properties

free

free: number

Defined in: unified/structs.ts:161

Spendable balance (== total on this venue).


used

used: number

Defined in: unified/structs.ts:163

Escrowed-by-open-orders balance — always 0 here (escrow is in the pools).


total

total: number

Defined in: unified/structs.ts:165

Wallet balance, human units.