SettlerResolverConfig
Defined in: protocol-swap2-0x/src/settler.ts:149
Properties
Section titled “Properties”chains
Section titled “chains”chains:
Readonly<Record<number,ZeroExChain>>
Defined in: protocol-swap2-0x/src/settler.ts:151
The chain table (registry per chain).
maxAgeMs?
Section titled “maxAgeMs?”
optionalmaxAgeMs?: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.
optionalnow?: () =>number
Defined in: protocol-swap2-0x/src/settler.ts:157
Clock (tests).
Returns
Section titled “Returns”number
rpcUrls?
Section titled “rpcUrls?”
optionalrpcUrls?:Readonly<Record<number, readonlystring[]>>
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.