Skip to content
Fourohtwo

One pre-trade decision for a Base token

app.gtxagent.com/x402/pre-trade-bundle

One pre-trade decision for a Base token: paid SweetAI verdict, liquidity and holder concentration, an optional counterparty wallet dossier, and an ALLOW / CAUTION / DENY call with the size check and receipts.

BaseAnswering
GEThttps://app.gtxagent.com/x402/pre-trade-bundle

Uptime100% of 3 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://app.gtxagent.com/x402/pre-trade-bundle?amountUsd=trade+size+in+USD%3B+defaults+to+100&counterparty=optional+0x-prefixed+wallet+address&token=0x-prefixed+Base+token+address");
console.log(await res.json());

Example input

{
  "amountUsd": "trade size in USD; defaults to 100",
  "counterparty": "optional 0x-prefixed wallet address",
  "token": "0x-prefixed Base token address"
}