midnight_get_block
Query block details from the Midnight blockchain, including height, hash, timestamp, and transaction count, to monitor chain progress or inspect specific blocks.
Instructions
Query block information from the Midnight blockchain.
Returns:
Block height
Block hash
Timestamp
Transaction count
Use this tool to:
Get current block height (omit height parameter)
Inspect specific blocks
Monitor chain progress
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "midnight_get_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| height | No | ||
| network | No |