/** * Catapult REST Endpoints * OpenAPI Specification of catapult-rest * * The version of the OpenAPI document: 1.0.4 * * * 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'; /** * * @export * @interface BlockInfoDTOBlock */ export interface BlockInfoDTOBlock { /** * A number that allows uint 32 values. * @type {number} * @memberof BlockInfoDTOBlock */ size: number; /** * Entity's signature generated by the signer. * @type {string} * @memberof BlockInfoDTOBlock */ signature: string; /** * Public key. * @type {string} * @memberof BlockInfoDTOBlock */ signerPublicKey: string; /** * Entity version. * @type {number} * @memberof BlockInfoDTOBlock */ version: number; /** * * @type {NetworkTypeEnum} * @memberof BlockInfoDTOBlock */ network: NetworkTypeEnum; /** * * @type {number} * @memberof BlockInfoDTOBlock */ type: number; /** * Height of the blockchain. * @type {string} * @memberof BlockInfoDTOBlock */ height: string; /** * Number of milliseconds elapsed since the creation of the nemesis block. This value can be converted to epoch time by adding the network's 'epochAdjustment'. * @type {string} * @memberof BlockInfoDTOBlock */ timestamp: string; /** * Determines how hard is to harvest a new block, based on previous blocks. * @type {string} * @memberof BlockInfoDTOBlock */ difficulty: string; /** * 32-bytes VRF proof gamma. * @type {string} * @memberof BlockInfoDTOBlock */ proofGamma: string; /** * 16-bytes VRF proof verification hash. * @type {string} * @memberof BlockInfoDTOBlock */ proofVerificationHash: string; /** * 32-bytes VRF proof scalar. * @type {string} * @memberof BlockInfoDTOBlock */ proofScalar: string; /** * * @type {string} * @memberof BlockInfoDTOBlock */ previousBlockHash: string; /** * * @type {string} * @memberof BlockInfoDTOBlock */ transactionsHash: string; /** * * @type {string} * @memberof BlockInfoDTOBlock */ receiptsHash: string; /** * * @type {string} * @memberof BlockInfoDTOBlock */ stateHash: string; /** * Address encoded using a 32-character set. * @type {string} * @memberof BlockInfoDTOBlock */ beneficiaryAddress: string; /** * Fee multiplier applied to transactions contained in block. * @type {number} * @memberof BlockInfoDTOBlock */ feeMultiplier: number; /** * A number that allows uint 32 values. * @type {number} * @memberof BlockInfoDTOBlock */ votingEligibleAccountsCount: number; /** * A number that allows uint 64 values represented with a string. * @type {string} * @memberof BlockInfoDTOBlock */ harvestingEligibleAccountsCount: string; /** * Absolute amount. An amount of 123456789 (absolute) for a mosaic with divisibility 6 means 123.456789 (relative). * @type {string} * @memberof BlockInfoDTOBlock */ totalVotingBalance: string; /** * * @type {string} * @memberof BlockInfoDTOBlock */ previousImportanceBlockHash: string; } /** * Check if a given object implements the BlockInfoDTOBlock interface. */ export declare function instanceOfBlockInfoDTOBlock(value: Record): value is BlockInfoDTOBlock; export declare function BlockInfoDTOBlockFromJSON(json: any): BlockInfoDTOBlock; export declare function BlockInfoDTOBlockFromJSONTyped(json: any, ignoreDiscriminator: boolean): BlockInfoDTOBlock; export declare function BlockInfoDTOBlockToJSON(json: any): BlockInfoDTOBlock; export declare function BlockInfoDTOBlockToJSONTyped(value?: BlockInfoDTOBlock | null, ignoreDiscriminator?: boolean): any;