MCP Ethers Wallet

getBlockDetails

Get details about a block

Input Schema

NameRequiredDescriptionDefault
blockTagYesThe block number or the string 'latest'
chainIdNoOptional. The chain ID to use. If provided with a named network and they don't match, the RPC's chain ID will be used.
providerNoOptional. Either a network name or custom RPC URL. Use getSupportedNetworks to get a list of supported networks.

Input Schema (JSON Schema)

{ "properties": { "blockTag": { "description": "The block number or the string 'latest'", "type": [ "string", "number" ] }, "chainId": { "description": "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.", "type": "number" }, "provider": { "description": "Optional. Either a network name or custom RPC URL. Use getSupportedNetworks to get a list of supported networks.", "type": "string" } }, "required": [ "blockTag" ], "type": "object" }