What is rent?
Last updated
Last updated
The fee for every Nexis Account to store data on the blockchain is called "rent". This time and space based fee is required to keep an account, and therefore its data, alive on the blockchain since must actively maintain this data.
All Nexis Accounts (and therefore Programs) are required to maintain a high enough LAMPORT balance to become and remain on the Nexis blockchain.
When an Account no longer has enough LAMPORTS to pay its rent, it will be removed from the network in a process known as .
Info
Note: Rent is different from . Rent is paid (or held in an Account) to keep data stored on the Nexis blockchain. Whereas transaction fees are paid to process on the network.
The Nexis rent rate is set on a network wide basis, primarily based on the set LAMPORTS per byte per year.
Currently, the rent rate is a static amount and stored in the .
Accounts that maintain a minimum LAMPORT balance greater than 2 years worth of rent payments are considered "rent exempt" and will not incur a rent collection.
Info
At the time of writing this, new Accounts and Programs are required to be initialized with enough LAMPORTS to become rent-exempt. The RPC endpoints have the ability to calculate this and is recommended to be used.
Every time an account's balance is reduced, a check is performed to see if the account is still rent exempt. Transactions that would cause an account's balance to drop below the rent exempt threshold will fail.
Accounts that do not maintain their rent exempt status, or have a balance high enough to pay rent, are removed from the network in a process known as garbage collection. This process is done to help reduce the network wide storage of no longer used/maintained data.
You can learn more about in this implemented proposal.
You can learn more about Nexis Rent with the following articles and documentation: