Skip to content
docs

ZEROEX_MAX_PERMIT_SECONDS

const ZEROEX_MAX_PERMIT_SECONDS: 600 = 600

Defined in: protocol-swap2-0x/src/settler.ts:49

The longest a 0x permit may stay valid from now. 0x signs five minutes ahead; the core reader allows an hour for any provider. A shorter window leaves less time for a permit that was published but not spent (its swap reverted).