コンテンツにスキップ

PaymentRequiredEvent

このコンテンツはまだ日本語訳がありません。

Defined in: src/observability/hooks.ts:97

Emitted by createX402Handler when it returns HTTP 402.

Extends

Properties

acceptedNetworks

readonly acceptedNetworks: readonly ("eip155:137" | "eip155:80002")[]

Defined in: src/observability/hooks.ts:102

Networks listed in the accepts array, in order.


durationMs

readonly durationMs: number

Defined in: src/observability/hooks.ts:48

Wall-clock duration of the observed operation in milliseconds.

Inherited from

ObservabilityEventBase.durationMs


kind

readonly kind: "payment_required"

Defined in: src/observability/hooks.ts:98


requestUrl

readonly requestUrl: string

Defined in: src/observability/hooks.ts:100

The URL that triggered the paywall, taken from Request.url.


startedAtMs

readonly startedAtMs: number

Defined in: src/observability/hooks.ts:46

Wall-clock unix milliseconds when the observed operation started.

Inherited from

ObservabilityEventBase.startedAtMs