How to close an account into an exchange deposit address, and why a memo is required.
Exchanges do not credit an incoming ACCOUNT_MERGE. They only recognize a normal payment that carries a memo. A merge sent straight to a deposit address is typically lost.
How LumenWipe handles it
When the destination is an exchange, the close ends in a single atomic transaction with two operations:
Your account merges into a shared mediator account.
The mediator immediately pays the full amount to your exchange address as an ordinary payment with your memo.
You sign the merge. LumenWipe co-signs only the mediator’s payment, after checking its exact shape. Because both operations are one transaction with a fixed destination and amount, the funds cannot be redirected between them.The mediator is a persistent account funded once by the operator, so you do not lose 1 XLM to a throwaway intermediary. You recover essentially everything, and pay only network fees.
Availability by network
As of 2026-10-10, the mediator flow is available on testnet. Mainnet availability follows the deployment status in the monitoring plan: the API only co-signs the mediator payment on a network where a mediator key is configured. Elsewhere, or while exchange closes are paused, the plan reports the close as blocked before anything is built or signed, so the account is never cleaned up for a merge that cannot follow. Choose a wallet you control as the destination instead, or try again later.
Your browser checks it too
Before you sign, the browser confirms that the merge comes from your account, that the payment comes from the account the merge just paid, that it goes to the address you typed, in XLM, and for at least the balance it observed. The mediator is a conduit and never a destination.
Integrating without the LumenWipe web client
The co-sign endpoint checks the shape of the mediated pair and caps the forward at the merged balance, but it does not check the destination or the memo. If you call the API or the SDK directly, your own verification is the only check that the forward goes to the exchange address your user entered, in XLM, for at least the balance you observed less a small fee tolerance, with the right memo. The SDK verification page lists the exact checks, and the threat model explains why.
The memo is required
A known exchange or anchor needs the correct memo, of the right type (text, ID, or hash). LumenWipe blocks submission without it, because funds sent to an exchange without a memo are typically lost.
Addresses LumenWipe does not recognize
The list of known exchanges is curated, so an unlisted address may still be an exchange deposit address. LumenWipe does not assume an unlisted address is a personal wallet. It asks you to confirm the destination, and it will not build the transaction until you answer. Confirm only if you know where the address came from.
If you are unsure whether an address belongs to an exchange, check with the exchange before you
close. Check the memo as well. Both are irreversible once submitted.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"LumenWipe","colors":{"primary":"#00B0F0","light":"#4DC4F5","dark":"#00B0F0"},"logo":{"light":"https://mintcdn.com/lumenwipe/cJjMs_De8L7u5aBP/logo/light.svg?fit=max\u0026auto=format\u0026n=cJjMs_De8L7u5aBP\u0026q=85\u0026s=93c4352e1817af27a374ba79539888cc","dark":"https://mintcdn.com/lumenwipe/cJjMs_De8L7u5aBP/logo/dark.svg?fit=max\u0026auto=format\u0026n=cJjMs_De8L7u5aBP\u0026q=85\u0026s=33d7802191a2a32f4ab2aa9a08c5fe3e","href":"https://lumenwipe.com"},"favicon":"https://mintcdn.com/lumenwipe/cJjMs_De8L7u5aBP/favicon.svg?fit=max\u0026auto=format\u0026n=cJjMs_De8L7u5aBP\u0026q=85\u0026s=99c71bffccb4024e30abbb5a4c851db8","appearance":{"default":"dark","strict":true},"background":{"color":{"light":"#FFFFFF","dark":"#080D0F"}},"navbar":{"links":[{"icon":"arrow-up-right-from-square","href":"https://lumenwipe.com/mainnet","label":"Open the app"},{"icon":"github","href":"https://github.com/LumenWipe/lumenwipe","label":"GitHub"}],"primary":{"type":"button","label":"Executive summary","href":"/executive-summary"}},"footer":{"socials":{"github":"https://github.com/LumenWipe/lumenwipe"}},"seo":{"metatags":{"canonical":"https://docs.lumenwipe.com"}},"fonts":{"heading":{"family":"Bricolage Grotesque","weight":700},"body":{"family":"Manrope"}},"contextual":{"options":["copy","view","assistant","chatgpt","claude","mcp"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lumenwipe","hasAudioNarration":false,"actualSubdomain":"lumenwipe","customDomains":["docs.lumenwipe.com"],"gitSource":{"type":"github","owner":"lumenwipe","repo":"lumenwipe","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0f311a65d1a69adc1c30db","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"API reference","count":26},{"language":"default","tag":"Documentation","count":13},{"language":"default","tag":"Runbooks","count":13},{"language":"default","tag":"SDK","count":10},{"language":"default","tag":"Guides","count":7},{"language":"default","tag":"Close","count":7},{"language":"default","tag":"Brand","count":6},{"language":"default","tag":"Reference","count":6},{"language":"default","tag":"Use cases","count":5},{"language":"default","tag":"Integrators","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"guides/exchanges-and-the-mediator","slug":"/guides/exchanges-and-the-mediator","pageMetadata":{"title":"Exchange closes and the mediator","description":"How to close an account into an exchange deposit address, and why a memo is required.","icon":"building-columns","href":"/guides/exchanges-and-the-mediator"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How to close an account into an exchange deposit address, and why a memo is required.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Exchanges do not credit an incoming `,_jsx(_components.code,{children:`ACCOUNT_MERGE`}),`. They only recognize a normal payment that carries a memo. A merge sent straight to a deposit address is typically lost.`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-lumenwipe-handles-it`,children:`How LumenWipe handles it`}),`\n`,_jsx(_components.p,{children:`When the destination is an exchange, the close ends in a single atomic transaction with two operations:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Your account merges into a shared `,_jsx(_components.strong,{children:`mediator account`}),`.`]}),`\n`,_jsx(_components.li,{children:`The mediator immediately pays the full amount to your exchange address as an ordinary payment with your memo.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`You sign the merge. LumenWipe co-signs only the mediator’s payment, after checking its exact shape. Because both operations are one transaction with a fixed destination and amount, the funds cannot be redirected between them.`}),`\n`,_jsx(_components.p,{children:`The mediator is a persistent account funded once by the operator, so you do not lose 1 XLM to a throwaway intermediary. You recover essentially everything, and pay only network fees.`}),`\n`,_jsx(Heading,{level:`2`,id:`availability-by-network`,children:`Availability by network`}),`\n`,_jsxs(_components.p,{children:[`As of 2026-10-10, the mediator flow is available on testnet. Mainnet availability follows the deployment status in the `,_jsx(_components.a,{href:`/monitoring-plan`,children:`monitoring plan`}),`: the API only co-signs the mediator payment on a network where a mediator key is configured. Elsewhere, or while exchange closes are paused, the plan reports the close as blocked before anything is built or signed, so the account is never cleaned up for a merge that cannot follow. Choose a wallet you control as the destination instead, or try again later.`]}),`\n`,_jsx(Heading,{level:`2`,id:`your-browser-checks-it-too`,children:`Your browser checks it too`}),`\n`,_jsx(_components.p,{children:`Before you sign, the browser confirms that the merge comes from your account, that the payment comes from the account the merge just paid, that it goes to the address you typed, in XLM, and for at least the balance it observed. The mediator is a conduit and never a destination.`}),`\n`,_jsx(Heading,{level:`2`,id:`integrating-without-the-lumenwipe-web-client`,children:`Integrating without the LumenWipe web client`}),`\n`,_jsxs(_components.p,{children:[`The co-sign endpoint checks the shape of the mediated pair and caps the forward at the merged balance, but it does not check the destination or the memo. If you call the API or the SDK directly, your own verification is the only check that the forward goes to the exchange address your user entered, in XLM, for at least the balance you observed less a small fee tolerance, with the right memo. The `,_jsx(_components.a,{href:`/sdk/verification#mediated-closes-the-destination-is-yours-to-check`,children:`SDK verification page`}),` lists the exact checks, and the `,_jsx(_components.a,{href:`/threat-model#integrator-responsibility-for-a-mediated-close`,children:`threat model`}),` explains why.`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-memo-is-required`,children:`The memo is required`}),`\n`,_jsx(_components.p,{children:`A known exchange or anchor needs the correct memo, of the right type (text, ID, or hash). LumenWipe blocks submission without it, because funds sent to an exchange without a memo are typically lost.`}),`\n`,_jsx(Heading,{level:`2`,id:`addresses-lumenwipe-does-not-recognize`,children:`Addresses LumenWipe does not recognize`}),`\n`,_jsx(_components.p,{children:`The list of known exchanges is curated, so an unlisted address may still be an exchange deposit address. LumenWipe does not assume an unlisted address is a personal wallet. It asks you to confirm the destination, and it will not build the transaction until you answer. Confirm only if you know where the address came from.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`If you are unsure whether an address belongs to an exchange, check with the exchange before you\nclose. Check the memo as well. Both are irreversible once submitted.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Exchange closes and the mediator","description":"How to close an account into an exchange deposit address, and why a memo is required.","icon":"building-columns","href":"/guides/exchanges-and-the-mediator"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How LumenWipe handles it","slug":"how-lumenwipe-handles-it","depth":2,"children":[]},{"title":"Availability by network","slug":"availability-by-network","depth":2,"children":[]},{"title":"Your browser checks it too","slug":"your-browser-checks-it-too","depth":2,"children":[]},{"title":"Integrating without the LumenWipe web client","slug":"integrating-without-the-lumenwipe-web-client","depth":2,"children":[]},{"title":"The memo is required","slug":"the-memo-is-required","depth":2,"children":[]},{"title":"Addresses LumenWipe does not recognize","slug":"addresses-lumenwipe-does-not-recognize","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"lumenwipe","siteName":"LumenWipe","title":"Exchange closes and the mediator - LumenWipe","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-08T15:42:08.995Z","originalFileLocation":"guides/exchanges-and-the-mediator.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How to close an account into an exchange deposit address, and why a memo is required.\">\u003cmeta data-mint-head name=\"application-name\" content=\"LumenWipe\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lumenwipe/6u7mXFzmR4nyIN8X/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/lumenwipe/6u7mXFzmR4nyIN8X/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lumenwipe/6u7mXFzmR4nyIN8X/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lumenwipe/6u7mXFzmR4nyIN8X/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lumenwipe/6u7mXFzmR4nyIN8X/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lumenwipe/6u7mXFzmR4nyIN8X/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lumenwipe/6u7mXFzmR4nyIN8X/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lumenwipe/6u7mXFzmR4nyIN8X/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lumenwipe/6u7mXFzmR4nyIN8X/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Exchange closes and the mediator - LumenWipe\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to close an account into an exchange deposit address, and why a memo is required.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LumenWipe\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.lumenwipe.com/guides/exchanges-and-the-mediator\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lumenwipe.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Exchange+closes+and+the+mediator\u0026amp;description=How+to+close+an+account+into+an+exchange+deposit+address%2C+and+why+a+memo+is+required.\u0026amp;theme=9dc48fd3b9fb9b559bd3c9ef\u0026amp;signature=4f9bcb035f29d2a1d29e909949ea69b2cff2b79c693dbaaa82704ac1adbc6761\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Exchange closes and the mediator - LumenWipe\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to close an account into an exchange deposit address, and why a memo is required.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lumenwipe.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Exchange+closes+and+the+mediator\u0026amp;description=How+to+close+an+account+into+an+exchange+deposit+address%2C+and+why+a+memo+is+required.\u0026amp;theme=9dc48fd3b9fb9b559bd3c9ef\u0026amp;signature=4f9bcb035f29d2a1d29e909949ea69b2cff2b79c693dbaaa82704ac1adbc6761\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/lumenwipe/6u7mXFzmR4nyIN8X/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LumenWipe\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00B0F0\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.lumenwipe.com/guides/exchanges-and-the-mediator\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/exchanges-and-the-mediator.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.lumenwipe.com/#organization\",\"name\":\"LumenWipe\",\"url\":\"https://docs.lumenwipe.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lumenwipe/cJjMs_De8L7u5aBP/logo/light.svg?fit=max\u0026auto=format\u0026n=cJjMs_De8L7u5aBP\u0026q=85\u0026s=93c4352e1817af27a374ba79539888cc\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.lumenwipe.com#website\",\"name\":\"LumenWipe\",\"url\":\"https://docs.lumenwipe.com\",\"publisher\":{\"@id\":\"https://docs.lumenwipe.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.lumenwipe.com/guides/exchanges-and-the-mediator#webpage\",\"url\":\"https://docs.lumenwipe.com/guides/exchanges-and-the-mediator\",\"name\":\"Exchange closes and the mediator\",\"description\":\"How to close an account into an exchange deposit address, and why a memo is required.\",\"dateModified\":\"2026-11-08T15:42:08.995Z\",\"isPartOf\":{\"@id\":\"https://docs.lumenwipe.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.lumenwipe.com/guides/exchanges-and-the-mediator#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.lumenwipe.com/guides/exchanges-and-the-mediator#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://docs.lumenwipe.com/guides/closing-an-account\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Exchange closes and the mediator\",\"item\":\"https://docs.lumenwipe.com/guides/exchanges-and-the-mediator\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.lumenwipe.com/guides/exchanges-and-the-mediator#article\",\"headline\":\"Exchange closes and the mediator\",\"name\":\"Exchange closes and the mediator\",\"description\":\"How to close an account into an exchange deposit address, and why a memo is required.\",\"url\":\"https://docs.lumenwipe.com/guides/exchanges-and-the-mediator\",\"mainEntityOfPage\":{\"@id\":\"https://docs.lumenwipe.com/guides/exchanges-and-the-mediator#webpage\"},\"dateModified\":\"2026-11-08T15:42:08.995Z\",\"publisher\":{\"@id\":\"https://docs.lumenwipe.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.lumenwipe.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LumenWipe\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"LumenWipe\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/exchanges-and-the-mediator.md","siteName":"LumenWipe","nav":{"global":null,"groups":[{"group":"Documentation","pages":[{"title":"LumenWipe","sidebarTitle":"Home","icon":"house","href":"/index"},{"title":"Executive summary","icon":"file-lines","href":"/executive-summary"},{"title":"Technical architecture","sidebarTitle":"Architecture","icon":"sitemap","href":"/architecture"},{"title":"STRIDE threat model","sidebarTitle":"Threat model","icon":"shield-halved","href":"/threat-model"},{"title":"Invariant register","sidebarTitle":"Invariant register","icon":"list-check","href":"/invariants"},{"title":"Multisig cosigning across devices","sidebarTitle":"Multisig cosigning","icon":"users","href":"/multisig-cosigning"},{"title":"The verify package","sidebarTitle":"Verify package","icon":"box","href":"/verify-package"},{"title":"Security scope","sidebarTitle":"Security scope","icon":"lock","href":"/security-scope"},{"title":"Security tooling remediation plan","sidebarTitle":"Remediation plan","icon":"clipboard-check","href":"/security-remediation-plan"},{"title":"On-chain monitoring plan","sidebarTitle":"Monitoring plan","icon":"eye","href":"/monitoring-plan"},{"title":"Service levels","sidebarTitle":"Service levels","icon":"gauge","href":"/service-levels"},{"title":"Web performance baseline","sidebarTitle":"Performance baseline","icon":"chart-line","href":"/web-performance-baseline"},{"title":"Community and maintenance","sidebarTitle":"Community","icon":"people-group","href":"/community-and-communications"}]},{"group":"Security and trust","pages":[{"title":"Security posture","icon":"shield-check","href":"/security/posture"},{"title":"Data handling","icon":"database","href":"/security/data-handling"}]},{"group":"Runbooks","pages":[{"title":"Runbooks","icon":"book","href":"/runbooks/overview"},{"title":"Incident response","icon":"triangle-exclamation","href":"/runbooks/incident-response"},{"title":"Rotate the relay account","icon":"rotate","href":"/runbooks/rotate-relay-account"},{"title":"Rotate the fee sponsor","icon":"rotate","href":"/runbooks/rotate-fee-sponsor"},{"title":"Rotate operator secrets","icon":"key","href":"/runbooks/rotate-secrets"},{"title":"Provider outage","icon":"plug-circle-xmark","href":"/runbooks/provider-outage"},{"title":"Provider quotas","icon":"gauge","href":"/runbooks/provider-quotas"},{"title":"Firestore outage","icon":"database","href":"/runbooks/firestore-outage"},{"title":"Restore API keys","icon":"box-archive","href":"/runbooks/restore-api-keys"},{"title":"Bad deploy","icon":"clock-rotate-left","href":"/runbooks/bad-deploy"},{"title":"Drained fee sponsor","icon":"gas-pump","href":"/runbooks/drained-sponsor"},{"title":"Registry expiry","icon":"calendar-xmark","href":"/runbooks/registry-expiry"},{"title":"Close stuck mid-flow","icon":"hourglass-half","href":"/runbooks/stuck-close"}]},{"group":"Use cases","pages":[{"title":"Use cases","sidebarTitle":"Overview","icon":"compass","href":"/use-cases/overview"},{"title":"Individuals","icon":"user","href":"/use-cases/individuals"},{"title":"Wallets and exchanges","icon":"wallet","href":"/use-cases/wallets-and-exchanges"},{"title":"Embedded wallet platforms","icon":"layer-group","href":"/use-cases/embedded-wallet-platforms"},{"title":"Businesses and operations teams","icon":"building","href":"/use-cases/businesses-and-operations"}]},{"group":"Guides","pages":[{"title":"Closing a Stellar account","icon":"door-closed","href":"/guides/closing-an-account"},{"title":"How a close works","icon":"route","href":"/guides/how-closing-works"},{"title":"Signing options","icon":"signature","href":"/guides/signing-options"},{"title":"Exiting protocol positions","description":"Why DeFi positions come first, which protocols are supported, and what blocks an exit.","icon":"arrow-right-from-bracket","href":"/guides/exiting-protocol-positions"},{"title":"Exchange closes and the mediator","icon":"building-columns","href":"/guides/exchanges-and-the-mediator"},{"title":"Troubleshooting and FAQ","description":"Common blockers, what they mean, and how to resolve them.","icon":"circle-question","href":"/guides/troubleshooting-and-faq"},{"title":"Recovery","icon":"life-ring","href":"/guides/recovery"}]},{"group":"Reference","pages":[{"title":"Glossary","icon":"book","href":"/reference/glossary"},{"title":"Supported","icon":"table-list","href":"/reference/supported"},{"title":"Logging and privacy","icon":"shield-halved","href":"/reference/logging-and-privacy"},{"title":"Environment variables","icon":"sliders","href":"/reference/environment"},{"title":"Receipt format","icon":"file-export","href":"/reference/receipt-format"},{"title":"Changelog","icon":"clock-rotate-left","href":"/changelog"}]},{"group":"Integrators","pages":[{"title":"Quickstart","icon":"rocket","href":"/integrators/quickstart"},{"title":"Networks","icon":"network-wired","href":"/integrators/networks"},{"title":"Limits","icon":"gauge","href":"/integrators/limits"},{"title":"Compatibility and deprecation","icon":"code-compare","href":"/integrators/compatibility"}]},{"group":"SDK","pages":[{"title":"SDK overview","icon":"box","href":"/sdk/overview"},{"title":"LumenWipeClient","icon":"plug","href":"/sdk/client"},{"title":"closePlan","icon":"list-check","href":"/sdk/close-plan"},{"title":"closeTransactions","icon":"layer-group","href":"/sdk/close-transactions"},{"title":"submit","icon":"paper-plane","href":"/sdk/submit"},{"title":"runClose","icon":"rotate","href":"/sdk/run-close"},{"title":"Verification is your responsibility","icon":"shield-check","href":"/sdk/verification"},{"title":"Error handling","icon":"triangle-exclamation","href":"/sdk/errors"},{"title":"Versioning","icon":"tag","href":"/sdk/versioning"},{"title":"Headless example","icon":"terminal","href":"/sdk/headless-example"}]},{"group":"API reference","pages":[{"title":"Introduction","icon":"code","href":"/api-reference/introduction"},{"title":"Error reference","icon":"triangle-exclamation","href":"/api-reference/errors"},{"group":"Close","pages":[{"title":"Build a deterministic close plan with decision points and estimates.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/{network}/close/plan","href":"/api-reference/close/build-a-deterministic-close-plan-with-decision-points-and-estimates"},{"title":"Plan a bounded list of accounts in one call - what each holds, its wind-down steps, and what lands at the shared destination. Read-only; no decisions are applied per address.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/{network}/close/batch-plan","href":"/api-reference/close/plan-a-bounded-list-of-accounts-in-one-call--what-each-holds-its-wind-down-steps-and-what-lands-at-the-shared-destination-read-only;-no-decisions-are-applied-per-address"},{"title":"Build the unsigned close transactions for a resolved plan.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/{network}/close/transactions","href":"/api-reference/close/build-the-unsigned-close-transactions-for-a-resolved-plan"},{"title":"Submit a client-signed transaction and wait for confirmation.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/{network}/submit","href":"/api-reference/close/submit-a-client-signed-transaction-and-wait-for-confirmation"},{"title":"Look a transaction up by hash, without submitting anything.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/{network}/transactions/{hash}","href":"/api-reference/close/look-a-transaction-up-by-hash-without-submitting-anything"},{"title":"Read how far an account is from closed, from live state.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/{network}/close/status","href":"/api-reference/close/read-how-far-an-account-is-from-closed-from-live-state"},{"title":"Read the XLM confirmed close transactions delivered to their destination.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/{network}/close/delivered","href":"/api-reference/close/read-the-xlm-confirmed-close-transactions-delivered-to-their-destination"}]},{"group":"Account","pages":[{"title":"Read full on-chain account state (balances, trustlines, offers, signers).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/{network}/account/{address}","href":"/api-reference/account/read-full-on-chain-account-state-balances-trustlines-offers-signers"},{"title":"Read every live SEP-41 allowance the account has granted (architecture.md §12). Read-only.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/{network}/allowances/{address}","href":"/api-reference/account/read-every-live-sep-41-allowance-the-account-has-granted-architecturemd-§12-read-only"},{"title":"Build a one-operation approve(owner, spender, 0, 0) transaction that revokes a SEP-41 allowance (architecture.md §12). Unsigned - the caller signs and submits it.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/{network}/allowances/revoke","href":"/api-reference/account/build-a-one-operation-approveowner-spender-0-0-transaction-that-revokes-a-sep-41-allowance-architecturemd-§12-unsigned--the-caller-signs-and-submits-it"},{"title":"Find a conversion path from an asset to XLM.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/{network}/paths","href":"/api-reference/account/find-a-conversion-path-from-an-asset-to-xlm"}]},{"group":"Mediator","pages":[{"title":"Co-sign the mediator forwarding payment of an exchange close.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/{network}/mediator/sign","href":"/api-reference/mediator/co-sign-the-mediator-forwarding-payment-of-an-exchange-close"},{"title":"Check whether a destination needs the mediator flow and/or a memo.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/{network}/mediator/check/{address}","href":"/api-reference/mediator/check-whether-a-destination-needs-the-mediator-flow-andor-a-memo"}]},{"group":"Fee sponsorship","pages":[{"title":"Sponsor a wind-down transaction's fee for a reserve-locked account.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/{network}/fee-bump/sponsor","href":"/api-reference/fee-bump/sponsor-a-wind-down-transactions-fee-for-a-reserve-locked-account"}]},{"group":"Config","pages":[{"title":"The exchange deposit-address registry, with the freshness to judge it by.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/config/exchange-registry","href":"/api-reference/config/the-exchange-deposit-address-registry-with-the-freshness-to-judge-it-by"}]},{"group":"Stats","pages":[{"title":"Accounts closed and XLM recovered (public, no API key).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/{network}/stats","href":"/api-reference/stats/accounts-closed-and-xlm-recovered-public-no-api-key"},{"title":"Totals, recent closes and daily activity (public, no API key).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/{network}/stats/feed","href":"/api-reference/stats/totals-recent-closes-and-daily-activity-public-no-api-key"},{"title":"Count a confirmed close submitted outside this API.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/{network}/stats/merges","href":"/api-reference/stats/count-a-confirmed-close-submitted-outside-this-api"}]},{"group":"Health","pages":[{"title":"Liveness check (public, no API key).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /health","href":"/api-reference/health/liveness-check-public-no-api-key"},{"title":"Deep check (public, no API key): is Stellar RPC reachable on every network.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /health/deep","href":"/api-reference/health/deep-check-public-no-api-key:-is-stellar-rpc-reachable-on-every-network"},{"title":"Dependency view (public, no API key): each upstream's last probed state.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /health/dependencies","href":"/api-reference/health/dependency-view-public-no-api-key:-each-upstreams-last-probed-state"},{"title":"User path check (public, no API key): a read-only analyze and plan of one fixed public mainnet account.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /health/user-path","href":"/api-reference/health/user-path-check-public-no-api-key:-a-read-only-analyze-and-plan-of-one-fixed-public-mainnet-account"}]},{"group":"Service","pages":[{"title":"Service index (public, no API key).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /","href":"/api-reference/service/service-index-public-no-api-key"},{"title":"API catalog (RFC 9727, public, no API key).","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /.well-known/api-catalog","href":"/api-reference/service/api-catalog-rfc-9727-public-no-api-key"}]}]},{"group":"Contributing","pages":[{"title":"Add a protocol exit","icon":"code-branch","href":"/contributing/add-a-protocol-exit"},{"title":"Add a playground scenario","icon":"flask","href":"/contributing/add-a-playground-scenario"},{"title":"Localization","icon":"language","href":"/contributing/localization"}]},{"group":"Design","pages":[{"title":"Design tokens","href":"/design/tokens"}]},{"group":"Brand","pages":[{"title":"Foundations","href":"/brand/foundations"},{"title":"Voice and tone","href":"/brand/voice-and-tone"},{"title":"Color meaning","href":"/brand/color"},{"title":"Logo usage","href":"/brand/logo"},{"title":"Type","href":"/brand/type"},{"title":"Do and do not","href":"/brand/do-and-do-not"}]}]},"basePath":"","title":"Exchange closes and the mediator - LumenWipe","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":[],"chunks":[]}