# Functions
GetBeginNodeID gets node id from last ancestor.
Get the maximum referenced node id of each branch.
PaginateHistory return paged history.
ReadFullPageV2Events reads a full page of history events from HistoryManager.
ReadFullPageV2EventsByBatch reads a full page of history events by batch from HistoryManager.