The one call a Solana trading agent makes before each buy
402.com.tr/api/x402/sol-pre-trade-gate
The one call a Solana trading agent makes before each buy: GO / HOLD / STOP for any SPL mint, with the reasons and a recommended max size. Distils the full safety stack (mint/freeze authority, Token-2022 seize extensions, Jupiter sellability, RugCheck LP-lock) into a single trade decision. STOP on any terminal flag (seize, honeypot, freeze-trap). Unverified mint is UNKNOWN, not charged. Not advice
GET
https://402.com.tr/api/x402/sol-pre-trade-gateUptime100% of 2 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://402.com.tr/api/x402/sol-pre-trade-gate?mint=DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263");
console.log(await res.json());Example input
{
"mint": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"
}