PaymentRequiredEvent
Defined in: src/observability/hooks.ts:97
Emitted by createX402Handler when it returns HTTP 402.
Extends
Properties
acceptedNetworks
readonlyacceptedNetworks: readonly ("eip155:137"|"eip155:80002")[]
Defined in: src/observability/hooks.ts:102
Networks listed in the accepts array, in order.
durationMs
readonlydurationMs:number
Defined in: src/observability/hooks.ts:48
Wall-clock duration of the observed operation in milliseconds.
Inherited from
ObservabilityEventBase.durationMs
kind
readonlykind:"payment_required"
Defined in: src/observability/hooks.ts:98
requestUrl
readonlyrequestUrl:string
Defined in: src/observability/hooks.ts:100
The URL that triggered the paywall, taken from Request.url.
startedAtMs
readonlystartedAtMs:number
Defined in: src/observability/hooks.ts:46
Wall-clock unix milliseconds when the observed operation started.