zeroExGasEstimate
zeroExGasEstimate(
gas):string|undefined
Defined in: protocol-swap2-0x/src/provider.ts:214
A quote’s gasEstimate: 0x’s own gas figure for the call — transaction.gas on a live quote, gas on an indicative
price — as canonical digits, read the way the gas limit and the network fee read it (decimal digits only). Undefined
when 0x states none, zero, a figure in another notation, or one past the contract’s ten digits: no figure is made up.
0x calls it the gas limit to send with; measured against the gas the call used, it runs high (see the README).
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”string | undefined