Docs

getBlockNumber

Get the latest block number from a given network.

Example

const block = await getBlockNumber({
  network: "ethereum",
});

Parameters

Returns

The latest block number