{"uid":"cap_pdHQ6m3-fCuQbYlh7CkxF","slug":"avalanche-c-chain-contract-risk-heuristics-75118d0e","name":"Avalanche C-Chain Contract Risk Heuristics","description":"Heuristic risk flags for a Avalanche C-Chain contract from free public data: Sourcify verification, upgradeable proxy + admin, owner type, mint/pause/blacklist/fee selectors, bytecode size, and a flag for copycats of major tokens (USDC, USDT, WETH...) at a non-official address. Not an audit or financial advice.","url":"https://automaton-tx-explainer.vercel.app/v1/avalanche/contract-risk?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":["address"],"properties":{"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Avalanche C-Chain contract address"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SBLJ48xEicgekLwFDHVlo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns heuristic risk flags for an Avalanche C-Chain smart contract address, including Sourcify verification status, proxy/admin configuration, owner type, dangerous function selectors, bytecode size, and copycat token detection.","exampleAgentPrompt":"Can you check the risk flags for this Avalanche C-Chain contract at 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f — is it Sourcify-verified, does it have any mint or blacklist functions, and is it a copycat of a major token?","exampleUseCases":[{"title":"DeFi due diligence before token swap","prompt":"Before I swap into this token on Avalanche at 0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E, can you pull the risk heuristics — I want to know if it's verified, if there's a mint or pause function, and whether it looks like a USDC copycat?"},{"title":"Wallet security scan after suspicious airdrop","prompt":"I just received an airdrop of a token from contract 0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7 on Avalanche — can you check if it has any blacklist or fee selectors and whether it's an impersonator of a known token?"},{"title":"Smart contract audit pre-check for a new protocol","prompt":"We're about to integrate with a new protocol on Avalanche C-Chain — the contract is 0x2b2C81e08f1Af8835a78Bb2A90AE924ACE0eA4bE. Can you run a quick heuristic risk check to see if it's an upgradeable proxy, who the owner is, and if there are any dangerous function selectors?"}],"resultDescription":"A JSON object containing heuristic risk flags for the queried Avalanche C-Chain contract, including: whether the contract is verified on Sourcify, whether it implements an upgradeable proxy pattern and who the admin is, the type of owner (EOA vs multisig vs contract), presence of dangerous function selectors (mint, pause, blacklist, fee), the bytecode size, and a flag indicating if the contract appears to be a copycat of a major token (USDC, USDT, WETH, etc.) deployed at a non-official address.","failureModes":["Invalid or malformed contract address (must match ^0x[0-9a-fA-F]{40}$) returns a validation error","Address is an EOA (externally owned account) rather than a contract — may return empty or error","Avalanche C-Chain RPC unavailability causing timeout or upstream error","Contract deployed but with no bytecode (self-destructed) may return incomplete flags","Rate limiting or payment failure with x402 protocol returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need quick, heuristic-level risk screening for an Avalanche C-Chain contract without waiting for a full manual audit. It is ideal for pre-interaction due diligence, automated DeFi safety checks, copycat token detection, or flagging suspicious contracts in a portfolio or transaction feed. Prefer it over manual block explorer browsing when you need structured, machine-readable risk signals. It complements (but does not replace) professional audits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:48:33.353Z","isFirstParty":false,"canonicalSlug":"avalanche-c-chain-contract-risk-heuristics-75118d0e"}