/** * 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. */ /** * * @export * @interface HashLockTransactionBodyDTO */ export interface HashLockTransactionBodyDTO { /** * Mosaic identifier. If the most significant bit of byte 0 is set, a namespaceId (alias) * is used instead of the real mosaic identifier. * * @type {string} * @memberof HashLockTransactionBodyDTO */ mosaicId: string; /** * Absolute amount. An amount of 123456789 (absolute) for a mosaic with divisibility 6 means 123.456789 (relative). * @type {string} * @memberof HashLockTransactionBodyDTO */ amount: string; /** * Duration expressed in number of blocks. * @type {string} * @memberof HashLockTransactionBodyDTO */ duration: 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;