curveGasEstimateOfCall
curveGasEstimateOfCall(
chainId,args,pools):bigint|undefined
Defined in: protocol-swap2-curve/src/gas.ts:81
The same figure for router arguments read back from a call (a remote quote, a mined transaction): each step’s kind
from its swap_type and, for a pool, the allowlist’s entry for it (pools, by lower-case address — poolIndex).
Undefined when a pool is not in pools, a swap type is not one the module builds, or a kind has no measured cost.
Parameters
Section titled “Parameters”chainId
Section titled “chainId”number
ReadonlyMap<string, CurvePool>
Returns
Section titled “Returns”bigint | undefined