1s_contract_code
Retrieve the deployed bytecode of a contract address. Returns '0x' for externally owned accounts, helping distinguish contracts from EOAs.
Instructions
Get the deployed bytecode of a contract via eth_getCode. Returns '0x' for EOA (non-contract) addresses. Bytecode can be very large for complex contracts. Prefer 1s_proxy_detect or 1s_contract_info_live for type checks without fetching full bytecode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Ethereum address (0x...) | |
| network | No | Blockchain network: "ethereum" (default), "sepolia", "avax" |