summarize_block
Get a compact summary of coin movements in a Chia block, including counts, totals, net, unique puzzle hashes, and top senders/receivers, without returning large addition and removal arrays.
Instructions
Get a compact summary of all coin movements in a block. Instead of returning the full (often 1+ MB) additions and removals arrays, returns: additions_count, removals_count, total_added_mojos, total_removed_mojos, net_mojos, unique_puzzle_hashes, and four ranked arrays — top_additions, top_removals, top_receivers, and top_senders (the N largest by amount, controlled by the top_n parameter, default 10). Non-transaction blocks return zero counts since they carry no spends. Much more useful than get_additions_and_removals for understanding what happened in a block without blowing the context window. Accepts either header_hash or height (height resolves to header_hash via get_block_record_by_height).
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": "summarize_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Number of largest coin movements to include (default 10) | |
| height | No | Block height. If provided, header_hash is resolved automatically via get_block_record_by_height. | |
| header_hash | No | The header hash of the block (0x-prefixed, 32 bytes hex). Provide this OR height. |