Function: recordSpend()¶
Defined in: rine-core/dist/src/x402/spend-journal.d.ts:17
Add a spend to today's bucket, preserving paidIds. For status displays and tests
only: every pay site reserves through reserveSpend under the lock instead.
Parameters¶
| Parameter | Type |
|---|---|
configDir |
string |
agentId |
string |
canonicalAmount |
bigint |
nowSeconds? |
number |
Returns¶
void