{"uid":"cap_m3iBGjVwQlfRXgiyvW-UD","slug":"onekeyaway-defi-contract-security-checker-b5f10ce1","name":"OneKeyAway DeFi Contract Security Checker","description":"Free check: who can upgrade, mint or pause a smart contract. An EOA, a 1-of-n Safe, a real multisig, or a timelock. Results from 480 DeFi tokens.","url":"https://onekeyaway.appin60.com/api/safe?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["chain","address"],"properties":{"chain":{"type":"string","example":"8453","description":"Chain id or name: 1, 8453, 42161, 10, 56, 137, 43114, 146, 59144, 81457, 80094, 324, 999, 130, 747474 (or ethereum, base, arbitrum, optimism, bsc, polygon, avalanche, sonic, linea, blast, berachain, zksync, hyperevm, unichain, katana)"},"address":{"type":"string","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","description":"Contract address (0x + 40 hex)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"safe":{"guard":null,"owners":["0x..."],"modules":[],"threshold":5},"verdict":"MULTISIG 5-of-10"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_q7SMp_ICRn1n9AHuaUr5V","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks who controls upgrade, mint, or pause privileges on a DeFi smart contract, classifying the controller as an EOA, 1-of-n Safe, multisig, or timelock.","exampleAgentPrompt":"Can you check whether the USDC contract on Base (address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, chain 8453) is controlled by a single key or a proper multisig — I want to know if it's one stolen key away from being drained?","exampleUseCases":[{"title":"Pre-investment DeFi protocol audit","prompt":"Before I ape into this yield farm, can you check who controls the upgrade key on their contract at 0xAbCd1234... on Arbitrum (chain 42161)? I want to know if it's a real multisig or just a single EOA that could rug me."},{"title":"Token listing security due diligence","prompt":"We're listing a new token on our exchange and need to verify its contract security — check 0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9 on Ethereum (chain 1) and tell me whether the mint and pause functions are controlled by a multisig or a single wallet."},{"title":"DeFi dashboard risk monitoring","prompt":"Can you run a security check on the Aave V3 pool contract at 0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2 on Ethereum (chain 1) and tell me the ownership structure — specifically whether it's a timelock, multisig threshold, or just a single key?"}],"resultDescription":"Returns a JSON object with an 'ok' status flag, a 'verdict' string classifying the controller type (e.g. 'MULTISIG 5-of-10', 'EOA', 'TIMELOCK'), and a 'safe' object containing the owner addresses array, signing threshold, guard address, and active modules for the controlling account.","failureModes":["Invalid contract address format returns an error","Unsupported chain ID returns an error or empty result","Contract not found on specified chain returns null or error","Contract has no recognized ownership pattern may return ambiguous verdict","Network timeout or RPC failure may cause delayed response","Non-DeFi contracts may return incomplete ownership data"],"whenToPreferThis":"Choose this endpoint when you need a fast, structured classification of a DeFi smart contract's admin key security posture — specifically whether critical functions (upgrade, mint, pause) are controlled by a single EOA, a Safe multisig, a timelock, or a higher-threshold multisig. It covers 15 major chains and returns a human-readable verdict alongside raw ownership data, making it ideal for pre-investment audits, token listing due diligence, and automated risk monitoring dashboards. Prefer it over general blockchain explorers when you need a direct, opinionated security verdict rather than raw transaction data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T22:15:32.237Z","isFirstParty":false,"canonicalSlug":"onekeyaway-defi-contract-security-checker-b5f10ce1"}