BRAINIAC Restaking Risk

Paid Restaking Risk API via x402. Unpaid tool calls return 402.

使うべきか

品質と安全性

A
説明の品質
100%
スキーマの完全性
100%
命名の品質
35%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(7)

  • LOWTool 'restaking-risk_cross-network-slashing-exposure' doesn't follow camelCase/snake_caserestaking-risk_cross-network-slashing-exposure 内
  • LOWTool 'restaking-risk_cross-network-slashing-exposure' name length outside 3-30 rangerestaking-risk_cross-network-slashing-exposure 内
  • LOWTool 'restaking-risk_slashing-correlation' doesn't follow camelCase/snake_caserestaking-risk_slashing-correlation 内
  • LOWTool 'restaking-risk_slashing-correlation' name length outside 3-30 rangerestaking-risk_slashing-correlation 内
  • LOWTool 'restaking-risk_slashing-window-feasibility' doesn't follow camelCase/snake_caserestaking-risk_slashing-window-feasibility 内
  • LOWTool 'restaking-risk_slashing-window-feasibility' name length outside 3-30 rangerestaking-risk_slashing-window-feasibility 内
  • LOWTool 'restaking-risk_exit-window' doesn't follow camelCase/snake_caserestaking-risk_exit-window 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~7,389トークン数(ツール定義)
~21.0 KB一般的なレスポンスサイズ
注意への影響は大きい(128k コンテキストの 5.77%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "restaking-risk": {
      "url": "https://www.brainiac.software/mcp/restaking-risk"
    }
  }
}

リモートエンドポイント

https://www.brainiac.software/mcp/restaking-riskstreamable-http

できること

ツール一覧

ツール(4)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢restaking-risk_cross-network-slashing-exposure(vaults, allocations, reuse, slashing, scenarios, ...)

Calculate unique collateral, gross exposure, and overlap when caller-supplied vault collateral is reused across networks. Docs: https://www.brainiac.software/api/restaking-risk/cross-network-slashing-exposure Keywords: before you restake or reuse collateral, vaults, allocations, slashing, scenarios, reuse, prices, rates, audit status, audit_status, total collateral, total_collateral, unique collateral, unique_collateral, unique collateral value.

入力スキーマ

{
  "type": "object",
  "properties": {
    "vaults": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "id, string, length 1 to 80. Required."
          },
          "collateral": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "asset": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80,
                  "description": "id, string, length 1 to 80. Required."
                },
                "amount": {
                  "type": "string",
                  "pattern": "^(0|[1-9][0-9]{0,77})$",
                  "description": "amount, string. Required."
                }
              },
              "required": [
                "asset",
                "amount"
              ],
              "additionalProperties": false,
              "description": "item, object. Required."
            },
            "description": "collateral, array. Required."
          }
        },
        "required": [
          "id",
          "collateral"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      },
      "description": "vaults, array. Required."
    },
    "allocations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "id, string, length 1 to 80. Required."
          },
          "vault": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "id, string, length 1 to 80. Required."
          },
          "network": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "id, string, length 1 to 80. Required."
          },
          "operator": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "id, string, length 1 to 80. Required."
          },
          "asset": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "id, string, length 1 to 80. Required."
          },
          "amount": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,77})$",
            "description": "amount, string. Required."
          }
        },
        "required": [
          "id",
          "vault",
          "network",
          "operator",
          "asset",
          "amount"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      },
      "description": "allocations, array. Required."
    },
    "reuse": {
      "description": "reuse, array. Optional.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "id, string, length 1 to 80. Required."
          },
          "asset": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "id, string, length 1 to 80. Required."
          },
          "amount": {
            "type": "string",
            "pattern": "^(0|[1-9][0-9]{0,77})$",
            "description": "amount, string. Required."
          },
          "allocations": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80,
              "description": "id, string, length 1 to 80. Required."
            },
            "description": "allocations, array. Required."
          }
        },
        "required": [
          "id",
          "asset",
          "amount",
          "allocations"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      }
    },
    "slashing": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "network": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "id, string, length 1 to 80. Required."
          },
          "operator": {
            "description": "operator, string, length 1 to 80. Optional.",
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "percent": {
            "type": "string",
            "pattern": "^(100(?:\\.0{1,4})?|(?:0|[1-9]\\d?)(?:\\.\\d{1,4})?)$",
            "description": "percent, string. Required."
          }
        },
        "required": [
          "network",
          "percent"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      },
      "description": "slashing, array. Required."
    },
    "scenarios": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "id, string, length 1 to 80. Required."
          },
          "ordering": {
            "type": "string",
            "enum": [
              "simultaneous",
              "sequential"
            ],
            "description": "ordering, string, one of simultaneous, sequential. Required."
          },
          "events": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "network": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80,
                  "description": "id, string, length 1 to 80. Required."
                },
                "operator": {
                  "description": "operator, string, length 1 to 80. Optional.",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80
                },
                "percent": {
                  "description": "percent, string. Optional.",
                  "type": "string",
                  "pattern": "^(100(?:\\.0{1,4})?|(?:0|[1-9]\\d?)(?:\\.\\d{1,4})?)$"
                }
              },
              "required": [
                "network"
              ],
              "additionalProperties": false,
              "description": "item, object. Required."
            },
            "description": "events, array. Required."
          }
        },
        "required": [
          "id",
          "ordering",
          "events"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      },
      "description": "scenarios, array. Required."
    },
    "prices": {
      "description": "prices, array. Optional.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "asset": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "id, string, length 1 to 80. Required."
          },
          "quote": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "id, string, length 1 to 80. Required."
          },
          "price": {
            "type": "string",
            "pattern": "^(?:0|[1-9]\\d{0,24})(?:\\.\\d{1,8})?$",
            "description": "price, string. Required."
          }
        },
        "required": [
          "asset",
          "quote",
          "price"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      }
    },
    "rates": {
      "description": "rates, array. Optional.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "base": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "id, string, length 1 to 80. Required."
          },
          "quote": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "id, string, length 1 to 80. Required."
          },
          "rate": {
            "type": "string",
            "pattern": "^(?:0|[1-9]\\d{0,24})(?:\\.\\d{1,8})?$",
            "description": "price, string. Required."
          }
        },
        "required": [
          "base",
          "quote",
          "rate"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      }
    }
  },
  "required": [
    "vaults",
    "allocations",
    "slashing",
    "scenarios"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "audit_status": {
      "type": "string",
      "description": "audit_status. String."
    },
    "total_collateral": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "asset": {
            "type": "string",
            "description": "asset. String."
          },
          "amount": {
            "type": "string",
            "description": "amount. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "total_collateral. Array."
    },
    "unique_collateral": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "asset": {
            "type": "string",
            "description": "asset. String."
          },
          "amount": {
            "type": "string",
            "description": "amount. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "unique_collateral. Array."
    },
    "unique_collateral_value": {
      "type": "object",
      "properties": {
        "quote": {
          "type": "string",
          "description": "quote. String."
        },
        "amount": {
          "type": "string",
          "description": "amount. String."
        },
        "detail": {
          "type": "string",
          "description": "detail. String."
        }
      },
      "additionalProperties": {},
      "description": "unique_collateral_value. Object."
    },
    "total_gross_exposure": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "asset": {
            "type": "string",
            "description": "asset. String."
          },
          "amount": {
            "type": "string",
            "description": "amount. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "total_gross_exposure. Array."
    },
    "total_gross_exposure_value": {
      "type": "object",
      "properties": {
        "quote": {
          "type": "string",
          "description": "quote. String."
        },
        "amount": {
          "type": "string",
          "description": "amount. String."
        },
        "detail": {
          "type": "string",
          "description": "detail. String."
        }
      },
      "additionalProperties": {},
      "description": "total_gross_exposure_value. Object."
    },
    "overlapping_exposure": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "asset": {
            "type": "string",
            "description": "asset. String."
          },
          "amount": {
            "type": "string",
            "description": "amount. String."
          },
          "reuse_id": {
            "type": "string",
            "description": "reuse_id. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "overlapping_exposure. Array."
    },
    "network_exposure": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "network": {
            "type": "string",
            "description": "network. String."
          },
          "asset": {
            "type": "string",
            "description": "asset. String."
          },
          "gross_amount": {
            "type": "string",
            "description": "gross_amount. String."
          },
          "unique_amount": {
            "type": "string",
            "description": "unique_amount. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "network_exposure. Array."
    },
    "vault_exposure": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "vault": {
            "type": "string",
            "description": "vault. String."
          },
          "asset": {
            "type": "string",
            "description": "asset. String."
          },
          "collateral_amount": {
            "type": "string",
            "description": "collateral_amount. String."
          },
          "gross_amount": {
            "type": "string",
            "description": "gross_amount. String."
          },
          "unique_amount": {
            "type": "string",
            "description": "unique_amount. String."
          },
          "shared_amount": {
            "type": "string",
            "description": "shared_amount. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "vault_exposure. Array."
    },
    "scenarios": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "id. String."
          },
          "ordering": {
            "type": "string",
            "description": "ordering. String."
          },
          "losses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "asset": {
                  "type": "string",
                  "description": "asset. String."
                },
                "amount": {
                  "type": "string",
                  "description": "amount. String."
                },
                "detail": {
                  "type": "string",
                  "description": "detail. String."
                }
              },
              "additionalProperties": {},
              "description": "item. Object."
            },
            "description": "losses. Array."
          },
          "loss_value": {
            "type": "object",
            "properties": {
              "quote": {
                "type": "string",
                "description": "quote. String."
              },
              "amount": {
                "type": "string",
                "description": "amount. String."
              },
              "detail": {
                "type": "string",
                "description": "detail. String."
              }
            },
            "additionalProperties": {},
            "description": "loss_value. Object."
          },
          "remaining": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "asset": {
                  "type": "string",
                  "description": "asset. String."
                },
                "amount": {
                  "type": "string",
                  "description": "amount. String."
                },
                "detail": {
                  "type": "string",
                  "description": "detail. String."
                }
              },
              "additionalProperties": {},
              "description": "item. Object."
            },
            "description": "remaining. Array."
          },
          "events": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "index": {
                  "type": "number",
                  "description": "index. Number."
                },
                "network": {
                  "type": "string",
                  "description": "network. String."
                },
                "operator": {
                  "type": "string",
                  "description": "operator. String."
                },
                "percent": {
                  "type": "string",
                  "description": "percent. String."
                },
                "asset_losses": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "asset": {
                        "type": "string",
                        "description": "asset. String."
                      },
                      "amount": {
                        "type": "string",
                        "description": "amount. String."
                      },
                      "detail": {
                        "type": "string",
                        "description": "detail. String."
                      }
                    },
                    "additionalProperties": {},
                    "description": "item. Object."
                  },
                  "description": "asset_losses. Array."
                },
                "remaining": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "asset": {
                        "type": "string",
                        "description": "asset. String."
                      },
                      "amount": {
                        "type": "string",
                        "description": "amount. String."
                      },
                      "detail": {
                        "type": "string",
                        "description": "detail. String."
                      }
                    },
                    "additionalProperties": {},
                    "description": "item. Object."
                  },
                  "description": "remaining. Array."
                },
                "detail": {
                  "type": "string",
                  "description": "detail. String."
                }
              },
              "additionalProperties": {},
              "description": "item. Object."
            },
            "description": "events. Array."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "scenarios. Array."
    },
    "maximum_modeled_loss": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "asset": {
            "type": "string",
            "description": "asset. String."
          },
          "amount": {
            "type": "string",
            "description": "amount. String."
          },
          "scenario_id": {
            "type": "string",
            "description": "scenario_id. String."
          },
          "ordering": {
            "type": "string",
            "description": "ordering. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "maximum_modeled_loss. Array."
    },
    "maximum_modeled_loss_value": {
      "type": "object",
      "properties": {
        "quote": {
          "type": "string",
          "description": "quote. String."
        },
        "amount": {
          "type": "string",
          "description": "amount. String."
        },
        "scenario_id": {
          "type": "string",
          "description": "scenario_id. String."
        },
        "detail": {
          "type": "string",
          "description": "detail. String."
        }
      },
      "additionalProperties": {},
      "description": "maximum_modeled_loss_value. Object."
    },
    "concentration": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "kind. String."
          },
          "id": {
            "type": "string",
            "description": "id. String."
          },
          "asset": {
            "type": "string",
            "description": "asset. String."
          },
          "share": {
            "type": "string",
            "description": "share. String."
          },
          "gross_amount": {
            "type": "string",
            "description": "gross_amount. String."
          },
          "total_gross": {
            "type": "string",
            "description": "total_gross. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "concentration. Array."
    },
    "cascading_paths": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "reuse_id": {
            "type": "string",
            "description": "reuse_id. String."
          },
          "asset": {
            "type": "string",
            "description": "asset. String."
          },
          "amount": {
            "type": "string",
            "description": "amount. String."
          },
          "vaults": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "vaults. Array."
          },
          "networks": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "networks. Array."
          },
          "operators": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "operators. Array."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "cascading_paths. Array."
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "code. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "warnings. Array."
    },
    "assumptions": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "assumptions. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢restaking-risk_slashing-correlation(operators)

Cap each operator's network weights at 100 percent of its stake, then weight that exposure by stake. Docs: https://www.brainiac.software/api/restaking-risk/slashing-correlation Keywords: before you restake or reuse collateral, operators, maximum slashing exposure percentage, maximum_slashing_exposure_percentage, correlation risk score, correlation_risk_score, Score cross-network slashing correlation, slashing correlation.

入力スキーマ

{
  "type": "object",
  "properties": {
    "operators": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "id, string, length 1 to 80. Required."
          },
          "stake": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991,
            "description": "stake, integer, from any to 9007199254740991. Required."
          },
          "networks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80,
                  "description": "id, string, length 1 to 80. Required."
                },
                "weight": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 100,
                  "description": "weight, integer, from 1 to 100. Required."
                }
              },
              "required": [
                "id",
                "weight"
              ],
              "description": "item, object. Required."
            },
            "description": "networks, array. Required."
          }
        },
        "required": [
          "id",
          "stake",
          "networks"
        ],
        "description": "item, object. Required."
      },
      "description": "operators, array. Required."
    }
  },
  "required": [
    "operators"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "maximum_slashing_exposure_percentage": {
      "type": "number",
      "description": "maximum_slashing_exposure_percentage. Number."
    },
    "correlation_risk_score": {
      "type": "number",
      "description": "correlation_risk_score. Number."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢restaking-risk_slashing-window-feasibility(epoch, window, detection, evidence, submission, ...)

Compare caller-supplied slashing stages with an available window. Docs: https://www.brainiac.software/api/restaking-risk/slashing-window-feasibility Keywords: before you restake or reuse collateral, epoch, window, detection, evidence, submission, veto, execution, finality, margin, parallel, alternatives, feasibility status, feasibility_status, available window.

入力スキーマ

{
  "type": "object",
  "properties": {
    "epoch": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "pattern": "^(0|[1-9][0-9]{0,12})$",
          "description": "value, string. Required."
        },
        "unit": {
          "type": "string",
          "enum": [
            "seconds",
            "epochs"
          ],
          "description": "unit, string, one of seconds, epochs. Required."
        }
      },
      "required": [
        "value",
        "unit"
      ],
      "additionalProperties": false,
      "description": "epoch, object. Required."
    },
    "window": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "pattern": "^(0|[1-9][0-9]{0,12})$",
          "description": "value, string. Required."
        },
        "unit": {
          "type": "string",
          "enum": [
            "seconds",
            "epochs"
          ],
          "description": "unit, string, one of seconds, epochs. Required."
        }
      },
      "required": [
        "value",
        "unit"
      ],
      "additionalProperties": false,
      "description": "epoch, object. Required."
    },
    "detection": {
      "description": "detection, object. Optional.",
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "pattern": "^(0|[1-9][0-9]{0,12})$",
          "description": "value, string. Required."
        },
        "unit": {
          "type": "string",
          "enum": [
            "seconds",
            "epochs"
          ],
          "description": "unit, string, one of seconds, epochs. Required."
        }
      },
      "required": [
        "value",
        "unit"
      ],
      "additionalProperties": false
    },
    "evidence": {
      "description": "evidence, object. Optional.",
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "pattern": "^(0|[1-9][0-9]{0,12})$",
          "description": "value, string. Required."
        },
        "unit": {
          "type": "string",
          "enum": [
            "seconds",
            "epochs"
          ],
          "description": "unit, string, one of seconds, epochs. Required."
        }
      },
      "required": [
        "value",
        "unit"
      ],
      "additionalProperties": false
    },
    "submission": {
      "description": "submission, object. Optional.",
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "pattern": "^(0|[1-9][0-9]{0,12})$",
          "description": "value, string. Required."
        },
        "unit": {
          "type": "string",
          "enum": [
            "seconds",
            "epochs"
          ],
          "description": "unit, string, one of seconds, epochs. Required."
        }
      },
      "required": [
        "value",
        "unit"
      ],
      "additionalProperties": false
    },
    "veto": {
      "description": "veto, object. Optional.",
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "pattern": "^(0|[1-9][0-9]{0,12})$",
          "description": "value, string. Required."
        },
        "unit": {
          "type": "string",
          "enum": [
            "seconds",
            "epochs"
          ],
          "description": "unit, string, one of seconds, epochs. Required."
        }
      },
      "required": [
        "value",
        "unit"
      ],
      "additionalProperties": false
    },
    "execution": {
      "description": "execution, object. Optional.",
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "pattern": "^(0|[1-9][0-9]{0,12})$",
          "description": "value, string. Required."
        },
        "unit": {
          "type": "string",
          "enum": [
            "seconds",
            "epochs"
          ],
          "description": "unit, string, one of seconds, epochs. Required."
        }
      },
      "required": [
        "value",
        "unit"
      ],
      "additionalProperties": false
    },
    "finality": {
      "description": "finality, object. Optional.",
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "pattern": "^(0|[1-9][0-9]{0,12})$",
          "description": "value, string. Required."
        },
        "unit": {
          "type": "string",
          "enum": [
            "seconds",
            "epochs"
          ],
          "description": "unit, string, one of seconds, epochs. Required."
        }
      },
      "required": [
        "value",
        "unit"
      ],
      "additionalProperties": false
    },
    "margin": {
      "description": "margin, object. Optional.",
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "pattern": "^(0|[1-9][0-9]{0,12})$",
          "description": "value, string. Required."
        },
        "unit": {
          "type": "string",
          "enum": [
            "seconds",
            "epochs"
          ],
          "description": "unit, string, one of seconds, epochs. Required."
        }
      },
      "required": [
        "value",
        "unit"
      ],
      "additionalProperties": false
    },
    "parallel": {
      "description": "parallel, array. Optional.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "stages": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "detection",
                "evidence",
                "submission",
                "veto",
                "execution",
                "finality"
              ],
              "description": "item, string, one of detection, evidence, submission, veto, execution, finality. Required."
            },
            "description": "stages, array. Required."
          }
        },
        "required": [
          "stages"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      }
    },
    "alternatives": {
      "description": "alternatives, array. Optional.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "epoch": {
            "type": "object",
            "properties": {
              "value": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,12})$",
                "description": "value, string. Required."
              },
              "unit": {
                "type": "string",
                "enum": [
                  "seconds",
                  "epochs"
                ],
                "description": "unit, string, one of seconds, epochs. Required."
              }
            },
            "required": [
              "value",
              "unit"
            ],
            "additionalProperties": false,
            "description": "epoch, object. Required."
          },
          "window": {
            "type": "object",
            "properties": {
              "value": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,12})$",
                "description": "value, string. Required."
              },
              "unit": {
                "type": "string",
                "enum": [
                  "seconds",
                  "epochs"
                ],
                "description": "unit, string, one of seconds, epochs. Required."
              }
            },
            "required": [
              "value",
              "unit"
            ],
            "additionalProperties": false,
            "description": "epoch, object. Required."
          },
          "detection": {
            "description": "detection, object. Optional.",
            "type": "object",
            "properties": {
              "value": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,12})$",
                "description": "value, string. Required."
              },
              "unit": {
                "type": "string",
                "enum": [
                  "seconds",
                  "epochs"
                ],
                "description": "unit, string, one of seconds, epochs. Required."
              }
            },
            "required": [
              "value",
              "unit"
            ],
            "additionalProperties": false
          },
          "evidence": {
            "description": "evidence, object. Optional.",
            "type": "object",
            "properties": {
              "value": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,12})$",
                "description": "value, string. Required."
              },
              "unit": {
                "type": "string",
                "enum": [
                  "seconds",
                  "epochs"
                ],
                "description": "unit, string, one of seconds, epochs. Required."
              }
            },
            "required": [
              "value",
              "unit"
            ],
            "additionalProperties": false
          },
          "submission": {
            "description": "submission, object. Optional.",
            "type": "object",
            "properties": {
              "value": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,12})$",
                "description": "value, string. Required."
              },
              "unit": {
                "type": "string",
                "enum": [
                  "seconds",
                  "epochs"
                ],
                "description": "unit, string, one of seconds, epochs. Required."
              }
            },
            "required": [
              "value",
              "unit"
            ],
            "additionalProperties": false
          },
          "veto": {
            "description": "veto, object. Optional.",
            "type": "object",
            "properties": {
              "value": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,12})$",
                "description": "value, string. Required."
              },
              "unit": {
                "type": "string",
                "enum": [
                  "seconds",
                  "epochs"
                ],
                "description": "unit, string, one of seconds, epochs. Required."
              }
            },
            "required": [
              "value",
              "unit"
            ],
            "additionalProperties": false
          },
          "execution": {
            "description": "execution, object. Optional.",
            "type": "object",
            "properties": {
              "value": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,12})$",
                "description": "value, string. Required."
              },
              "unit": {
                "type": "string",
                "enum": [
                  "seconds",
                  "epochs"
                ],
                "description": "unit, string, one of seconds, epochs. Required."
              }
            },
            "required": [
              "value",
              "unit"
            ],
            "additionalProperties": false
          },
          "finality": {
            "description": "finality, object. Optional.",
            "type": "object",
            "properties": {
              "value": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,12})$",
                "description": "value, string. Required."
              },
              "unit": {
                "type": "string",
                "enum": [
                  "seconds",
                  "epochs"
                ],
                "description": "unit, string, one of seconds, epochs. Required."
              }
            },
            "required": [
              "value",
              "unit"
            ],
            "additionalProperties": false
          },
          "margin": {
            "description": "margin, object. Optional.",
            "type": "object",
            "properties": {
              "value": {
                "type": "string",
                "pattern": "^(0|[1-9][0-9]{0,12})$",
                "description": "value, string. Required."
              },
              "unit": {
                "type": "string",
                "enum": [
                  "seconds",
                  "epochs"
                ],
                "description": "unit, string, one of seconds, epochs. Required."
              }
            },
            "required": [
              "value",
              "unit"
            ],
            "additionalProperties": false
          },
          "parallel": {
            "description": "parallel, array. Optional.",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "stages": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "detection",
                      "evidence",
                      "submission",
                      "veto",
                      "execution",
                      "finality"
                    ],
                    "description": "item, string, one of detection, evidence, submission, veto, execution, finality. Required."
                  },
                  "description": "stages, array. Required."
                }
              },
              "required": [
                "stages"
              ],
              "additionalProperties": false,
              "description": "item, object. Required."
            }
          },
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "id, string, length 1 to 80. Required."
          }
        },
        "required": [
          "epoch",
          "window",
          "id"
        ],
        "additionalProperties": false,
        "description": "item, object. Required."
      }
    }
  },
  "required": [
    "epoch",
    "window"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "feasibility_status": {
      "type": "string",
      "description": "feasibility_status. String."
    },
    "available_window": {
      "type": "object",
      "properties": {
        "seconds": {
          "type": "string",
          "description": "seconds. String."
        },
        "epochs": {
          "type": "string",
          "description": "epochs. String."
        },
        "remainder_seconds": {
          "type": "string",
          "description": "remainder_seconds. String."
        },
        "detail": {
          "type": "string",
          "description": "detail. String."
        }
      },
      "additionalProperties": {},
      "description": "available_window. Object."
    },
    "total_required": {
      "type": "object",
      "properties": {
        "seconds": {
          "type": "string",
          "description": "seconds. String."
        },
        "epochs": {
          "type": "string",
          "description": "epochs. String."
        },
        "remainder_seconds": {
          "type": "string",
          "description": "remainder_seconds. String."
        },
        "includes_margin": {
          "type": "boolean",
          "description": "includes_margin. Boolean."
        },
        "detail": {
          "type": "string",
          "description": "detail. String."
        }
      },
      "additionalProperties": {},
      "description": "total_required. Object."
    },
    "slack": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "description": "kind. String."
        },
        "seconds": {
          "type": "string",
          "description": "seconds. String."
        },
        "detail": {
          "type": "string",
          "description": "detail. String."
        }
      },
      "additionalProperties": {},
      "description": "slack. Object."
    },
    "stages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "stage": {
            "type": "string",
            "description": "stage. String."
          },
          "seconds": {
            "type": "string",
            "description": "seconds. String."
          },
          "epochs": {
            "type": "string",
            "description": "epochs. String."
          },
          "remainder_seconds": {
            "type": "string",
            "description": "remainder_seconds. String."
          },
          "supplied_value": {
            "type": "string",
            "description": "supplied_value. String."
          },
          "supplied_unit": {
            "type": "string",
            "description": "supplied_unit. String."
          },
          "start_seconds": {
            "type": "string",
            "description": "start_seconds. String."
          },
          "end_seconds": {
            "type": "string",
            "description": "end_seconds. String."
          },
          "share": {
            "type": "string",
            "description": "share. String."
          },
          "parallel": {
            "type": "boolean",
            "description": "parallel. Boolean."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "stages. Array."
    },
    "bottlenecks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "stage": {
            "type": "string",
            "description": "stage. String."
          },
          "seconds": {
            "type": "string",
            "description": "seconds. String."
          },
          "share": {
            "type": "string",
            "description": "share. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "bottlenecks. Array."
    },
    "infeasibility": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "parameter": {
            "type": "string",
            "description": "parameter. String."
          },
          "seconds": {
            "type": "string",
            "description": "seconds. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "infeasibility. Array."
    },
    "missing_stages": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "missing_stages. Array."
    },
    "safety_margin": {
      "type": "object",
      "properties": {
        "supplied": {
          "type": "boolean",
          "description": "supplied. Boolean."
        },
        "seconds": {
          "type": "string",
          "description": "seconds. String."
        },
        "ideal_seconds": {
          "type": "string",
          "description": "ideal_seconds. String."
        },
        "with_margin_seconds": {
          "type": "string",
          "description": "with_margin_seconds. String."
        },
        "ideal_fits": {
          "type": "boolean",
          "description": "ideal_fits. Boolean."
        },
        "with_margin_fits": {
          "type": "boolean",
          "description": "with_margin_fits. Boolean."
        },
        "detail": {
          "type": "string",
          "description": "detail. String."
        }
      },
      "additionalProperties": {},
      "description": "safety_margin. Object."
    },
    "alternatives": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "id. String."
          },
          "feasibility_status": {
            "type": "string",
            "description": "feasibility_status. String."
          },
          "available_window_seconds": {
            "type": "string",
            "description": "available_window_seconds. String."
          },
          "total_required_seconds": {
            "type": "string",
            "description": "total_required_seconds. String."
          },
          "slack_kind": {
            "type": "string",
            "description": "slack_kind. String."
          },
          "slack_seconds": {
            "type": "string",
            "description": "slack_seconds. String."
          },
          "ideal_fits": {
            "type": "boolean",
            "description": "ideal_fits. Boolean."
          },
          "with_margin_fits": {
            "type": "boolean",
            "description": "with_margin_fits. Boolean."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "alternatives. Array."
    },
    "assumptions": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "assumptions. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢restaking-risk_exit-window(unbonding_hours, withdrawal_delay_hours, events)

Subtract the unbonding time and the withdrawal delay from the soonest caller-supplied slash horizon. Docs: https://www.brainiac.software/api/restaking-risk/exit-window Keywords: before you restake or reuse collateral, unbonding hours, withdrawal delay hours, events, exit feasibility score, exit_feasibility_score, time buffer hours, time_buffer_hours, Score exit timing before a slash, exit window.

入力スキーマ

{
  "type": "object",
  "properties": {
    "unbonding_hours": {
      "type": "integer",
      "minimum": 0,
      "maximum": 8760,
      "description": "unbonding hours, integer, from 0 to 8760. Required."
    },
    "withdrawal_delay_hours": {
      "type": "integer",
      "minimum": 0,
      "maximum": 8760,
      "description": "unbonding hours, integer, from 0 to 8760. Required."
    },
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "network": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80,
            "description": "network, string, length 1 to 80. Required."
          },
          "hours_until_slash": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 8760,
            "description": "hours until slash, integer, from any to 8760. Required."
          }
        },
        "required": [
          "network",
          "hours_until_slash"
        ],
        "description": "item, object. Required."
      },
      "description": "events, array. Required."
    }
  },
  "required": [
    "unbonding_hours",
    "withdrawal_delay_hours",
    "events"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "exit_feasibility_score": {
      "type": "number",
      "description": "exit_feasibility_score. Number."
    },
    "time_buffer_hours": {
      "type": "number",
      "description": "time_buffer_hours. Number."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 4 件