/** * 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. */ /** * Metadata for a statement containing the block timestamp when it was recorded. * @export * @interface StatementMetaDTO */ export interface StatementMetaDTO { /** * Network timestamp in **milliseconds** since the creation of the nemesis (first) block. * Used for block timestamps, transaction deadlines, and time synchronization. * * **Finding the nemesis block time:** The `epochAdjustment` field returned by the * [`/network/properties`] endpoint gives the nemesis block creation time in seconds since the * [UNIX epoch](https://en.wikipedia.org/wiki/Unix_time). For Symbol MAINNET this is * always `1615853185` (15 March 2021, 00:06:25 UTC). * * **Converting to real time:** Add this timestamp (ms) to `epochAdjustment × 1000` (ms), then use standard date functions. * Note: `epochAdjustment` may be returned as a string like `"1615853185s"`; use the numeric part. * * @type {string} * @memberof StatementMetaDTO */ timestamp: string; } /** * Check if a given object implements the StatementMetaDTO interface. */ export declare function instanceOfStatementMetaDTO(value: Record): value is StatementMetaDTO; export declare function StatementMetaDTOFromJSON(json: any): StatementMetaDTO; export declare function StatementMetaDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): StatementMetaDTO; export declare function StatementMetaDTOToJSON(json: any): StatementMetaDTO; export declare function StatementMetaDTOToJSONTyped(value?: StatementMetaDTO | null, ignoreDiscriminator?: boolean): any;