Block
blockBlock by 64-char hex hash or by height.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hash_or_height": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f"
},
"name": "block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | ||
| hash_or_height | Yes | Block hash (hex) or numeric height as string. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Block hash | |
| bits | No | Difficulty bits | |
| size | No | Block size in bytes | |
| nonce | No | Block nonce | |
| height | No | Block height | |
| weight | No | Block weight | |
| version | No | Block version | |
| tx_count | No | Transaction count | |
| timestamp | No | Block timestamp (unix) | |
| difficulty | No | Difficulty | |
| mediantime | No | Median block time | |
| merkle_root | No | Merkle root hash | |
| previousblockhash | No | Previous block hash |