Function finalizeGasPrivate

  • Private

    Return a Gas object for use in a masterBroadcaster()-like call.

    Parameters

    • msgArray: IWrappedEncodeObject[]

      Collection of Tx instances to calculate gas from.

    • gasMultiplier: number

      Multiplier for calculating gas.

    • Optional gasOverride: number

      Value to replace calculated gas value.

    Returns IFinalGas

    • Gas object with best estimate based on input.