{"uid":"cap_sWHxTvHTlHCokwry7bcOZ","slug":"op-mainnet-erc-20-token-rug-check-due-diligence-25bf2078","name":"OP Mainnet ERC-20 Token Rug Check & Due Diligence","description":"Rug check and due-diligence snapshot of an ERC-20 token on OP Mainnet: a 0-100 risk score with reasons, name, symbol, decimals, supply, owner and whether ownership is renounced, upgradeable-proxy detection, owner-only functions found in the bytecode (mint, pause, blacklist, fee changes), and USD price, liquidity and FDV from the deepest WETH or USDC pool on Uniswap v3 or Velodrome. Facts only, no buy or sell opinion.","url":"https://onchaincheck.dev/optimism/token?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":"Token contract address on OP Mainnet"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"Optimism","risk":{"level":"medium","score":30,"reasons":[{"code":"can-mint","text":"The owner can mint new tokens, diluting holders.","points":25},{"code":"owner-not-renounced","text":"Ownership is not renounced.","points":5}],"summary":"Medium risk: the owner can mint new tokens, diluting holders; ownership is not renounced."},"asset":{"known":false},"chain":"optimism","flags":{"canMint":true,"ownerCanAct":true,"upgradeable":false,"canBlacklist":false,"noLiquidPool":false,"canChangeFees":false,"thinLiquidity":false},"notes":"Privileged functions are detected from bytecode selectors and may have false positives or misses. Liquidity is the WETH or USDC held by the deepest Uniswap v3 or velodrome pool found.","owner":"0x5C4e7Ba1E219E47948e6e3F55019A647bA501005","proxy":{"upgradeable":false},"market":{"dex":"uniswap-v3","pool":"0x68F5C0A2DE713a54991E01858Fd27a3832401849","priceUsd":0.120202,"feeTierBps":30,"pairedWith":"WETH","poolsFound":10,"fullyDilutedValueUsd":516300000,"quoteSideLiquidityUsd":108900},"symbol":"OP","address":"0x4200000000000000000000000000000000000042","decimals":18,"nativeUsd":{"price":2402.8,"source":"Chainlink ETH/USD","symbol":"ETH","updatedAt":"2026-10-23T06:10:55.000Z"},"totalSupply":4294963292.25,"ownershipRenounced":false,"privilegedFunctions":{"mint":true,"pause":false,"setFees":false,"blacklist":false,"tradingSwitch":false,"maxTransaction":false}}},"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_irWLIR8547GixSJ0A9YQA","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":"Returns a 0-100 risk score with reasons, token metadata, ownership status, privileged-function flags, and Uniswap v3/Velodrome market data for any ERC-20 token on OP Mainnet.","exampleAgentPrompt":"Can you run a rug check on the Optimism token at 0x4200000000000000000000000000000000000042 — I want to see its risk score, whether ownership is renounced, if it can mint new tokens, and what its current price and liquidity look like on Uniswap or Velodrome?","exampleUseCases":[{"title":"Pre-investment token safety check","prompt":"Before I ape into this new OP Mainnet token at 0xAbCd1234567890abcdef1234567890abcdef1234, can you pull a full risk snapshot — risk score, whether the owner can mint or blacklist, if it's an upgradeable proxy, and how much liquidity it has?"},{"title":"DeFi bot rug-pull filter","prompt":"My trading bot just found a potential opportunity on Optimism token 0xDEF0987654321fedcba0987654321fedcba09876 — run a due-diligence check and tell me the risk score with reasons and the current FDV and liquidity so I can decide whether to proceed."},{"title":"Portfolio risk audit","prompt":"I hold tokens on Optimism and want to audit my position in 0x7F5c764cBc14f9669B88837ca1490cCa17c31607 — can you check if ownership is renounced, whether there are any dangerous privileged functions like minting or blacklisting, and what the current price and pool liquidity are?"}],"resultDescription":"A JSON object containing: a 0-100 numeric risk score with a level (low/medium/high) and a list of reason codes and human-readable descriptions; token metadata (name, symbol, decimals, total supply, owner address, ownershipRenounced flag); a privilegedFunctions map (mint, pause, blacklist, setFees, tradingSwitch, maxTransaction); a proxy.upgradeable flag; market data from the deepest WETH or USDC pool on Uniswap v3 or Velodrome (priceUsd, quoteSideLiquidityUsd, fullyDilutedValueUsd, feeTierBps, pairedWith, dex, pool address, poolsFound); native ETH/USD price from Chainlink; and a disclaimer note about bytecode-based detection accuracy.","failureModes":["Invalid or non-checksummed address format returns a 400 validation error","Token contract does not exist on OP Mainnet returns an error or empty result","No WETH or USDC liquidity pool found sets noLiquidPool flag to true and omits market data","Bytecode analysis may produce false positives or misses for privileged functions","Unverified proxy contracts may not be detectable as upgradeable","Chainlink price feed unavailable may cause nativeUsd to be absent"],"whenToPreferThis":"Use this endpoint when you need a fast, structured due-diligence snapshot of any ERC-20 on OP Mainnet — covering both security risk (ownership, mint/blacklist/pause functions, proxy upgradeability) and market context (price, liquidity, FDV from Uniswap v3 or Velodrome) in a single call. Prefer it over generic blockchain RPCs when you need opinionated risk scoring with human-readable reasons rather than raw contract data, and over the Base or Ethereum sibling endpoints when the token is specifically deployed on Optimism.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:39:21.944Z","isFirstParty":false,"canonicalSlug":"op-mainnet-erc-20-token-rug-check-due-diligence-25bf2078"}