Skip to content
docs

zeroExChains

zeroExChains(overrides?): Readonly<Record<number, ZeroExChain>>

Defined in: protocol-swap2-0x/src/chains.ts:108

The chain table in force: the defaults with overrides merged over them (an entry replaces the default for that chain id, null removes the chain). An entry whose registry or wrapped native is not an address, whose pins are missing or out of order (newestLiveNonce 1…ZEROEX_SETTLER_MAX_NONCE, previousLiveNonce 1…newestLiveNonce), or whose gas cap is given but is not a bigint from 1 to ZEROEX_GAS_CAP_CEILING (maxGasLimit), throws — a typo here would move the root of every check. An entry replaces the default whole: one without maxGasLimit has the default cap, Monad’s included.

Readonly<Record<number, ZeroExChain | null>>

Readonly<Record<number, ZeroExChain>>