getBlockWithTransactions

Get a specific block (with the transactions contained in it) from a given network.

Example

const block = await getBlockWithTransactions({
network: "ethereum",
block: 12345678,
});
function getBlockWithTransactions(
): Promise<BlockWithTransactions>;

Parameters

Returns

let returnType: Promise<BlockWithTransactions>;

The block for the given block number / block tag