Get contract ABI
get_contract_abiRetrieve the ABI of a verified smart contract by providing the chain and contract address. Returns the ABI array for integration.
Instructions
Get the ABI of a verified smart contract. Returns the ABI array only.
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": {
"chain": "<chain>",
"address": "<address>"
},
"name": "get_contract_abi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain name or numeric chain ID, e.g. "ethereum" or "1". Use get_chains_list to discover supported chains. | |
| address | Yes | The 0x-prefixed smart contract address. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| notes | No | ||
| pagination | No | ||
| instructions | No | ||
| data_description | No |