getSkippedBlocksByEpoch
Get the list of non-executed blocks in an epoch. By default, Conflux only executes the last 200 blocks in each epoch (note that under normal circumstances, epochs should be much smaller).
Usage
example.ts
import { publicClient } from "./client";
const blockHashes = await publicClient.getSkippedBlocksByEpoch();Returns
Hash[]
The block hash array.
Parameters
epochTag (optional)
- Type: 
latest_state|latest_confirmed|latest_checkpoint|earliest - Defaut: 
latest_state 
const blockHashes = await publicClient.getSkippedBlocksByEpoch({
  epochTag: "latest_state", 
});epochNumber (optional)
- Type: 
bigint 
const blockHashes = await publicClient.getSkippedBlocksByEpoch({
  epochNumber: 1n, 
});