get_contract_bytecode
Retrieve deployed bytecode for a contract address, returning empty for EOA wallets. Supports multiple EVM networks including BSC, Ethereum, and more.
Instructions
Get the deployed bytecode of a contract. Returns empty if address is an EOA.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The contract address | |
| network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |