Docs

getBlock

Get a specific block from a given network.

Example

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

Parameters

Returns

The block for the given block number / block tag