/** * 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. */ /** * An instance of a [mosaic](https://docs.symbol.dev/concepts/mosaic.html) held by an account * or transferred in a transaction. The amount is always expressed in the mosaic's smallest * (atomic) unit. For example, if the mosaic has a divisibility of 6, an amount of `1000000` * represents `1.000000` whole units. * * @export * @interface Mosaic */ export interface Mosaic { /** * Unique [mosaic](https://docs.symbol.dev/concepts/mosaic.html) identifier. * A 64-bit unsigned integer derived from the creator's address and a registration nonce, * encoded as a 16-character hexadecimal string. * * @type {string} * @memberof Mosaic */ id: 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 Mosaic */ amount: string; } /** * Check if a given object implements the Mosaic interface. */ export declare function instanceOfMosaic(value: Record): value is Mosaic; export declare function MosaicFromJSON(json: any): Mosaic; export declare function MosaicFromJSONTyped(json: any, ignoreDiscriminator: boolean): Mosaic; export declare function MosaicToJSON(json: any): Mosaic; export declare function MosaicToJSONTyped(value?: Mosaic | null, ignoreDiscriminator?: boolean): any;