• Apply a percentage margin to a gas estimate. Rounds down; a zero margin is the estimate.

    Parameters

    • estimate: bigint
    • marginPercent: number

    Returns bigint