Skip to content
docs

SettlerResolverConfig

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

chains: Readonly<Record<number, ZeroExChain>>

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

The chain table (registry per chain).


optional maxAgeMs?: number

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

How long a registry read is reused, ms. Default 5 minutes; a miss always triggers a fresh read.


optional now?: () => number

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

Clock (tests).

number


optional rpcUrls?: Readonly<Record<number, readonly string[]>>

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

JSON-RPC endpoints per EVM chain id. Without one for a chain, its Settler cannot be resolved and live quotes are refused.