Skip to main content

HCS-25 (Signal): x402 Usage (Informative)

PurposeDirect link to Purpose

Collect usage signals from onchain x402 payment activity and store an incremental cursor for scalable refresh.

ApplicabilityDirect link to Applicability

Only applies when the subject has x402 payment configuration (e.g., includes protocol x402 and has payTo, asset, and network metadata).

Stored fields (example schema)Direct link to Stored fields (example schema)

Stored in subject.metadata:

FieldTypeMeaning
x402UsageStatusok | missing | errorIngestion status
x402UsageUpdatedAtISO timestampRefresh time
x402UsageSourcestringSource identifier (e.g., onchain)
x402UsageSummaryobject | nullAggregated usage values
x402UsageCursorobject | nullCursor/checkpoint for incremental backfill

x402UsageSummary:

FieldTypeMeaning
volume7dUsdnumber7-day USD volume estimate
volume24hUsdnumber24h USD volume estimate
inboundTrades7dnumber7-day inbound trade count
outboundTrades7dnumber7-day outbound trade count

Production example (Registry Broker; informative)Direct link to Production example (Registry Broker; informative)

  • Endpoint: https://hol.org/registry/api/v1/agents/{uaid}
  • Example UAID: uaid:aid:4qS5GF2qowqjepLFNJx4jqvCHGuJ2ejHw6hXWuxpr19bKrC7hH4JC1o1dXFnjARGbr