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" }

You must be authenticated.

Other Tools from Moralis MCP Server

Related Tools

ID: paxjr6tzn8