What Are Stellar Data Entries and How Do I Remove Them?
What a Stellar data entry is, who creates them, why each one locks a reserve and stops an account merge, and how deleting one works.
You may find data entries on your Stellar account that you do not remember creating. They look harmless, a name and a short value, but each one keeps part of your XLM locked and each one stops the account from being merged.
This guide is one of five on the things that keep a Stellar account open. The others cover claimable balances, trustlines, extra signers and open offers.
What a data entry is
A data entry is a small piece of information stored on the account itself: a name of up to 64 bytes and a value of up to 64 bytes. The network does not interpret it. It is kept with the account until someone changes or deletes it.
Data entries are written with the ManageData operation. Only a transaction from the account itself can add, change or delete its own entries, and it needs the account's medium threshold, which on most accounts means the master key's signature.
Who creates them
Wallets, apps and services can write data entries to keep a setting, a reference or a marker on the account. The operation goes inside a transaction you sign, often for some other purpose, which is how entries appear that you never set out to create. If the tool that wrote an entry is gone, nothing removes the entry for you.
You can read an account's data entries in an account explorer or through Horizon, which returns each value encoded as base64.
Why each one locks a reserve and stops a merge
A data entry is one of the account's subentries, the same as a trustline, an offer or an extra signer. Each one raises the account's minimum balance by one base reserve, 0.5 XLM per entry today (checked against the network on ). That XLM stays locked until the entry is deleted.
The network also refuses to merge an account that still has subentries. A merge attempted with a data entry left on the account fails with op_has_sub_entries, and that result does not tell you which entry is left. Every data entry has to be deleted before the merge.
How deleting works
You delete a data entry with a ManageData operation that names the entry and gives no value. The network removes the entry and its reserve is freed. One operation deletes one entry, so an account with several entries needs one operation each, all of which can go in the same transaction.
Is it safe to delete them?
Deleting a data entry changes only the account's own data. It moves no funds and touches no other account. The one thing to check is whether a service you still use reads that entry from this account: once it is deleted, that service can no longer find it. When you are closing the account, that question has already been answered, because the account itself will be gone after the merge.
How LumenWipe handles it
The analyze screen shows how many data entries the account holds. They need no decision from you: every data entry is removed as part of the close.
On the review screen the plan shows a step called "Remove data entries", which says how many entries it clears. Each entry becomes one ManageData operation with the entry's name and no value. A transaction holds at most 100 operations, so an account with more entries than that is cleared in batches, shown as separate steps.
The order is the same for every account. If no single key of the account can sign every step, the extra signers are removed first, in a transaction of their own. Any claimable balances you chose to claim come next, in their own transaction, with any trustline a claim needs added just before it. Once those are confirmed, LumenWipe builds the close itself, which removes the extra signers if that did not happen first, then clears data entries, cancels open offers, converts, returns or sends each remaining balance, removes the trustlines and merges the account last. A close with more than 100 operations is split into several transactions in that same order. When the merge runs, no data entry is left on the account.
Doing it by hand
If you remove data entries yourself, list them in an account explorer, then sign a transaction from the account with one ManageData operation per entry name and no value. If your wallet has no option for it, you need a tool that can build a custom transaction, and you sign it with a key that meets the medium threshold.
Start a close
Open LumenWipe and enter the account. The review screen lists the data entry removals in the plan before you sign anything.
Next step
Enter the account to see how many data entries it holds and where their removal sits in the plan before anything is signed.
Analyze an accountRelated
- How Do I Remove a Trustline on Stellar?
Why every trustline has to go before a Stellar account can be merged, why a trustline only comes off at a zero balance, and what to do with the balance it still holds.
- Can't Merge a Stellar Account With Extra Signers? Check the Thresholds
Extra signers do not stop a Stellar account merge. What they can change is who has to sign it: how weights and thresholds work, what a failed merge's result code tells you, and what a multisig close needs from you.
- How Do I Cancel Open Offers on Stellar Before Closing My Account?
What an open offer on the Stellar DEX is, how it holds a subentry and part of your balance, why it stops an account merge, and how cancelling it works.