Skip to content
Fourohtwo

Check a counterparty before paying

x402check.xyz/v1/risk-check

Check a counterparty before paying: OFAC SDN, phishing and drainer feeds, a live watch of drainer infrastructure, transaction simulation and injected-instruction analysis. Returns a score and a signed ES256 attestation.

BasePolygonArbitrumAvalancheSeiSolanaAnswering
POSThttps://x402check.xyz/v1/risk-check

Uptime100% of 1 check 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://x402check.xyz/v1/risk-check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"chain":"base","context":"Permit2 signature: unlimited USDC allowance to this spender","domain":"https://app.example-dapp.org","interaction":{"type":"permit_signature","unlimited":true},"wallet":"0x7a3e8f0c2b1d4e5f6a7b8c9d0e1f2a3b4c5d6e7f"}),
});
console.log(await res.json());

Example input

{
  "chain": "base",
  "context": "Permit2 signature: unlimited USDC allowance to this spender",
  "domain": "https://app.example-dapp.org",
  "interaction": {
    "type": "permit_signature",
    "unlimited": true
  },
  "wallet": "0x7a3e8f0c2b1d4e5f6a7b8c9d0e1f2a3b4c5d6e7f"
}

More from x402checkProvider status