/** * 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. */ /** * Hash lock transaction body that locks mosaics as a prerequisite for announcing an aggregate bonded transaction. * @export * @interface HashLockTransactionBodyDTO */ export interface HashLockTransactionBodyDTO { /** * 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 HashLockTransactionBodyDTO */ 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 HashLockTransactionBodyDTO */ amount: string; /** * Duration expressed in number of blocks. * @type {string} * @memberof HashLockTransactionBodyDTO */ duration: string; /** * 256-bit hash encoded as a 64-character hexadecimal string. * @type {string} * @memberof HashLockTransactionBodyDTO */ hash: string; } /** * Check if a given object implements the HashLockTransactionBodyDTO interface. */ export declare function instanceOfHashLockTransactionBodyDTO(value: Record): value is HashLockTransactionBodyDTO; export declare function HashLockTransactionBodyDTOFromJSON(json: any): HashLockTransactionBodyDTO; export declare function HashLockTransactionBodyDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): HashLockTransactionBodyDTO; export declare function HashLockTransactionBodyDTOToJSON(json: any): HashLockTransactionBodyDTO; export declare function HashLockTransactionBodyDTOToJSONTyped(value?: HashLockTransactionBodyDTO | null, ignoreDiscriminator?: boolean): any;