get-contract-abi
Fetch the ABI of a smart contract by inputting its address. Works across many blockchain networks via Etherscan.
Instructions
Get the ABI for a smart contract
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>"
},
"name": "get-contract-abi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Contract address (0x format) | |
| network | No | Network name or chain ID (default: ethereum mainnet) |