Function estimateTransactionByteLength

  • Estimates transaction byte length Context:

    1. Multi-sig transaction byte length increases by adding signatures which causes the incorrect fee estimation because the fee value is set while creating unsigned transaction
    2. Single-sig transaction byte length remain same due to empty message signature which allocates the space for signature

    Parameters

    Returns number

    Estimated transaction byte length

Generated using TypeDoc