Data file EPOCH_TO_CHECKPOINTS.json contains the following information about Sui epochs:
start_checkpoint
is the checkpoint at which an epoch started;end_checkpoint
is the checkpoint at which the epoch ended;tx_number
is the total number of transactions in that epoch.
The purpose of this data file is twofold:
- To have a mapping from epoch to its boundaries expressed in checkpoints:
start_checkpoint
andend_checkpoint
. - To check whether
query_txs
scanned all the transactions for a given epoch by comparing the number of scanned transactions with the number of transactions seen on the Sui Explorer.
⚠️ This file is not machine-generated. It is human-generated from the Sui Explorer.
A snippet of this data file structure looks as follows:
{
"epochs": {
"0": {
"start_checkpoint": 0,
"end_checkpoint": 9769,
"tx_number": 9771
},
}