Retrieves multiple balances by IDs with minimal data (batch query)
(limit, offset int)
| 97 | GetBalanceByIDLite(id string) (*model.Balance, error) // Retrieves a balance by ID with minimal data |
| 98 | GetBalancesByIDsLite(ctx context.Context, ids []string) (map[string]*model.Balance, error) // Retrieves multiple balances by IDs with minimal data (batch query) |
| 99 | GetAllBalances(limit, offset int) ([]model.Balance, error) // Retrieves all balances (legacy) |
| 100 | UpdateBalance(balance *model.Balance) error // Updates a balance |
| 101 | GetBalanceByIndicator(indicator, currency string) (*model.Balance, error) // Retrieves a balance by indicator and currency |
| 102 | UpdateBalances(ctx context.Context, sourceBalance, destinationBalance *model.Balance) error // Updates multiple balances |
no outgoing calls
no test coverage detected