readContract
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 |
|---|---|---|
contractRequired | 0x… address | Contract address. |
abiRequired | JSON ABI fragment | Function ABI as JSON. |
functionRequired | string | Function name to call. |
args | any[] | Function arguments in order. |
§ 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.