@signumjs/core
Version:
Principal package with functions and models for building Signum Network applications.
11 lines (10 loc) • 490 B
TypeScript
import { Transaction } from '../typings/transaction';
import { AttachmentVersionIdentifier } from '../typings/attachmentVersionIdentifier';
/**
* Gets the attachment version
* @param transaction The transaction to be checked
* @param versionIdentifier The versionIdentifier string, i.e. MultiOutCreation
* @return 0 if not existent, or version number
*
*/
export declare function getAttachmentVersion(transaction: Transaction, versionIdentifier: AttachmentVersionIdentifier): number;