Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/cover-claim

Predicts whether a DeFi cover claim (Nexus Mutual or any provider's wording) will be approved and for how much. Reads the wording, postmortems and the claimant's transactions, quantifies net token loss with Chainlink prices at the loss block, maps facts to covered events, exclusions and conditions with verbatim verified clauses, cites similar past claims, and returns calibrated P(approved), expect

BaseUnchecked
POSThttps://agents.writerslogic.com/api/v1/cover-claim

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agents.writerslogic.com/api/v1/cover-claim", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"cover":{"end":"2024-12-25T00:00:00Z","asset":"USDC","start":"2024-09-25T00:00:00Z","amount":10000},"wording":{"productName":"Single Protocol Cover"},"claimant":"0x760513ef6f45da1964128848f8962c02fb4770c9","incident":{"occurredAt":"2024-10-04T11:31:28Z","description":"The protocol's lending pool was drained through a reentrancy bug in its withdraw function; the team published a postmortem confirm),
});
console.log(await res.json());

Example input

{"cover":{"end":"2024-12-25T00:00:00Z","asset":"USDC","start":"2024-09-25T00:00:00Z","amount":10000},"wording":{"productName":"Single Protocol Cover"},"claimant":"0x760513ef6f45da1964128848f8962c02fb4770c9","incident":{"occurredAt":"2024-10-04T11:31:28Z","description":"The protocol's lending pool was drained through a reentrancy bug in its withdraw function; the team published a postmortem confirm