Base & Solana Pre-Trade Honeypot Guard, Tx Simulator & Rug Pull API
Before your trading bot signs an on-chain swap, run deterministic pre-trade safety checks for fractions of a cent: simulate calldata execution, detect honeypot traps, inspect buy/sell taxes, verify LP lock status, and build screened non-custodial swap transactions.
Which DeFi safety checks can AI trading bots run before executing a swap?
Freedom Engine chains five low-cost endpoints: price-tick (1 Sat / $0.001), tx-simulate (2 Sats / $0.002), honeypot-guard (5 Sats / $0.005), token-audit (20 Sats), and swap-build (5 Sats + 0.45% fee), catching hidden owner mint functions, 100% sell taxes, unverified proxies, and OFAC-sanctioned contracts.
How do these safety APIs connect to Safe Swap execution?
Even if you call /api/v1/router/tools/swap-build directly, Freedom Engine automatically runs Chainalysis, GoPlus, OFAC, and honeypot verification before emitting unsigned calldata with exact-amount ERC-20 approvals.
Technical Specifications, Endpoints & Pricing Matrix
| Capability / Route | Endpoint / Protocol | Technical Summary | Rate / Guarantee |
|---|---|---|---|
| Pre-Trade Honeypot Guard | POST /api/v1/router/tools/honeypot-guard | Buy/sell tax, hidden owner, mint & LP trap check | 5 Sats ($0.005) |
| Pre-Trade Tx Simulator | POST /api/v1/router/tools/tx-simulate | State-revert & gas simulation before broadcast | 2 Sats ($0.002) |
| Ultra-Fast Price Tick | POST /api/v1/router/tools/price-tick | Sub-second token price & liquidity snapshot | 1 Sat ($0.001) |
| Batch Safety + Swap Pipeline | POST /api/v1/router/tools/batch-execute | Chain multiple checks atomically with 15% discount | 15% Batch Discount |
Quickstart Code & Pre-Flight Dry-Run Example
Test payload validation for 0 Sats using ?dryRun=true or authenticate immediately via L402, x402, or a 0ms Prepaid Session Pass. Primary endpoint: /api/v1/router/tools/honeypot-guard (1–5 Sats ($0.001–$0.005) / $0.001–$0.005 USDC).
curl -s -X POST "https://m2mfreedom.com/api/v1/router/tools/honeypot-guard" \
-H "Authorization: Bearer m2m-pass-<hex>" \
-H "Content-Type: application/json" \
-d '{"tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "chain": "base"}'
Architecture Notes & Operational Guarantees
Micro-Tier Pricing for HFT Agents: Starting at $0.001-$0.005 per call on Base Mainnet USDC, bots can screen hundreds of token launches for pennies.
Exact-Amount Safety Architecture: When paired with /api/v1/router/tools/swap-build, ERC-20 approvals are scoped strictly to the exact trade amount (never unlimited MAX_UINT256).
Frequently Asked Questions
Can I use this inside Coinbase AgentKit or ElizaOS?
Yes. Both @m2mfreedom/agentkit-action-provider (v2.4.0, 48 actions) and @m2mfreedom/elizaos-plugin (v1.3.0, 18 actions) expose freedom_honeypot_guard and freedom_swap_build natively via NPM.
Does honeypot-guard provide financial advice?
No. All security telemetry is purely informational on-chain/simulation data for automated pre-trade filtering.