{"slug":"agent-api-testnet-tim1712-workers-dev-v1-evm-contract-prefli-915c45","title":"Inspect a Base smart-contract address before interacting with it","host":"agent-api-testnet.tim1712.workers.dev","method":"POST","resource":"https://agent-api-testnet.tim1712.workers.dev/v1/evm/contract-preflight","category":"other","description":"Inspect a Base smart-contract address before interacting with it. Returns deterministic bytecode hash/size, EIP-1967 implementation information, ERC-20 metadata when available, and the current chain head. Read-only and does not make safety or legitimacy claims.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":287,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:84532"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"address":"0x036CbD53842c5426634e7929541eC2318f3dCF7e"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"address":{"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"}},"required":["address"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"address":{"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"chain":{"additionalProperties":false,"properties":{"blockNumber":{"minimum":0,"type":"integer"},"headAgeSeconds":{"minimum":0,"type":"integer"},"headTimestamp":{"type":"string"}},"required":["blockNumber","headTimestamp","headAgeSeconds"],"type":"object"},"chainId":{"const":84532,"type":"number"},"checkedAt":{"type":"string"},"codeHash":{"anyOf":[{"pattern":"^0x[0-9a-fA-F]{64}$","type":"string"},{"type":"null"}]},"codeSizeBytes":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}]},"isContract":{"type":"boolean"},"network":{"const":"base-sepolia","type":"string"},"proxy":{"additionalProperties":false,"properties":{"detected":{"type":"boolean"},"implementation":{"anyOf":[{"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},{"type":"null"}]},"type":{"anyOf":[{"const":"eip1967","type":"string"},{"type":"null"}]}},"required":["detected","type","implementation"],"type":"object"},"token":{"anyOf":[{"additionalProperties":false,"properties":{"decimals":{"anyOf":[{"maximum":255,"minimum":0,"type":"integer"},{"type":"null"}]},"erc20Like":{"type":"boolean"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"symbol":{"anyOf":[{"type":"string"},{"type":"null"}]},"totalSupply":{"anyOf":[{"pattern":"^\\d+$","type":"string"},{"type":"null"}]}},"required":["erc20Like","name","symbol","decimals","totalSupply"],"type":"object"},{"type":"null"}]}},"required":["network","chainId","address","isContract","codeSizeBytes","codeHash","proxy","token","chain","checkedAt"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":287,"error":null}],"description_full":"Inspect a Base smart-contract address before interacting with it. Returns deterministic bytecode hash/size, EIP-1967 implementation information, ERC-20 metadata when available, and the current chain head. Read-only and does not make safety or legitimacy claims.","last_updated":"2026-08-30T12:14:28.621Z","schemes":["exact"]}