Source
get_epoch_infoParameters
Configuration object containing the following fields:
Show propertiesHide properties
Show propertiesHide properties
Values:
processed, confirmed, finalizedSolana RPC uses the following commitment levels:| Value | Description |
|---|---|
processed | Return data from the highest slot this node has processed. This is the newest view, but the block can still be skipped. |
confirmed | Return data from the same slot as finalized. Kept for compatibility and planned for removal in a later release. |
finalized | Return data from the highest slot with a finalization certificate, from votes by 80% of stake in one round or 60% of stake in each of two rounds. This is the strongest commitment level. |
The minimum slot that the request can be evaluated at.
Example
{ "minContextSlot": 341197000 }
Result
Epoch info response object containing:
Show propertiesHide properties
Show propertiesHide properties
Absolute slot the node used to answer this request.
Block height the node used to answer this request.
Epoch that contains the slot used for this request.
Slot index within the current epoch.
Total number of slots in the current epoch.
Total number of transactions since genesis, if available.