get_block_info
Retrieve block details such as timestamp, gas used, burnt fees, and transaction count from a blockchain. Optionally include transaction hashes for detailed analysis, useful for high-traffic chains.
Instructions
Get block information like timestamp, gas used, burnt fees, transaction count etc. Can optionally include the list of transaction hashes contained in the block. Transaction hashes are omitted by default; request them only when you truly need them, because on high-traffic chains the list may exhaust the context.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chain_id | Yes | The ID of the blockchain | |
include_transactions | No | If true, includes a list of transaction hashes from the block. | |
number_or_hash | Yes | Block number or hash |