withMargin

fun withMargin(gas: BigInteger, marginPercent: Int = DEFAULT_MARGIN_PERCENT): BigInteger

Applies a percentage safety margin to gas, rounding up.