get_abi
Retrieve the ABI (Application Binary Interface) for any smart contract on a specified blockchain network using the Bankless Onchain MCP Server.
Instructions
Gets the ABI for a given contract on a specific network
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": {
"network": "<network>",
"contract": "<contract>"
},
"name": "get_abi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract | Yes | The contract address | |
| network | Yes | The blockchain network (e.g., "ethereum", "base") |