{"uid":"cap_-Twxq3fizfWlW3MBZkZRb","slug":"saylor-innovations-evm-contract-introspection-ethereum-bcbd0d4a","name":"Saylor Innovations EVM Contract Introspection (Ethereum)","description":"Ethereum contract introspection - wallet vs contract, proxy detection, bytecode size and ERC-20 name, symbol and supply","url":"https://saylorinnovations.com/api/evm/ethereum/contract/:address?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","pathParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["address"],"properties":{"address":{"type":"string","description":"0x address (path)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["chain","address","is_contract"],"properties":{"chain":{"type":"string","description":"Blockchain the data is for"},"proxy":{"type":"object","properties":{"admin":{"type":["null"]},"beacon":{"type":["null"]},"is_proxy":{"type":["boolean"]},"standard":{"type":["string"]},"implementation":{"type":["string"]}},"description":"Proxy pattern detected, if any","additionalProperties":true},"token":{"type":["object","null"],"properties":{"name":{"type":["string"]},"symbol":{"type":["string"]},"decimals":{"type":["integer"]},"total_supply":{"type":["string"]}},"description":"Token the values refer to","additionalProperties":true},"address":{"type":"string","description":"Account or contract address"},"is_contract":{"type":"boolean","description":"True when the address holds contract code"},"bytecode_bytes":{"type":["number","null"],"description":"Size of the contract bytecode in bytes"},"eip7702_delegate":{"type":"null","description":"Delegate contract address when the account uses an EIP-7702 delegation, otherwise null"}},"additionalProperties":true},"description":{"type":"string"}}}}},"responseSchema":null,"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_aNellVJ_HP_SgznhEivtc","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":"Fetches on-chain contract metadata and introspection data for a given Ethereum smart contract address","exampleAgentPrompt":"Can you pull the on-chain contract introspection data for the Ethereum address 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 — I want to see its ABI, bytecode, and any available deployment metadata?","exampleUseCases":[{"title":"Audit a DeFi protocol contract","prompt":"I need to inspect the Ethereum smart contract at 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D — can you pull its on-chain data, ABI, and contract metadata so I can review what functions it exposes?"},{"title":"Verify a token contract before investing","prompt":"Before I put money into this token, can you look up the Ethereum contract at 0xdAC17F958D2ee523a2206206994597C13D831ec7 and show me its on-chain introspection data so I can confirm it's a legit ERC-20?"},{"title":"Reverse-engineer an unknown contract","prompt":"I found this Ethereum contract address 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 in a transaction and have no idea what it does — can you fetch its contract data from the chain so I can understand its interface?"}],"resultDescription":"Returns on-chain introspection data for the specified Ethereum contract address, including the contract ABI (function signatures, events, inputs/outputs), bytecode, and available deployment or metadata fields sourced directly from the Ethereum blockchain.","failureModes":["Address is an EOA (externally owned account), not a contract — returns empty or error","Invalid Ethereum address format — returns 400 or validation error","Contract not verified or bytecode not available on-chain — partial data returned","Network connectivity issues to Ethereum node — timeout or 503","Address is a self-destructed contract — may return empty bytecode"],"whenToPreferThis":"Use this endpoint when you need to programmatically inspect a deployed Ethereum smart contract's interface and on-chain data without manually querying Etherscan or running your own node. It is well-suited for agents that need to understand a contract's ABI before interacting with it, verify contract legitimacy, or extract deployment metadata as part of a DeFi analysis or security audit workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T00:45:52.877Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-evm-contract-introspection-ethereum-bcbd0d4a"}