Prepare Account Migration / Sweep
prepare_account_migratePrepares batched Radix transaction manifests to migrate/sweep fungible tokens, LSUs, NFTs, and XRD (leaving a fee reserve) from one account to another. Excludes critical system owner badges by default unless includeCriticalBadges is true.
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": {
"fromAccount": "<fromAccount>",
"toAccount": "<toAccount>",
"network": "<network>",
"xrdReserve": "<xrdReserve>",
"includeNfts": "<includeNfts>",
"includeCriticalBadges": "<includeCriticalBadges>"
},
"name": "prepare_account_migrate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | Yes | Radix network: "mainnet" (production) or "stokenet" (testnet) | mainnet |
| toAccount | Yes | ||
| xrdReserve | Yes | 2 | |
| fromAccount | Yes | ||
| includeNfts | Yes | ||
| includeCriticalBadges | Yes |