/** * 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 { NetworkTypeEnum } from './NetworkTypeEnum'; import type { LockHashAlgorithmEnum } from './LockHashAlgorithmEnum'; /** * Embedded transaction variant of `SecretProofTransactionDTO`. * @export * @interface EmbeddedSecretProofTransactionDTO */ export interface EmbeddedSecretProofTransactionDTO { /** * 256-bit public key encoded as a hexadecimal string (64 hex characters). * @type {string} * @memberof EmbeddedSecretProofTransactionDTO */ signerPublicKey: string; /** * Entity version. Indicates the schema variant for serialization and validation. * @type {number} * @memberof EmbeddedSecretProofTransactionDTO */ version: number; /** * Network type (mainnet or testnet). Ensures the entity targets the correct network. * @type {NetworkTypeEnum} * @memberof EmbeddedSecretProofTransactionDTO */ network: NetworkTypeEnum; /** * Entity type identifier (e.g. transaction type code, block type). Determines the entity schema. * @type {number} * @memberof EmbeddedSecretProofTransactionDTO */ type: number; /** * 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 EmbeddedSecretProofTransactionDTO */ recipientAddress: string; /** * 256-bit hash encoded as a 64-character hexadecimal string. * @type {string} * @memberof EmbeddedSecretProofTransactionDTO */ secret: string; /** * * @type {LockHashAlgorithmEnum} * @memberof EmbeddedSecretProofTransactionDTO */ hashAlgorithm: LockHashAlgorithmEnum; /** * Proof data whose hash, using `hashAlgorithm`, must match `secret`. * @type {string} * @memberof EmbeddedSecretProofTransactionDTO */ proof: string; } /** * Check if a given object implements the EmbeddedSecretProofTransactionDTO interface. */ export declare function instanceOfEmbeddedSecretProofTransactionDTO(value: Record): value is EmbeddedSecretProofTransactionDTO; export declare function EmbeddedSecretProofTransactionDTOFromJSON(json: any): EmbeddedSecretProofTransactionDTO; export declare function EmbeddedSecretProofTransactionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedSecretProofTransactionDTO; export declare function EmbeddedSecretProofTransactionDTOToJSON(json: any): EmbeddedSecretProofTransactionDTO; export declare function EmbeddedSecretProofTransactionDTOToJSONTyped(value?: EmbeddedSecretProofTransactionDTO | null, ignoreDiscriminator?: boolean): any;