{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-user-guide/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"redocly_category":"User Guide","type":"markdown"},"seo":{"title":"Recover Stellar Funds","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"recover-stellar-funds","__idx":0},"children":["Recover Stellar Funds"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Transfer Stellar (XLM) and other Stellar assets to another wallet."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Since Fordefi generates keys using MPC, EdDSA keys are derived in a non-standard"," ","way, therefore they cannot be uploaded to regular wallets such as Freighter."," ","Fordefi overcomes this limitation by providing a command with the included ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/user-guide/backup-and-recover-private-keys/recovery/recover-private-keys"},"children":["Recovery Tool"]}," that enables you to move funds out of your wallets using the"," ","keys."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"classic-assets","__idx":1},"children":["Classic assets"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To transfer classic (issued) Stellar assets, use the following command"," ","(example):"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"./recovery-tool stellar-transfer --asset-type classic \\\n    --private-hex 0973dfc5d554a08cc04bca048984ab32eb5a051ab8f7985c1dd8013525a83274 \\\n    --to-address GDQP43MPLAOWQCNX2FCZKAE3TPBKIXJBQWYJQVNQ7B4ATEPCNLQRMHB \\\n    --amount 10000000 \\\n    --asset-code USDC \\\n    --asset-issuer GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Options"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["private-hex"]},": The private key that was recovered, in hex format."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["to-address"]},": The destination Stellar address (starts with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["G"]},")."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["asset-code"]},": The asset code (for example, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["USDC"]},"), 1-12 characters."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["asset-issuer"]},": The asset issuer’s Stellar address (starts with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["G"]},")."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["amount"]},": The amount to transfer in asset’s smallest unit (10^-7 of the asset)."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"soroban-tokens","__idx":2},"children":["Soroban tokens"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To transfer Soroban (SAC or contract) tokens, use the following command"," ","(example):"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"./recovery-tool stellar-transfer --asset-type soroban \\\n    --private-hex 0973dfc5d554a08cc04bca048984ab32eb5a051ab8f7985c1dd8013525a83274 \\\n    --to-address GDQP43MPLAOWQCNX2FCZKAE3TPBKIXJBQWYJQVNQ7B4ATEPCNLQRMHB \\\n    --amount 10000000 \\\n    --contract-address CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG6R7WM2FC4GWJBM2OE \\\n    --soroban-rpc-url https://soroban-rpc.example.com\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Options"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["private-hex"]},": The private key that was recovered, in hex format."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["to-address"]},": The destination Stellar address (starts with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["G"]},")."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contract-address"]},": The Soroban token contract address (starts with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["C"]},")."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["soroban-rpc-url"]},": The Soroban RPC URL used to simulate the transaction."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["amount"]},": The amount to transfer in the token’s base units."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"native-xlm","__idx":3},"children":["Native XLM"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To transfer native XLM, use the following command (example):"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"./recovery-tool stellar-transfer --asset-type native \\\n    --private-hex 0973dfc5d554a08cc04bca048984ab32eb5a051ab8f7985c1dd8013525a83274 \\\n    --to-address GDQP43MPLAOWQCNX2FCZKAE3TPBKIXJBQWYJQVNQ7B4ATEPCNLQRMHB \\\n    --amount 10000000\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Options"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["private-hex"]},": The private key that was recovered, in hex format."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["to-address"]},": The destination Stellar address (starts with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["G"]},")."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["amount"]},": The amount to transfer in stroops (1 XLM = 10^7 stroops)."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Fordefi strongly suggests you transfer classic and Soroban assets first, and"," ","then the native XLM currency. The reason is that native currency is required for"," ","an account’s transaction fees. If you transfer native currency first, you will"," ","not be able to transfer the other assets."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"raw-transaction","__idx":4},"children":["Raw transaction"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To execute a raw transaction with a custom XDR envelope, use the following"," ","command (example):"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"./recovery-tool stellar-raw-transaction \\\n        --private-hex 0973dfc5d554a08cc04bca048984ab32eb5a051ab8f7985c1dd8013525a83274 \\\n        --payload \"AAAAAgAAAABPfam7uN5ddnCPGZpReNq3sXE6StfYZGy50UVIl4aFvwAAAMgDsb0XAAAAAQAAAAEAAAAAAAAAAAAAAABp0mZ6AAAAAAAAAAIAAAAAAAAABgAAAAFVU0RDAAAAADuZETgO/piLoKiQDrHP5E82b32+lGvtB3JA9/Yk3xXFf/////////8AAAAAAAAADQAAAAAAAAAAAJiWgAAAAABPfam7uN5ddnCPGZpReNq3sXE6StfYZGy50UVIl4aFvwAAAAFVU0RDAAAAADuZETgO/piLoKiQDrHP5E82b32+lGvtB3JA9/Yk3xXFAAAAAAAPQkAAAAAAAAAAAAAAAAA\"\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Options"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["private-hex"]},": The private key that was recovered, in hex format."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["payload"]},": The base64-encoded XDR transaction envelope."]}]}]},"headings":[{"value":"Recover Stellar Funds","id":"recover-stellar-funds","depth":1},{"value":"Classic assets","id":"classic-assets","depth":2},{"value":"Soroban tokens","id":"soroban-tokens","depth":2},{"value":"Native XLM","id":"native-xlm","depth":2},{"value":"Raw transaction","id":"raw-transaction","depth":2}],"frontmatter":{"seo":{"title":"Recover Stellar Funds"}},"lastModified":"2026-05-03T10:41:08.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/user-guide/backup-and-recover-private-keys/recovery/recover-stellar-funds","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}