Prepare mandate account
prepare_mandate_createCreate a mandate account: a smart account that is itself a sponsor, so limits can bind a session key. Existing positions can't be moved into it. The owner can never change: there is no owner recovery. Unaudited. Refused while mandates aren't enabled on this server. Returns UNSIGNED transaction data for the owner's own wallet; simulated first and refused if it would revert. Never signs or sends.
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": {
"owner": "<owner>"
},
"name": "prepare_mandate_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| salt | No | Optional: a whole number or 32 bytes of hex, to create more than one account | |
| owner | Yes | The user's wallet address (0x...). Used to read the position and as the simulated sender; nothing is signed. |