gasLimit
values. Once you move to production, those defaults become sub-optimal—quotes may look expensive and confuse users.
Stage | Default behaviour | Impact |
---|---|---|
PoC / testing | High gas limits keep dev friction near-zero | Faster iterations |
Production | High limits over-inflate the quoted price | Users see a larger “max cost” and may drop off |
meeClient.getQuote()
is a maximum. If you overshoot, MEE refunds all unspent gas to the user on-chain.gasLimit
keeps the quote realistic and improves conversion, without risking “out of gas” as long as you size it sensibly.
gasLimit
field (in wei) to each instruction’s data
object:
Start high
Trim the limit
Ship to production
High defaults are fine for development, but tune gas limits before mainnet launch
Quotes show maximum cost; unused gas is always refunded
Clear, lower quotes reduce sticker shock and user drop-off