{"uid":"cap_I-doWde4jSqKKctL076vy","slug":"ddg-base-contract-bytecode-lookup-42ba1884","name":"DDG Base Contract Bytecode Lookup","description":"Machine-payable DDG services for AI agents. Current public live payment rails are x402 multi-chain USDC and direct-crypto auto/manual for public receiving-address families. MPP/Stripe/Tempo is installed but pending live provider env plus penny-settlement proof before any MPP-live advertisement. DDG sells bounded artifacts/results, not raw provider account access.","url":"https://agents.daedalusdevelopmentgroup.com/v1/base/contract-code?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":true},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string"},"example":{"ok":true}},"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"ok":true}},"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_74NJAY6coyEmw7TdPSQQA","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":"Retrieves the deployed bytecode of a smart contract on the Base blockchain given a contract address.","exampleAgentPrompt":"Can you pull the deployed bytecode for the smart contract at 0x1234abcd...5678 on Base so I can inspect what code is running there?","exampleUseCases":[{"title":"Smart contract security audit prep","prompt":"Fetch the on-chain bytecode for the contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base — I need to run it through a decompiler for a security review."},{"title":"Verify contract deployment on Base","prompt":"Check whether there's actually deployed contract code at address 0xdAC17F958D2ee523a2206206994597C13D831ec7 on Base — I want to confirm it's a real contract and not an empty address."},{"title":"Compare bytecode across deployments","prompt":"Retrieve the raw bytecode for the contract at 0x6B175474E89094C44Da98b954EedeAC495271d0F on Base so I can compare it against the version we deployed last week and see if anything changed."}],"resultDescription":"Returns a JSON object with an 'ok' boolean and the raw bytecode of the smart contract deployed at the specified address on the Base blockchain. If no code is present (EOA address), the bytecode field will reflect an empty result.","failureModes":["Invalid or malformed contract address returns an error response","Address with no deployed code (EOA) may return empty bytecode","RPC connectivity issues to Base network may cause timeouts","Malformed request body missing required fields returns a schema validation error","Non-Base chain addresses may return incorrect or no results"],"whenToPreferThis":"Choose this endpoint when you specifically need to retrieve smart contract bytecode on the Base (Coinbase L2) blockchain. It is purpose-built for Base and agent-payable at $0.01 USDC per call, making it suitable for lightweight, automated on-chain code inspection tasks without requiring your own RPC infrastructure. Prefer it over general-purpose RPC providers when you need a simple, pay-per-use lookup with no node setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T06:41:01.683Z","isFirstParty":false,"canonicalSlug":"ddg-base-contract-bytecode-lookup-42ba1884"}