/** * Catapult REST Endpoints * OpenAPI Specification of catapult-rest * * The version of the OpenAPI document: 1.0.4 * * * 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'; /** * * @export * @interface EmbeddedMosaicDefinitionTransactionDTO */ export interface EmbeddedMosaicDefinitionTransactionDTO { /** * Public key. * @type {string} * @memberof EmbeddedMosaicDefinitionTransactionDTO */ signerPublicKey: string; /** * Entity version. * @type {number} * @memberof EmbeddedMosaicDefinitionTransactionDTO */ version: number; /** * * @type {NetworkTypeEnum} * @memberof EmbeddedMosaicDefinitionTransactionDTO */ network: NetworkTypeEnum; /** * * @type {number} * @memberof EmbeddedMosaicDefinitionTransactionDTO */ type: number; /** * Mosaic identifier. * @type {string} * @memberof EmbeddedMosaicDefinitionTransactionDTO */ id: string; /** * Duration expressed in number of blocks. * @type {string} * @memberof EmbeddedMosaicDefinitionTransactionDTO */ duration: string; /** * A number that allows uint 32 values. * @type {number} * @memberof EmbeddedMosaicDefinitionTransactionDTO */ nonce: number; /** * - 0x00 (none) - No flags present. * - 0x01 (supplyMutable) - Mosaic supports supply changes even when mosaic owner owns partial supply. * - 0x02 (transferable) - Mosaic supports transfers between arbitrary accounts. When not set, mosaic can only be transferred to and from mosaic owner. * - 0x04 (restrictable) - Mosaic supports custom restrictions configured by mosaic owner. * - 0x08 (revokable) - Mosaic allows creator to revoke balances from another user. * * @type {number} * @memberof EmbeddedMosaicDefinitionTransactionDTO */ flags: number; /** * Determines up to what decimal place the mosaic can be divided. * Divisibility of 3 means that a mosaic can be divided into smallest parts of 0.001 mosaics. * The divisibility must be in the range of 0 and 6. * * @type {number} * @memberof EmbeddedMosaicDefinitionTransactionDTO */ divisibility: number; } /** * Check if a given object implements the EmbeddedMosaicDefinitionTransactionDTO interface. */ export declare function instanceOfEmbeddedMosaicDefinitionTransactionDTO(value: Record): value is EmbeddedMosaicDefinitionTransactionDTO; export declare function EmbeddedMosaicDefinitionTransactionDTOFromJSON(json: any): EmbeddedMosaicDefinitionTransactionDTO; export declare function EmbeddedMosaicDefinitionTransactionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedMosaicDefinitionTransactionDTO; export declare function EmbeddedMosaicDefinitionTransactionDTOToJSON(json: any): EmbeddedMosaicDefinitionTransactionDTO; export declare function EmbeddedMosaicDefinitionTransactionDTOToJSONTyped(value?: EmbeddedMosaicDefinitionTransactionDTO | null, ignoreDiscriminator?: boolean): any;