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
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contract | Yes | The contract address | |
network | Yes | The blockchain network (e.g., "ethereum", "base") |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"contract": {
"description": "The contract address",
"type": "string"
},
"network": {
"description": "The blockchain network (e.g., \"ethereum\", \"base\")",
"type": "string"
}
},
"required": [
"network",
"contract"
],
"type": "object"
}