getBlock
Get a specific block from a given network.
function getBlock(params: GetBlockParams): Promise<Block>;
Example
const block = await getBlock({
network: "ethereum",
block: 12345678,
});
Parameters
Returns
the block for the given block number / block tag
type ReturnType = Promise<Block>;