Monaco Protocol SDK v0.3.1
Balance Management Enhancements
This release adds new SDK methods for querying user token balances, building on the v0.3.0 foundation. These additions provide more flexible and efficient ways to access account balance information.What’s New
Balance Query Methods- Paginated Balance Listing: New
getUserBalances()method with pagination support - Individual Token Balance: New
getUserBalanceByToken()method for single-token queries - Enhanced Balance Details: Returns available, locked, and total balance for each token
Technical Details
Get All User Balances (Paginated) Query all token balances for the authenticated user with pagination:Use Cases
Portfolio DashboardPackages Updated
@0xmonaco/[email protected]@0xmonaco/[email protected]@0xmonaco/[email protected]
Installation
Migration Notes
This is a backward-compatible release. No breaking changes from v0.3.0:- All v0.3.0 features continue to work unchanged
- New balance methods are additive - existing
getProfile()method still works - Existing code requires no modifications to upgrade
Documentation
- Profile SDK Methods - Complete profile and balance documentation
- v0.3.0 Release Notes - Previous release with orderbook and fee enhancements
Related Backend Changes
This SDK release corresponds to backend API enhancements:- New
GET /api/v1/accounts/balancesendpoint (paginated) - New
GET /api/v1/accounts/balances/:tokenendpoint (individual token) - Performance optimizations for balance queries

