/** * 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'; /** * Base entity fields shared by blocks, transactions, and other on-chain entities. * Extended by VerifiableEntityDTO (signature) and SizePrefixedEntityDTO (size). * Used in BlockDTO, TransactionDTO, and EmbeddedTransactionDTO. * * @export * @interface EntityDTO */ export interface EntityDTO { /** * 256-bit public key encoded as a hexadecimal string (64 hex characters). * @type {string} * @memberof EntityDTO */ signerPublicKey: string; /** * Entity version. Indicates the schema variant for serialization and validation. * @type {number} * @memberof EntityDTO */ version: number; /** * Network type (mainnet or testnet). Ensures the entity targets the correct network. * @type {NetworkTypeEnum} * @memberof EntityDTO */ network: NetworkTypeEnum; /** * Entity type identifier (e.g. transaction type code, block type). Determines the entity schema. * @type {number} * @memberof EntityDTO */ type: number; } /** * Check if a given object implements the EntityDTO interface. */ export declare function instanceOfEntityDTO(value: Record): value is EntityDTO; export declare function EntityDTOFromJSON(json: any): EntityDTO; export declare function EntityDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): EntityDTO; export declare function EntityDTOToJSON(json: any): EntityDTO; export declare function EntityDTOToJSONTyped(value?: EntityDTO | null, ignoreDiscriminator?: boolean): any;