Smart-account: call contract
fuse_smart_call_contractSubmits an ERC-4337 UserOperation invoking arbitrary calldata on a contract from the configured smart wallet. Use when you need full control over the encoded call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"to": "<to>",
"data": "<data>"
},
"name": "fuse_smart_call_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target contract address. | |
| data | Yes | Encoded calldata (0x-prefixed hex). | |
| valueWei | No | Native FUSE to send with the call, in wei (default `0`). |