/** * 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. */ /** * Voting key linked to the account, valid for a range of finalization epochs. * @export * @interface AccountLinkVotingKeyDTO */ export interface AccountLinkVotingKeyDTO { /** * 256-bit public key encoded as a hexadecimal string (64 hex characters). * @type {string} * @memberof AccountLinkVotingKeyDTO */ publicKey: string; /** * [Finalization epoch](https://docs.symbol.dev/concepts/block.html#finalization) is a sequential * integer. Each epoch groups a set of blocks for finalization voting; the interval is defined * by the `votingSetGrouping` network property (e.g. 1440 blocks, ~12h on mainnet). * * @type {number} * @memberof AccountLinkVotingKeyDTO */ startEpoch: number; /** * [Finalization epoch](https://docs.symbol.dev/concepts/block.html#finalization) is a sequential * integer. Each epoch groups a set of blocks for finalization voting; the interval is defined * by the `votingSetGrouping` network property (e.g. 1440 blocks, ~12h on mainnet). * * @type {number} * @memberof AccountLinkVotingKeyDTO */ endEpoch: number; } /** * Check if a given object implements the AccountLinkVotingKeyDTO interface. */ export declare function instanceOfAccountLinkVotingKeyDTO(value: Record): value is AccountLinkVotingKeyDTO; export declare function AccountLinkVotingKeyDTOFromJSON(json: any): AccountLinkVotingKeyDTO; export declare function AccountLinkVotingKeyDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountLinkVotingKeyDTO; export declare function AccountLinkVotingKeyDTOToJSON(json: any): AccountLinkVotingKeyDTO; export declare function AccountLinkVotingKeyDTOToJSONTyped(value?: AccountLinkVotingKeyDTO | null, ignoreDiscriminator?: boolean): any;