/** * Static class containing transaction version constants. * * Transaction format versions are defined in catapult-server in * each transaction's plugin source code. * * In [catapult-server](https://github.com/nemtech/catapult-server), the `DEFINE_TRANSACTION_CONSTANTS` macro * is used to define the `TYPE` and `VERSION` of the transaction format. * * @see https://github.com/nemtech/catapult-server/blob/main/plugins/txes/transfer/src/model/TransferTransaction.h#L37 */ export declare class TransactionVersion { /** * Transfer Transaction transaction version. * @type {number} */ static readonly TRANSFER = 1; /** * Register namespace transaction version. * @type {number} */ static readonly NAMESPACE_REGISTRATION = 1; /** * Mosaic definition transaction version. * @type {number} */ static readonly MOSAIC_DEFINITION = 1; /** * Mosaic supply change transaction. * @type {number} */ static readonly MOSAIC_SUPPLY_CHANGE = 1; /** * Mosaic supply revocation transaction. * @type {number} */ static readonly MOSAIC_SUPPLY_REVOCATION = 1; /** * Modify multisig account transaction version. * @type {number} */ static readonly MULTISIG_ACCOUNT_MODIFICATION = 1; /** * Aggregate complete transaction version. * @type {number} */ static readonly AGGREGATE_COMPLETE = 2; /** * Aggregate bonded transaction version */ static readonly AGGREGATE_BONDED = 2; /** * Lock transaction version * @type {number} */ static readonly HASH_LOCK = 1; static readonly PRICE = 1; /** * Secret Lock transaction version * @type {number} */ static readonly SECRET_LOCK = 1; /** * Secret Proof transaction version * @type {number} */ static readonly SECRET_PROOF = 1; /** * Address Alias transaction version * @type {number} */ static readonly ADDRESS_ALIAS = 1; /** * Mosaic Alias transaction version * @type {number} */ static readonly MOSAIC_ALIAS = 1; /** * Mosaic global restriction transaction version * @type {number} */ static readonly MOSAIC_GLOBAL_RESTRICTION = 1; /** * Mosaic address restriction transaction version * @type {number} */ static readonly MOSAIC_ADDRESS_RESTRICTION = 1; /** * Account Restriction address transaction version * @type {number} */ static readonly ACCOUNT_ADDRESS_RESTRICTION = 1; /** * Account Restriction mosaic transaction version * @type {number} */ static readonly ACCOUNT_MOSAIC_RESTRICTION = 1; /** * Account Restriction operation transaction version * @type {number} */ static readonly MODIFY_ACCOUNT_RESTRICTION_ENTITY_TYPE = 1; /** * Link account transaction version * @type {number} */ static readonly ACCOUNT_KEY_LINK = 1; /** * Account metadata transaction version * @type {number} */ static readonly ACCOUNT_METADATA = 1; /** * Mosaic metadata transaction version * @type {number} */ static readonly MOSAIC_METADATA = 1; /** * Namespace metadata transaction version * @type {number} */ static readonly NAMESPACE_METADATA = 1; /** * Vrf key link transaction version. * @type {number} */ static readonly VRF_KEY_LINK = 1; /** * Voting key link transaction version. * @type {number} */ static readonly VOTING_KEY_LINK = 1; /** * Node key link transaction version. * @type {number} */ static readonly NODE_KEY_LINK = 1; }