Skip to content
docs

zeroExMaxGasLimit

zeroExMaxGasLimit(chain, chainId?): bigint

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

The gas cap of a chain table entry: its own maxGasLimit, else ZEROEX_MAX_GAS_LIMIT. An entry whose cap is not a bigint from 1 to ZEROEX_GAS_CAP_CEILING (one built by hand rather than through zeroExChains) throws: a chain table cannot remove the bound.

ZeroExChain

number

bigint