Skip to content
Fourohtwo

One check before money moves on Base

kushbitx.com/api/preflight

One check before money moves on Base. Simulates the unsigned transaction, decodes approvals and transfers, screens the token and the recipient or spender, and applies a protected SpendGuard policy when given. Returns ALLOW, REVIEW or BLOCK with sourced findings. Fail-closed: no ALLOW unless every check ran. Does not detect prompt injection; Protected SpendGuard can cap what an agent pays, but does

BaseAnswering
POSThttps://kushbitx.com/api/preflight

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

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://kushbitx.com/api/preflight", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"chainId":8453,"data":"0xa9059cbb000000000000000000000000d2db751a2fdba554706fb535438d81d3a0b4297900000000000000000000000000000000000000000000000000000000000003e8","from":"0x0d68028d06af13379C872FEE032568B4Be712f22","intent":"transfer","to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","value":"0"}),
});
console.log(await res.json());

Example input

{
  "chainId": 8453,
  "data": "0xa9059cbb000000000000000000000000d2db751a2fdba554706fb535438d81d3a0b4297900000000000000000000000000000000000000000000000000000000000003e8",
  "from": "0x0d68028d06af13379C872FEE032568B4Be712f22",
  "intent": "transfer",
  "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "value": "0"
}