eth_getEpochStats
Returns the latest epoch statistics
Parameters
QUANTITY|TAG - integer of a block number, or the string ", "latest" or "pending", as in the default block parameter.
Returns
Object - An epoch statistics object with the following fields:
epoch: QUANTITY - The epoch number.start: QUANTITY - Unix timestamp (in nanoseconds) indicating when the epoch started.end: QUANTITY - Unix timestamp (in nanoseconds) indicating when the epoch ended.epochStateRoot: DATA, 32 Bytes - Hexadecimal hash of the epoch's state root.hash: DATA, 32 Bytes - Hexadecimal hash identifying the epoch.rules: Object - Network rules and configuration parameters for this epoch:blocks: Object - Block configuration parameters:maxBlockGas: QUANTITY - Maximum gas limit per block.maxEmptyBlockSkipPeriod: QUANTITY - Maximum time period (in nanoseconds) to skip empty blocks.
dag: Object - DAG configuration parameters:maxExtraData: QUANTITY - Maximum size of extra data in bytes.maxFreeParents: QUANTITY - Maximum number of free parent blocks.maxParents: QUANTITY - Maximum number of parent blocks.
economy: Object - Economic configuration parameters:blockMissedSlack: QUANTITY - Tolerance for missed blocks.minGasPrice: QUANTITY - Minimum gas price in wei.gas: Object - Gas configuration parameters:blockVoteGas: QUANTITY - Gas cost for block voting.blockVotesBaseGas: QUANTITY - Base gas cost for block votes.epochVoteGas: QUANTITY - Gas cost for epoch voting.eventGas: QUANTITY - Gas cost for events.extraDataGas: QUANTITY - Gas cost per byte of extra data.maxEventGas: QUANTITY - Maximum gas per event.misbehaviourProofGas: QUANTITY - Gas cost for misbehavior proofs.parentGas: QUANTITY - Gas cost for parent references.
longGasPower: Object - Long gas power configuration:allocPerSec: QUANTITY - Gas power allocation per second.maxAllocPeriod: QUANTITY - Maximum allocation period in nanoseconds.minStartupGas: QUANTITY - Minimum startup gas.startupAllocPeriod: QUANTITY - Startup allocation period in nanoseconds.
shortGasPower: Object - Short gas power configuration:allocPerSec: QUANTITY - Gas power allocation per second.maxAllocPeriod: QUANTITY - Maximum allocation period in nanoseconds.minStartupGas: QUANTITY - Minimum startup gas.startupAllocPeriod: QUANTITY - Startup allocation period in nanoseconds.
epochs: Object - Epoch configuration parameters:maxEpochDuration: QUANTITY - Maximum epoch duration in nanoseconds.maxEpochGas: QUANTITY - Maximum gas per epoch.
name: String - Network name (e.g., "main").networkID: QUANTITY - Network identifier.upgrades: Object - Network upgrade status:berlin: Boolean - Whether Berlin upgrade is active.llr: Boolean - Whether LLR upgrade is active.london: Boolean - Whether London upgrade is active.
validatorProfiles: Object - Detailed information about validators in this epoch, keyed by validator ID:pubKey: Object - Validator's public key information:raw: DATA - Hexadecimal representation of the validator's public key.type: QUANTITY - Type identifier for the public key format.
weight: QUANTITY - Validator's weight in the network (as a string to handle large numbers).
validatorStates: Array - Array of validator state information:gasRefund: QUANTITY - Amount of gas refunded to the validator.prevEpochEvent: Object - Previous epoch event information:gasPowerLeft: Object - Remaining gas power:gas: Array - Array of remaining gas power values.
id: String - Unique identifier for the previous epoch event.time: QUANTITY - Timestamp of the previous epoch event.
validators: Object - Validator values and weights:values: Object - Mapping of validator IDs to their respective values.
Example
Request
Result
Last updated