CHECKING
Base Mainnet
● DeFi Safety Infrastructure

The safety layer AI agents call
before executing on-chain.

AgentForge intercepts risky DeFi actions before they execute — scanning wallets, simulating transactions, decoding contracts, and flagging dangerous approvals. Pay per request via x402 micropayments. No accounts, no subscriptions, no API keys.

Make it automatic. npm install agentforge-tools, then guardAccount(account, { privateKey }): every transaction, signature and x402 payment is preflighted before it is signed, and avoid is refused, so a prompt-injected agent cannot sign it. Works with viem, x402 clients, Coinbase AgentKit and Claude Code hooks. Guard docs · prepaid credits (10% referral share for integrators)

29 Paid Endpoints
29 MCP Tools
436 Labeled Contracts
319 Pre-cached Docs
12 Chains
USDC Base Mainnet
DeFi Safety FLAGSHIP
POST
/v1/approval-scan
ERC-20 approval risk scanner with protocol labeling — identifies unlimited approvals, revoked contracts, and dangerous allowances.
$0.015USDC
POST
/v1/contract-monitor
Contract activity monitoring with admin function detection — surfaces ownership transfers, upgrades, and privileged calls in recent history.
$0.025USDC
POST
/v1/contract-docs
Smart contract documentation with automatic proxy resolution — 319 contracts pre-cached for instant response, rest generated live via Etherscan + LLM.
$0.05USDC
POST
/v1/tx-decode
Transaction decoder for EVM chains — human-readable breakdown of calldata, function signatures, and parameter values for any transaction.
$0.05USDC
Research & Intelligence RESEARCH
POST
/v1/token-research
Multi-source token research — CoinGecko + DeFiLlama + Etherscan + Polymarket aggregated into one structured report.
$0.03USDC
POST
/v1/token-compare
Comparative token analysis for up to 4 tokens — side-by-side metrics, risk differentials, and AI-generated recommendation.
$0.08USDC
POST
/v1/token-intel
Quick token lookup with risk assessment — market data, holder concentration, contract flags, and risk score in under 10 seconds.
$0.015USDC
Utilities UTILS
GET
/v1/gas
Real-time gas prices across tiers (slow / standard / fast / instant) for all supported chains.
$0.003USDC
GET
/v1/lending/health
How close a wallet is to liquidation on Aave v3 — collateral, debt, health factor, and collateral drop to liquidation across nine chains in one call.
$0.003USDC
GET
/v1/pool-snapshot
Cached snapshot of top 500 DeFi liquidity pools by TVL — filter by protocol, chain, or token, with APY, volume, and IL-risk. Refreshed every 15 minutes.
$0.005USDC
GET
/v1/ping
Payment flow verification — confirms your wallet, x402 client, and payment channel are all working correctly.
$0.001USDC
POST
/v1/sentiment
Sentiment analysis for text content — useful for processing news, governance proposals, and social signals.
$0.003USDC
POST
/v1/summarize
Text summarization — condense long documents, audit reports, or governance discussions into structured summaries.
$0.008USDC
POST
/v1/translate
Translation for DeFi content — convert protocols docs, error messages, and on-chain text across languages.
$0.002USDC
Solana SOLANA
POST
/v1/solana/tx-simulate
Simulate a Solana transaction before signing it — balance changes, labeled programs, and a proceed/caution/avoid recommendation.
$0.15USDC
POST
/v1/solana/tx-explain
Explain a Solana transaction in plain English — labeled programs, token/SOL movements, and risk flags.
$0.05USDC
GET
/v1/solana/program-lookup
Free lookup in the 63-program Solana label registry — protocol, category, risk level. No payment required.
FREE
What Makes It Useful
Contract Label Registry
436 contracts across 150+ protocols — every safety check is enriched with protocol names, risk levels, and category tags. Agents see "Uniswap V3: SwapRouter" instead of a raw address.
Pre-computed Contract Docs
319 contracts documented with automatic proxy resolution — agents get instant documentation (0ms, $0 LLM cost) for the top DeFi contracts. Cache covers Aave, Compound, Uniswap, Curve, Maker, and 150+ more.
Composite Safety Checks
wallet-safety combines approval scanning, activity pattern detection, and target contract assessment in one call — instead of requiring agents to chain 3 separate requests.
Zero Infrastructure
No API keys, no accounts, no subscriptions — pay per request via x402 micropayments with USDC on Base Mainnet. Works with any wallet that holds USDC.
Integration
// npm install @x402/fetch import { wrapFetch } from '@x402/fetch'; const fetch402 = wrapFetch(fetch, { privateKey: process.env.WALLET_PRIVATE_KEY, network: 'base', // Base Mainnet }); // Comprehensive wallet safety check before a DeFi transaction const res = await fetch402('https://agentforge-taupe.vercel.app/v1/wallet-safety', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ walletAddress: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045', chain: 'ethereum', depth: 'standard', targetContract: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D' // Uniswap V2 Router }), }); const safety = await res.json(); // { riskScore: 12, approvals: [...], contractLabel: 'Uniswap V2: Router', ... }
// Add to Claude Desktop, Cursor, or any MCP-compatible client: { "mcpServers": { "agentforge": { "url": "https://agentforge-taupe.vercel.app/mcp" } } } // 29 tools available after connecting: // preflight, content_scan, signature_check, address_check, // wallet_safety, approval_scan, token_risk_metrics, // contract_monitor, contract_docs, tx_decode, // token_research, token_compare, token_intel, pool_snapshot, // gas_oracle, sentiment, summarize, translate, registry_lookup, // solana_program_lookup, solana_tx_explain, solana_tx_simulate, // solana_token_risk_scan
Discovery & Docs