Charge tokens to a budget and roll up through the entire delegation chain.
Increments mesh:spentTokens on the given budget, then walks up via
mesh:parentBudget, incrementing spentTokens at each level until there is
no parent. Uses the same optimistic-concurrency pattern as enforceTokenBudget:
each level is updated atomically (DELETE old / INSERT new matched by current value).
Retries on BudgetConcurrencyError up to 3 times per level.
Parameters
budgetId: string
Budget to charge (IRI key — will roll up to parent)
Charge tokens to a budget and roll up through the entire delegation chain.
Increments
mesh:spentTokenson the given budget, then walks up viamesh:parentBudget, incrementing spentTokens at each level until there is no parent. Uses the same optimistic-concurrency pattern asenforceTokenBudget: each level is updated atomically (DELETE old / INSERT new matched by current value). Retries onBudgetConcurrencyErrorup to 3 times per level.