Skip to content

X402_DEFAULT_MAX_TIMEOUT_SECONDS

const X402_DEFAULT_MAX_TIMEOUT_SECONDS: 60 = 60

Defined in: src/x402/payment-requirements.ts:39

Default value for maxTimeoutSeconds when BuildPaymentRequirementsParams.maxTimeoutSeconds is not supplied. Matches the x402 spec example for short-lived authorizations.

Increase to 300 (the client-side default) when targeting Polygon Amoy in the M3 demo — bundler inclusion latency can spike above 60 s on testnet.