/** * Catapult REST Endpoints * OpenAPI Specification of catapult-rest * * The version of the OpenAPI document: 1.0.5 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { NetworkTypeEnum } from './NetworkTypeEnum'; import type { MosaicSupplyChangeActionEnum } from './MosaicSupplyChangeActionEnum'; /** * Embedded transaction variant of `MosaicSupplyChangeTransactionDTO`. * @export * @interface EmbeddedMosaicSupplyChangeTransactionDTO */ export interface EmbeddedMosaicSupplyChangeTransactionDTO { /** * 256-bit public key encoded as a hexadecimal string (64 hex characters). * @type {string} * @memberof EmbeddedMosaicSupplyChangeTransactionDTO */ signerPublicKey: string; /** * Entity version. Indicates the schema variant for serialization and validation. * @type {number} * @memberof EmbeddedMosaicSupplyChangeTransactionDTO */ version: number; /** * Network type (mainnet or testnet). Ensures the entity targets the correct network. * @type {NetworkTypeEnum} * @memberof EmbeddedMosaicSupplyChangeTransactionDTO */ network: NetworkTypeEnum; /** * Entity type identifier (e.g. transaction type code, block type). Determines the entity schema. * @type {number} * @memberof EmbeddedMosaicSupplyChangeTransactionDTO */ type: number; /** * Unresolved mosaic identifier. * If the most significant bit of byte 0 is set, the value contains a namespace ID alias * instead of a concrete mosaic ID. * * @type {string} * @memberof EmbeddedMosaicSupplyChangeTransactionDTO */ mosaicId: string; /** * Absolute amount expressed in the mosaic's smallest (atomic) unit, with no decimal point. * For example, an amount of `123456789` for a mosaic with divisibility 6 represents * `123.456789` whole units. Encoded as a string to preserve precision, since the value * is an unsigned 64-bit integer. * * @type {string} * @memberof EmbeddedMosaicSupplyChangeTransactionDTO */ delta: string; /** * * @type {MosaicSupplyChangeActionEnum} * @memberof EmbeddedMosaicSupplyChangeTransactionDTO */ action: MosaicSupplyChangeActionEnum; } /** * Check if a given object implements the EmbeddedMosaicSupplyChangeTransactionDTO interface. */ export declare function instanceOfEmbeddedMosaicSupplyChangeTransactionDTO(value: Record): value is EmbeddedMosaicSupplyChangeTransactionDTO; export declare function EmbeddedMosaicSupplyChangeTransactionDTOFromJSON(json: any): EmbeddedMosaicSupplyChangeTransactionDTO; export declare function EmbeddedMosaicSupplyChangeTransactionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedMosaicSupplyChangeTransactionDTO; export declare function EmbeddedMosaicSupplyChangeTransactionDTOToJSON(json: any): EmbeddedMosaicSupplyChangeTransactionDTO; export declare function EmbeddedMosaicSupplyChangeTransactionDTOToJSONTyped(value?: EmbeddedMosaicSupplyChangeTransactionDTO | null, ignoreDiscriminator?: boolean): any;