Skip to content
docs

ETH_FLOW_CREATE_GAS_USED

const ETH_FLOW_CREATE_GAS_USED: 56228n = 56_228n

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

The gas a createOrder transaction uses — the eth-flow quote’s gasEstimate (source “model”), not a limit. The call does the same work for every order (one new storage slot, one event; the calldata is fixed-size), so one figure holds: measured 2026-11-28, 56 216–56 264 over 11 measurements (the Base receipt of this module’s own mainnet eth-flow order, 56 228; a public Arbitrum one, 56 264 of L2 gas plus 428 of L1 data; and eth_simulateV1 of fresh orders of 0.0002, 0.1 and 5 ETH on Ethereum, Base and Arbitrum, 56 216–56 240). This is their median. The limit sent stays the account’s own estimate (ownGasEstimate), else ETH_FLOW_CREATE_GAS.