MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getX402SessionSpentUSD

Function getX402SessionSpentUSD

src/services/x402/tracker.ts:27–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26/** Get total USD spent via x402 in the current session */
27export function getX402SessionSpentUSD(): number {
28 return sessionTotalUSD
29}
30
31/** Get all payment records for the current session */
32export function getX402SessionPayments(): readonly X402PaymentRecord[] {

Callers 4

handleStatusFunction · 0.85
wrapFetchWithX402Function · 0.85
addX402AxiosInterceptorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected