Contract Metadata
Returns contract information including ABI, proxy history, and token data.Returns
- Basic Info - Contract name, compiler version, verification status
- ABI - Complete Application Binary Interface with function signatures
- Proxy Information - Implementation addresses for upgradeable contracts
- Deployment History - When and how the contract was deployed
- Token Details - If it’s a token: price, volume, market cap, holders (via CoinGecko)
Example Queries
Parameters
| Parameter | Required | Description |
|---|---|---|
contractAddress | Yes | The contract address (0x…) |
blockchain | No | ethereum (default) or base |
Sample Output
For0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2:
- Contract name: Wrapped Ether (WETH)
- Verified: Yes
- Compiler: Solidity 0.4.18
- Functions: deposit, withdraw, approve, transfer
- Token data: price, market cap, holders
What You Get Back
Contract Information
ABI Summary
The tool provides function and event summaries: Functions:| Name | Type | Description |
|---|---|---|
| deposit | write | Wrap ETH into WETH |
| withdraw | write | Unwrap WETH to ETH |
| transfer | write | Transfer WETH to another address |
| approve | write | Approve spender allowance |
| balanceOf | read | Check WETH balance |
| Name | Description |
|---|---|
| Transfer | Emitted on transfers |
| Approval | Emitted on approvals |
| Deposit | Emitted when ETH is wrapped |
| Withdrawal | Emitted when WETH is unwrapped |
Token Data (if applicable)
Proxy Information
For upgradeable contracts:Proxy Support
For upgradeable contracts, the tool:- Detects proxy type
- Identifies current implementation
- Returns implementation history
- Provides the implementation ABI
Related Tools
- Get overview →
contractMetadataTool - Search code →
regexCodeAnalysisToolfor specific functions - Check upgrades →
diffContractVersionsfor change history - See usage →
getLatestTransactionsToolfor recent activity
Tips
Common Use Cases
Before interacting with a new DeFi protocol
Before interacting with a new DeFi protocol
“Give me an overview of [protocol] contract. What functions will I be calling to deposit/withdraw?”
Checking if a token is legitimate
Checking if a token is legitimate
“Is this token contract verified? Does it have any unusual functions like blacklist or pause?”
Understanding an NFT contract
Understanding an NFT contract
“What’s the minting function for this NFT? Are there any limits or requirements?”
Researching a protocol's architecture
Researching a protocol's architecture
“What are all the contracts in the [protocol] system and how do they relate to each other?”

