{"uid":"cap_FBIyqc9roB25s5Mzxb3p8","slug":"agentforge-wallet-safety-check-1f30f5d1","name":"AgentForge Wallet Safety Check","description":"Pre-transaction wallet safety check for agents about to execute a DeFi action: combines approval scanning, activity pattern detection, and target contract risk into one composite score. Category: data.","url":"https://agentforge-taupe.vercel.app/v1/wallet-safety?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["ethereum","base","arbitrum","optimism","polygon"],"type":"string","default":"ethereum"},"depth":{"enum":["quick","standard","deep"],"type":"string","default":"standard"},"walletAddress":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet address to check"},"targetContract":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Target contract to assess before interaction"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Z9WbEM_W2ZTIkeBlBWE3p","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a pre-transaction composite safety check on a wallet and target contract before executing a DeFi action, combining approval scanning, activity pattern detection, and contract risk scoring.","exampleAgentPrompt":"Before I swap on Uniswap, do a standard wallet safety check on 0xABCDEF1234567890ABCDEF1234567890ABCDEF12 against the Uniswap v3 router contract 0x1F98431c8aD98523631AE4a59f267346ea31F984 on Ethereum — flag any dangerous approvals or contract risks.","exampleUseCases":[{"title":"Pre-swap DeFi safety gate","prompt":"Before my agent executes a token swap on Base, run a standard safety check on wallet 0xABCDEF1234567890ABCDEF1234567890ABCDEF12 against the DEX contract 0x1F98431c8aD98523631AE4a59f267346ea31F984 — I want to know if there are any risky approvals or red flags before we proceed."},{"title":"Deep audit before large DeFi deposit","prompt":"I'm about to deposit a significant amount into a yield protocol on Arbitrum — run a deep safety scan on my wallet 0xABCDEF1234567890ABCDEF1234567890ABCDEF12 and the protocol contract 0x794a61358D6845594F94dc1DB02A252b5b4814aD to get a full composite risk score before I sign anything."},{"title":"Quick risk check for unfamiliar contract","prompt":"My agent found a new liquidity pool on Polygon and wants to interact with contract 0x1234567890ABCDEF1234567890ABCDEF12345678 using wallet 0xDEADBEEF1234567890ABCDEF1234567890DEABCD — can you do a quick safety check and tell me if it looks suspicious?"}],"resultDescription":"Returns a composite safety score for the wallet-contract interaction, including flags for dangerous or unlimited token approvals, suspicious wallet activity patterns, and a risk assessment of the target contract. The depth parameter (quick/standard/deep) controls thoroughness of analysis.","failureModes":["Invalid wallet or contract address format (must match 0x + 40 hex chars) returns a validation error","Unsupported chain value outside the allowed enum returns an error","Contract address not found or undeployed on specified chain may return low confidence or error","Network congestion or RPC issues on the target chain may cause timeouts","Payment of 0.1 USDC required per call; insufficient funds or x402 payment failure blocks the request"],"whenToPreferThis":"Use this endpoint as a pre-flight gate in any AI agent DeFi workflow where you need a single composite risk signal before committing to a transaction. It is preferable to calling separate approval scanners and contract auditors individually when you need a fast, unified score. Choose the 'deep' depth for high-value transactions and 'quick' for low-stakes or time-sensitive operations. Best suited for Ethereum, Base, Arbitrum, Optimism, and Polygon chains.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:35:39.965Z","isFirstParty":false,"canonicalSlug":"agentforge-wallet-safety-check-1f30f5d1"}