Skip to content
docs

ethFlowGasEstimate

ethFlowGasEstimate(d): string | undefined

Defined in: protocol-swap2-cow/src/ethflow.ts:57

An eth-flow quote’s gasEstimate on deployment d: ETH_FLOW_CREATE_GAS_USED on a chain it was measured on and with the canonical eth-flow contract; undefined anywhere else — a chain added through cowDeployments(extra), or a shipped chain given another eth-flow contract, has another contract or gas schedule nobody measured (Polygon’s native transfers alone cost more), so no figure is guessed for it.

Pick<CowDeployment, "chainId" | "ethFlow">

string | undefined