Check slashing window feasibility
restaking-risk_slashing-window-feasibilityCompare caller-supplied slashing stages with an available window. Each duration is an integer in seconds, or in epochs when its unit is epochs. Epoch length is seconds. Stages run in detection, evidence, submission, veto, execution, and finality order. Consecutive stages listed in parallel start together and the timeline uses the longest. A missing stage is incomplete and is not treated as zero. feasibility_status is feasible, margin_exceeded, infeasible, incomplete, or invalid. A fit is arithmetic only. No protocol parameters are fetched. Price $0.05 USDC. POST /api/v1/restaking-risk/slashing-window-feasibility. An unpaid call returns the x402 payment terms and does not run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"epoch": "<epoch>",
"window": "<window>"
},
"name": "restaking-risk_slashing-window-feasibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| veto | No | veto, object. Optional. | |
| epoch | Yes | epoch, object. Required. | |
| margin | No | margin, object. Optional. | |
| window | Yes | epoch, object. Required. | |
| evidence | No | evidence, object. Optional. | |
| finality | No | finality, object. Optional. | |
| parallel | No | parallel, array. Optional. | |
| detection | No | detection, object. Optional. | |
| execution | No | execution, object. Optional. | |
| submission | No | submission, object. Optional. | |
| alternatives | No | alternatives, array. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slack | No | slack. Object. | |
| stages | No | stages. Array. | |
| assumptions | No | assumptions. Array. | |
| bottlenecks | No | bottlenecks. Array. | |
| alternatives | No | alternatives. Array. | |
| infeasibility | No | infeasibility. Array. | |
| safety_margin | No | safety_margin. Object. | |
| missing_stages | No | missing_stages. Array. | |
| total_required | No | total_required. Object. | |
| available_window | No | available_window. Object. | |
| feasibility_status | No | feasibility_status. String. |