Btc Get Block
btc_get_blockBitcoin block summary by height or hash; omit both for the chain tip. When to use: an overview of a block, or confirming which block a payment landed in. Do not use: to fetch a single payment (that is btc_get_transaction). Returns: hash, height, time, txs, size, weight, confirmations, previousblockhash.
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": "btc_get_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| height | No | Block height (optional) | |
| blockhash | No | Block hash (optional; use instead of height) |