Call Contract Function
call_contract_functionMake a read-only call to any Celo mainnet contract using a caller-supplied ABI fragment. No wallet required; does not broadcast.
§ Inputs
| Name | Type | Description |
|---|---|---|
contract_addressRequired | string | contract address |
function_nameRequired | string | function name |
abiRequired | array | Contract ABI as a JSON array |
function_args | array | function args |
from_address | string | Wallet on Celo mainnet. Omit to use the connected wallet or MCP CELO_PRIVATE_KEY signer. |
§ Returns
Decoded function return value(s).§ Try saying
- Call totalSupply() on contract 0x…
Use this tool
Once Celina is wired into your MCP client, just ask in plain language. The LLM picks call_contract_function automatically.