How to free your RAM resources on EOS

This step-by-step guide will teach you how to retrieve RAM from an EOS account using the close action contract.

Dario Cesaro avatar
Written by Dario Cesaro
Updated over a week ago

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.

  1. 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.

  2. 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.

  3. 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.

  4. Click on the EOSDT contract address, which is mentioned right below its name (as shown).

  5. This will let you visit the token's original account. Click on </> contract.

  6. Now click on actions. Select close now.

  7. 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.

  8. 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:

Did this answer your question?