/** * 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. */ /** * Mosaic supply revocation transaction body with the source account, mosaic, and revoked amount. * @export * @interface MosaicSupplyRevocationTransactionBodyDTO */ export interface MosaicSupplyRevocationTransactionBodyDTO { /** * Unresolved address encoded as a 48-character hexadecimal string (24 bytes). * If bit 0 of byte 0 is not set, the value represents a regular address. * Otherwise, it represents a namespace ID alias encoded as an unresolved address. * * @type {string} * @memberof MosaicSupplyRevocationTransactionBodyDTO */ sourceAddress: string; /** * 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 MosaicSupplyRevocationTransactionBodyDTO */ 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 MosaicSupplyRevocationTransactionBodyDTO */ amount: string; } /** * Check if a given object implements the MosaicSupplyRevocationTransactionBodyDTO interface. */ export declare function instanceOfMosaicSupplyRevocationTransactionBodyDTO(value: Record): value is MosaicSupplyRevocationTransactionBodyDTO; export declare function MosaicSupplyRevocationTransactionBodyDTOFromJSON(json: any): MosaicSupplyRevocationTransactionBodyDTO; export declare function MosaicSupplyRevocationTransactionBodyDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): MosaicSupplyRevocationTransactionBodyDTO; export declare function MosaicSupplyRevocationTransactionBodyDTOToJSON(json: any): MosaicSupplyRevocationTransactionBodyDTO; export declare function MosaicSupplyRevocationTransactionBodyDTOToJSONTyped(value?: MosaicSupplyRevocationTransactionBodyDTO | null, ignoreDiscriminator?: boolean): any;