I am conducting experiments with buying and selling meme coins using a bot. I attempted to make a purchase with only 0.001 Sol. However, my account was deducted 0.003 Sol. Besides the detailed fees shown in the transaction, I cannot determine why a portion of my Sol is missing. Later, when checking the "Sol Balance Change" section in the transaction history, I found that 0.002 Sol was transferred to an address. Upon inspecting that address, I realized it is a token account with a Sol balance that belongs to me, and I am the owner of that token account. Why does this activity occur, and why is it not displayed in the transaction information? How can I recover the lost Sol? I am concerned about potential losses if I conduct transactions with larger amounts...
2 Answers
the 0.002 is the rent of the token account. This activity occurs because when you are purchasing this token, and since you didn't had a token account for that specific mint. You need to create that token account(will hold balance of that mint). In order to get this token rent balance back, you need to close your token account. Since i assume you are not a dev you can use the wallet inbuilt features, or there is a known dapp called sol-incinerator wich allows you to close in bulk.
Have a nice day.
-
2I’d also add that this is a one off - if you don’t close the token account then it’ll be used for that token going forward. So you won’t have that additional cost in future transactions with the same token.– Callum MCommented Jan 21 at 8:58
I ran into the same problem. But I don't know how to resolve it, I don't know on what website I need to go to close the token accounts. I asume you managed to do that, can you help me and explain how did you do that step by step? Thank you!!