Protected ReadonlyadminProtected ReadonlyconsumerBuster over the ledger-account-consumer-search namespace owned by
LedgerAccountQueryService. Admin writes and the Helius on-chain
balance webhook bypass LedgerAccountQueryService, so they must also bust
the consumer cache the customer dashboard reads — same namespace + cluster
busts cross-process.
Protected ReadonlydbGet the given ledger account for the given customer
Total MOVEUSD balance across the banks' ledger accounts. Honors the same
bankIds + q filters as search so a filtered view's total matches
the rows it shows.
OptionalbankIds?: string[]Optionalq?: stringCase-insensitive substring match on account name or entity name.
Seam for the Helius on-chain balance webhook (and admin writers) to bust the
ledger-account search caches. Busts both the consumer cache (tagged by the
owning external customerId) and this service's cross-customer admin cache
(single collection tag) in lockstep — so the admin pickers invalidate
whenever the consumer dashboard does, including on balance changes.
Search ledger accounts across customers (cross-customer admin search). Read-through cached; see LEDGER_ACCOUNT_ADMIN_SEARCH_CACHE.
This service's own cross-customer admin search cache (read + write).