Function updateTransactionMass

  • updateTransactionMass() updates the mass property of the passed transaction. If the transaction is invalid, the function throws an error.

    The function returns true if the mass is within the maximum standard transaction mass and the transaction mass is updated. Otherwise, the function returns false.

    This is similar to calculateTransactionMass() but modifies the supplied Transaction object.

    Parameters

    Returns boolean

Generated using TypeDoc