Docs

getBlockWithTransactions

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

Example

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

Parameters

Returns

The block for the given block number / block tag