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

Function resetX402SessionPayments

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

Source from the content-addressed store, hash-verified

40
41/** Reset session payment tracking (used on session switch) */
42export function resetX402SessionPayments(): void {
43 sessionPayments = []
44 sessionTotalUSD = 0
45}
46
47/** Format x402 payment summary for display */
48export function formatX402Cost(): string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected