Skip to content
Fourohtwo

Trigger When

apix402data.com/api/workflow/defi-position-shield

Trigger When: guarding a DeFi wallet against liquidation or stale approvals. Workflow Outcome: stress-tests Aave/Compound health factor (-10%/-20%) and builds unsigned repay & revoke txs.

BaseDown
POSThttps://apix402data.com/api/workflow/defi-position-shield

Uptime50.0% of 4 checks in 30 days

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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://apix402data.com/api/workflow/defi-position-shield", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"chain":"base","target_health_factor":1.5,"wallet":"0x2810EB5899EF878E4F35bF2Af9D75B861135Bd0E"}),
});
console.log(await res.json());

Example input

{
  "chain": "base",
  "target_health_factor": 1.5,
  "wallet": "0x2810EB5899EF878E4F35bF2Af9D75B861135Bd0E"
}