Skip to main content
Glama

Blockscout MCP Server

Official

get_contract_abi

Retrieve the ABI (Application Binary Interface) of a smart contract using its chain ID and address. The ABI enables interpretation of contract data and formatting of function calls for blockchain interactions.

Instructions

Get smart contract ABI (Application Binary Interface). An ABI defines all functions, events, their parameters, and return types. The ABI is required to format function calls or interpret contract data.

Input Schema

NameRequiredDescriptionDefault
addressYesSmart contract address
chain_idYesThe ID of the blockchain

Input Schema (JSON Schema)

{ "properties": { "address": { "description": "Smart contract address", "title": "Address", "type": "string" }, "chain_id": { "description": "The ID of the blockchain", "title": "Chain Id", "type": "string" } }, "required": [ "chain_id", "address" ], "title": "get_contract_abiArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/blockscout/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server