Epoch report (report 207)
x207_epoch_reportOne epoch of the circle: its phase and deadlines from the contract (get_epoch), and from the read API the summary, the metrics (cleared ratio: the share of debt that netting removed, so only the net cash moves) and the settlements, i.e. who owes whom what in cash. Use it after an epoch closed; use x207_simulate_clearing to test a proposal before it is submitted. Returns {epoch, contract, summary, metrics, settlements, source, warnings}. An epoch that does not exist is an error; if the read API is down the contract record is still returned, with the failures in warnings.
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": "x207_epoch_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| epoch | No | Epoch number, 0 or more. Leave out for the current epoch, which is still open and has no settlements yet. | |
| settlements_limit | No | How many settlement rows to return, 1 to 200 (default 20). A busy epoch has more; raise it to see them all. |