provider_get_block
Retrieve Ethereum or EVM-compatible blockchain block details by specifying a block hash, number, or tag. Optionally include full transaction data for comprehensive insights.
Instructions
Get a block by number or hash
Input Schema
Name | Required | Description | Default |
---|---|---|---|
blockHashOrBlockTag | Yes | Block hash or block tag (latest, pending, etc.) | |
includeTransactions | No | Whether to include full transactions or just hashes |
Input Schema (JSON Schema)
{
"properties": {
"blockHashOrBlockTag": {
"description": "Block hash or block tag (latest, pending, etc.)",
"type": "string"
},
"includeTransactions": {
"description": "Whether to include full transactions or just hashes",
"type": "boolean"
}
},
"required": [
"blockHashOrBlockTag"
],
"type": "object"
}