Budgets

LimitMeaning
maxPerCallthe most one call may cost
dailyCaptotal per UTC day; resets at 00:00 UTC
perOriginDailyCaptotal per site (https://host) per day
allowOriginsoptional: only these sites may be paid

Rules:

  • Only USDC on the configured network is paid.
  • A call that would go over any limit is refused before anything is signed.
  • An amount is reserved while the call runs. It's committed when the receipt comes back and released when the call fails without one. A reservation that's never resolved stops counting after 2 minutes.
  • Server wallets reserve atomically in the database, so two parallel calls can't both fit if together they'd exceed the daily cap.
  • When a server answers without a receipt, server wallets look the transfer up on chain for up to 90 s before deciding.