List sub-accounts with balances (paginated)
GET/account/subaccounts/all
Returns the entity's sub-accounts (the primary appears as "Main") with
their non-zero balances nested per row, each row carrying a totalUsdc
value, plus a portfolioTotalUsdc computed across ALL sub-accounts
regardless of pagination or filter. Requires the treasury.balances.read
permission.
Request
Responses
- 200
- 400
- 401
- 403
OK
Invalid query param (e.g. non-numeric publicIds, or limit above 100)
Missing/invalid JWT or entity selection (RBAC_ENTITY_SELECTION_REQUIRED)
Caller lacks the treasury.balances.read permission (RBAC_PERMISSION_DENIED)