/** * 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'; import type { LockHashAlgorithmEnum } from './LockHashAlgorithmEnum'; /** * * @export * @interface EmbeddedSecretLockTransactionDTO */ export interface EmbeddedSecretLockTransactionDTO { /** * Public key. * @type {string} * @memberof EmbeddedSecretLockTransactionDTO */ signerPublicKey: string; /** * Entity version. * @type {number} * @memberof EmbeddedSecretLockTransactionDTO */ version: number; /** * * @type {NetworkTypeEnum} * @memberof EmbeddedSecretLockTransactionDTO */ network: NetworkTypeEnum; /** * * @type {number} * @memberof EmbeddedSecretLockTransactionDTO */ type: number; /** * Address expressed in Base32 format. If the bit 0 of byte 0 is not set (like in 0x90), then it is a * regular address. Example: TAOXUJOTTW3W5XTBQMQEX3SQNA6MCUVGXLXR3TA. * Otherwise (e.g. 0x91) it represents a namespace id which starts at byte 1. Example: THBIMC3THGH5RUYAAAAAAAAAAAAAAAAAAAAAAAA * * @type {string} * @memberof EmbeddedSecretLockTransactionDTO */ recipientAddress: string; /** * * @type {string} * @memberof EmbeddedSecretLockTransactionDTO */ secret: string; /** * 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 EmbeddedSecretLockTransactionDTO */ mosaicId: string; /** * Absolute amount. An amount of 123456789 (absolute) for a mosaic with divisibility 6 means 123.456789 (relative). * @type {string} * @memberof EmbeddedSecretLockTransactionDTO */ amount: string; /** * Duration expressed in number of blocks. * @type {string} * @memberof EmbeddedSecretLockTransactionDTO */ duration: string; /** * * @type {LockHashAlgorithmEnum} * @memberof EmbeddedSecretLockTransactionDTO */ hashAlgorithm: LockHashAlgorithmEnum; } /** * Check if a given object implements the EmbeddedSecretLockTransactionDTO interface. */ export declare function instanceOfEmbeddedSecretLockTransactionDTO(value: Record): value is EmbeddedSecretLockTransactionDTO; export declare function EmbeddedSecretLockTransactionDTOFromJSON(json: any): EmbeddedSecretLockTransactionDTO; export declare function EmbeddedSecretLockTransactionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedSecretLockTransactionDTO; export declare function EmbeddedSecretLockTransactionDTOToJSON(json: any): EmbeddedSecretLockTransactionDTO; export declare function EmbeddedSecretLockTransactionDTOToJSONTyped(value?: EmbeddedSecretLockTransactionDTO | null, ignoreDiscriminator?: boolean): any;