Description: Retrieves the IDs of all epoch events with no descendants.
Parameters
Name
Type
Description
ctx
context
Execution context.
epoch
integer
The epoch of the block. - -2: Returns heads for the latest epoch. - -1: Returns heads for the latest sealed epoch.
-2
-1
Returns
ids
IDs of all epoch events with no descendants.