epoch

Fetch an epoch by its ID, or fetch the latest epoch if no ID is provided.

Returns null if the epoch does not exist yet, or was pruned.