Skip to content

X402_DEFAULT_AUTHORIZATION_LIFETIME_SECONDS

const X402_DEFAULT_AUTHORIZATION_LIFETIME_SECONDS: 300 = 300

Defined in: src/x402/client.ts:48

Default authorization lifetime (validBefore = now + this) when the caller does not pass an override. Capped per-sign by paymentRequirements.maxTimeoutSeconds.

300 s matches the M3 example app’s tolerance for Polygon Amoy bundler inclusion latency (see plan risk #6).