{"uid":"cap_wAIps8ttDeS_apRyzcPu0","slug":"dopaminedesk-evm-bytecode-fetcher-e98ba7f1","name":"DopamineDesk EVM Bytecode Fetcher","description":"Read deployed bytecode for an address and return contract-versus-EOA classification, byte size, and bytecode hash.","url":"https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/evm_code","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":{"block":{"type":"string","description":"Block tag or height; defaults to latest."},"chain":{"type":"string","description":"base, ethereum, or arbitrum; defaults to base."},"address":{"type":"string","description":"EVM wallet or contract address."}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["success","network","account_type","bytecode_size","bytecode_hash","bytecode"],"properties":{"network":{"type":"string"},"success":{"type":"boolean"},"bytecode":{"type":"string"},"account_type":{"type":"string"},"bytecode_hash":{"type":"string"},"bytecode_size":{"type":"integer"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"network":"base","success":true,"bytecode":"0x...","account_type":"contract","bytecode_hash":"0x...","bytecode_size":1000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0015","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.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EcrYK4blO2sWqtAejdd2y","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the deployed bytecode, bytecode hash, bytecode size, and account type for any EVM wallet or contract address on Base, Ethereum, or Arbitrum.","exampleAgentPrompt":"Can you pull the deployed bytecode and account type for the contract at 0xAbCd...1234 on Base at the latest block? I want to know if it's really a contract and get its bytecode hash.","exampleUseCases":[{"title":"Smart contract vs EOA verification","prompt":"Is 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D actually a deployed contract on Ethereum, or just a wallet address? Show me its account type and bytecode size."},{"title":"Historical bytecode snapshot audit","prompt":"Fetch the bytecode of contract 0x1F98431c8aD98523631AE4a59f267346ea31F984 on Base as it was at block 12000000 — I need the bytecode hash for a historical audit."},{"title":"Security due diligence on Arbitrum contract","prompt":"I'm reviewing a DeFi protocol — can you get me the raw bytecode and bytecode hash for 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45 on Arbitrum so I can check it against known malicious patterns?"}],"resultDescription":"Returns a JSON object with: success (boolean), network (chain name), account_type ('contract' or EOA indicator), bytecode (hex string of deployed code), bytecode_hash (keccak256 hash of the bytecode), and bytecode_size (integer byte count).","failureModes":["Invalid or malformed EVM address returns an error response","Unsupported chain name causes a bad request","Block height beyond the chain tip or pre-genesis returns an error","Empty bytecode returned for EOA (non-contract) addresses, which is expected behavior","Network timeouts or RPC node unavailability may cause failures","Payment (x402 USDC) failure blocks the request entirely"],"whenToPreferThis":"Choose this endpoint when you need on-chain bytecode data for any EVM address across Base, Ethereum, or Arbitrum with pay-per-use micropayment pricing via x402 USDC — ideal for agents doing smart contract security audits, due diligence checks, or automated contract inspection pipelines where you want to verify deployment status or compare bytecode hashes without running your own RPC node.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:46:37.337Z","isFirstParty":false}