Function getAttachmentVersion

  • Gets the attachment version

    Parameters

    • transaction: Transaction

      The transaction to be checked

    • versionIdentifier: string

      The versionIdentifier string, i.e. MultiOutCreation

    Returns number

    0 if not existent, or version number