{"uid":"cap_iAC30IAQG74XXbPUP6q4l","slug":"saylor-innovations-evm-bytecode-function-selector-scanner-b94bd2f5","name":"Saylor Innovations EVM Bytecode Function Selector Scanner","description":"Bytecode selector scan for 16 EVM chains: known functions found and capability flags such as mint, pause, blacklist, permit, fees and trading switch.","url":"https://saylorinnovations.com/api/chain/function-selectors?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","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["chain","address"],"properties":{"chain":{"type":"string","description":"chain name (ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, gnosis, linea, scroll, mantle, blast, sonic, celo, berachain, unichain) or chain id"},"address":{"type":"string","description":"the contract address to scan"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["chain","chain_id","address","selectors_found","known","capabilities","note","source"],"properties":{"note":{"type":"string","description":"plain-language reading of the result"},"chain":{"type":"string","description":"the chain name that was queried"},"known":{"type":["array","null"],"items":{"type":"object","properties":{"selector":{"type":["string","null"],"description":"4-byte selector"},"signature":{"type":["string","null"],"description":"matched function signature"}},"additionalProperties":true},"description":"matched selectors with signatures"},"source":{"type":"string","description":"where the data was read from or how it was computed"},"address":{"type":"string","description":"contract scanned"},"chain_id":{"type":"number","description":"EIP-155 chain id of that network"},"checked_at":{"type":"string","description":"Time the check was run (UTC)"},"capabilities":{"type":["object","null"],"properties":{"ownable":{"type":["boolean"]},"burnable":{"type":["boolean"]},"mintable":{"type":["boolean"]},"pausable":{"type":["boolean"]},"tx_limits":{"type":["boolean"]},"flash_loans":{"type":["boolean"]},"fee_controls":{"type":["boolean"]},"permit_support":{"type":["boolean"]},"trading_switch":{"type":["boolean"]},"rescue_or_sweep":{"type":["boolean"]},"role_based_access":{"type":["boolean"]},"blacklist_functions":{"type":["boolean"]},"selfdestruct_function":{"type":["boolean"]},"upgradeable_proxy_logic":{"type":["boolean"]}},"description":"true or false hints derived from the matches","additionalProperties":true},"code_size_bytes":{"type":"number","description":"size of the deployed code"},"known_selectors":{"type":"number","description":"selectors matched to a known signature"},"selectors_found":{"type":"number","description":"distinct 4-byte selectors in the bytecode"},"looks_like_proxy":{"type":"boolean","description":"true when the code looks like a small proxy"},"unknown_selectors":{"type":"number","description":"selectors not in the list"}},"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_4wl4YuVY7ujEHYj7im0Ah","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":"Scans a smart contract's deployed bytecode on 16 EVM chains to identify known function selectors and detect capability flags like mint, pause, blacklist, permit, fees, and trading switches.","exampleAgentPrompt":"Can you scan the contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum and tell me what known functions it has and whether it supports mint, pause, blacklist, or permit capabilities?","exampleUseCases":[{"title":"DeFi token security audit","prompt":"Check the contract 0x2b591e99afe9f32eaa6214f7b7629768c40eeb39 on Ethereum — does it have mint, blacklist, or pause functions? I want to know if the team has admin controls that could rug holders."},{"title":"Cross-chain contract capability check","prompt":"Scan the contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base and tell me if it has a trading switch or fee-related functions in its bytecode."},{"title":"Proxy contract detection","prompt":"I need to know if the contract at 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f on Arbitrum is a proxy and what function selectors it exposes — can you run a bytecode scan on it?"}],"resultDescription":"Returns the chain name and ID, contract address, number of distinct 4-byte selectors found, list of matched selectors with their human-readable function signatures, boolean capability flags (mint, pause, blacklist, permit, fees, trading switch), deployed code size in bytes, a proxy detection flag, a plain-language note summarizing findings, and the data source used.","failureModes":["Invalid or undeployed contract address returns empty/null results","Unsupported chain name or ID returns an error","Contract with no recognized selectors returns empty known array and all capability flags false","Very large contracts may have truncated selector lists","Rate limiting or payment failure returns 402 or 429 error"],"whenToPreferThis":"Choose this endpoint when you need rapid on-chain bytecode analysis of a smart contract across any of 16 supported EVM chains without running your own node or decompiler. It is especially useful for security screening of DeFi tokens, detecting dangerous admin functions like mint/pause/blacklist, or verifying whether a contract supports permit or fee mechanisms. Prefer it over generic block explorers when you need structured, machine-readable capability flags rather than raw ABI data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T19:10:58.590Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-evm-bytecode-function-selector-scanner-b94bd2f5"}