getBlockDetails
Retrieve detailed information about a specific block on an Ethereum network using block number or tag. Optionally specify chain ID or provider for custom network queries.
Instructions
Get details about a block
Input Schema
Name | Required | Description | Default |
---|---|---|---|
blockTag | Yes | The block number or the string 'latest' | |
chainId | No | Optional. The chain ID to use. If provided with a named network and they don't match, the RPC's chain ID will be used. | |
provider | No | Optional. Either a network name or custom RPC URL. Use getSupportedNetworks to get a list of supported networks. |