Data is stored on the EOS blockchain using RAM (random access memory) in the EOS ecosystem. RAM is used for transaction processing, voting, staking, buying, and purchasing. An EOS account can buy, sell, and recover RAM resources. You can find in-depth information on the latter here.
As previously stated, storing data on RAM occupies those resources. Conversely, if you manually clean your account of the unnecessary data using it, RAM can be freed. In other words, you can free up RAM by performing the close action in the token contract to end the contract using it. To use the contract token to perform a close action, read the following instructions.
Go to the site bloks.io in the tokens section. This will show a list of all the tokens on the EOS blockchain. Ensure you are logged in with your EOS account from which you want to restore RAM.
RAM resources need token balances recorded in the EOS mainnet. If your token balance is zero, you can go for close action with token contracts.
Put the token's name, symbol, or contract address in the box. Let's say we want to use the EOSDT token as an example.
Click on the EOSDT contract address, which is mentioned right below its name (as shown).
This will let you visit the token's original account. Click on </> contract.
Now click on actions. Select close now.
A data entry tab will open, requiring your account name in owner section and precision with the token symbol in the symbol section. For EOSDT, the data entry format will be 9,EOSDT as the precision for EOSDT is 9.
Click on the Submit transaction. This way, the contract will be closed and free up some of your RAM resources.
We hope you liked this article. Keep visiting the EOS Support learning center to find more educational content on EOS. If you have any questions and would like to speak with a support team member, you may also contact us at any time via this official help site.
Author: Mudassar Ejaz
Editor: Randall Roland
Source and references:
Further guides and articles: