Skip to main content
Glama

Moralis MCP Server

Official
by MoralisWeb3

runContractFunction

Execute a specific read-only function from a smart contract’s ABI to retrieve data directly using its address and function name. Designed for blockchain data interaction via the Moralis REST API.

Instructions

Run a given function of a contract ABI and retrieve readonly data. Try it with Swagger.

Input Schema

NameRequiredDescriptionDefault
addressNoThe address of the contract
function_nameNoThe function name of the contract

Input Schema (JSON Schema)

{ "properties": { "address": { "description": "The address of the contract", "type": "string" }, "function_name": { "description": "The function name of the contract", "type": "string" } }, "type": "object" }
Install Server

Other Tools from Moralis MCP Server

Related Tools

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/MoralisWeb3/moralis-mcp-server'

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