writeMento FX
Execute Mento FX
execute_mento_fxExecute a Mento FX conversion on mainnet (e.g. USDm → EURm via Mento oracle pools). Sends the ERC-20 approval first if needed, then the FX trade. Requires CELO_PRIVATE_KEY in your MCP client env.
§ Inputs
| Name | Type | Description |
|---|---|---|
tokenInRequired | symbol or 0x… | Input token. |
tokenOutRequired | symbol or 0x… | Output token. |
amountRequired | string | Human-readable amount of tokenIn. |
recipient | 0x… address | Address that receives output tokens. Defaults to the signer. |
slippageTolerance | number (0-20) | Max slippage in percent. Defaults to 0.5. |
deadlineMinutes | integer | Transaction deadline in minutes. Defaults to 5. |
§ Returns
{ approvalHash?, swapHash, status, blockNumber }§ Try saying
- Convert 100 USDm to EURm.
Use this tool
Once Celina is wired into your MCP client, just ask in plain language. The LLM picks execute_mento_fx automatically.