Honeypot check before a swap
apexfaucet.xyz/api/x402/trade-rail-quote
Honeypot check before a swap: a simulated buy AND sell at your size on Arc, BNB Chain or X1, then an unsigned transaction; honeypots refused. APEX Trade Rail...
GET
https://apexfaucet.xyz/api/x402/trade-rail-quoteUptime100% of 5 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://apexfaucet.xyz/api/x402/trade-rail-quote?from=0x024b82335C29Fa5606a8ea5c1D24FC9eAD50700C&side=buy&chain=arc&token=0x59933f316417c89d9dc5107b30f08c99b774ea9d&amount=1");
console.log(await res.json());Example input
{
"from": "0x024b82335C29Fa5606a8ea5c1D24FC9eAD50700C",
"side": "buy",
"chain": "arc",
"token": "0x59933f316417c89d9dc5107b30f08c99b774ea9d",
"amount": "1"
}