checkZeroExGasLimit
checkZeroExGasLimit(
gasLimit,chain,chainId):void
Defined in: protocol-swap2-0x/src/settler.ts:426
Hold a transaction’s gas limit, when it carries one, to the chain’s cap (zeroExMaxGasLimit): decimal, above
zero, at most the cap. Throws ZeroExTransactionError (policy_refused) naming the chain and its cap.
Parameters
Section titled “Parameters”gasLimit
Section titled “gasLimit”unknown
chainId
Section titled “chainId”number
Returns
Section titled “Returns”void