useEpochByVirtualIndex
Fetches a single epoch by its virtual index, which is the epoch's dense insertion rank — 0, 1, 2, … with no gaps by construction.
Usage
import { } from "@cartesi/react";
function () {
const { , } = ({
: "0x...",
: 42n,
});
// render logic
}Return Type
The data is an Epoch:
import type {
,
,
} from "@cartesi/client";