Function: creditBalance()
creditBalance(
store,scopeId,at,policy?):Promise<CreditBalance>
Defined in: packages/agentos/src/safety/runtime/CompoundCreditLedger.ts:166
The scope's balance at at: available counts only the eligible lots the policy would allocate from.
Parameters
store
scopeId
string
at
number
policy?
AllocationPolicy = promotionsFirstPolicy
Returns
Promise<CreditBalance>