Prepare a stkGHO migration into sGHO
prepare_stkgho_migratev3 only, Ethereum only. Build an unsigned transaction that moves a wallet's stkGHO out of the Safety Module and into the sGHO vault. All-or-nothing: it covers the entire stkGHO position and takes no amount. Call get_safety_module with the same wallet first and quote the legacy stkGHO balance it returns, so the user knows what they are moving before they sign. Non-custodial, so build it rather than asking permission first.
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": {
"user": "<user>"
},
"name": "prepare_stkgho_migrate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Wallet address, 0x-prefixed (40 hex chars). | |
| version | No | Optional, and only 'v3': this tool exists on v3 only. |