is_contract
Verify whether a given address is a smart contract or an externally owned account (EOA) on supported networks, including BSC, Ethereum, and more.
Instructions
Check if an address is a smart contract or an externally owned account (EOA)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
address | Yes | The wallet or contract address to check | |
network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"address": {
"description": "The wallet or contract address to check",
"type": "string"
},
"network": {
"default": "bsc",
"description": "Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet.",
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
}