/** * 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. */ import type { LockHashAlgorithmEnum } from './LockHashAlgorithmEnum'; /** * Secret proof transaction body that reveals the proof needed to complete a secret lock. * @export * @interface SecretProofTransactionBodyDTO */ export interface SecretProofTransactionBodyDTO { /** * 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 SecretProofTransactionBodyDTO */ recipientAddress: string; /** * 256-bit hash encoded as a 64-character hexadecimal string. * @type {string} * @memberof SecretProofTransactionBodyDTO */ secret: string; /** * * @type {LockHashAlgorithmEnum} * @memberof SecretProofTransactionBodyDTO */ hashAlgorithm: LockHashAlgorithmEnum; /** * Proof data whose hash, using `hashAlgorithm`, must match `secret`. * @type {string} * @memberof SecretProofTransactionBodyDTO */ proof: string; } /** * Check if a given object implements the SecretProofTransactionBodyDTO interface. */ export declare function instanceOfSecretProofTransactionBodyDTO(value: Record): value is SecretProofTransactionBodyDTO; export declare function SecretProofTransactionBodyDTOFromJSON(json: any): SecretProofTransactionBodyDTO; export declare function SecretProofTransactionBodyDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecretProofTransactionBodyDTO; export declare function SecretProofTransactionBodyDTOToJSON(json: any): SecretProofTransactionBodyDTO; export declare function SecretProofTransactionBodyDTOToJSONTyped(value?: SecretProofTransactionBodyDTO | null, ignoreDiscriminator?: boolean): any;