Questions tagged [rent]
The rent tag has no usage guidance.
5 questions
3
votes
1
answer
297
views
Can you create accounts with less lamports than the rent-exempt minimum?
Accounts on Solana are considered rent-exempt if they hold at least the cost of their rent for 2 years (based on the size of the account's data).
Is it possible to create an account that's not rent-...
4
votes
1
answer
879
views
Is rent collected on Solana?
I have created a wallet account that holds my SOL balance and only sends and receives SOL. Will there be rent on this account?
E2B5PspC2A3UVsfyQhrzhFBwb23RMEiMrFsG3Zoy6QfR (testnet)
When I made a ...
2
votes
3
answers
5k
views
How do I close a Solana Account?
We can easily close PDAs to redeem their rent to their owner, however what I'm wondering is can the same be done for a normal, on-curve Solana account? From what I can see once you've sent the minimum ...
2
votes
1
answer
368
views
What dataLength to use for getMinimumBalanceForRentExemption() for a SOL account?
According to the Solana documentation the minimum balance/amount to be send to new SOL account can be calculated using getMinimumBalanceForRentExemption()
getMinimumBalanceForRentExemption() takes a ...
1
vote
1
answer
154
views
PDA rent exemption collection to transaction fee payer error on account close
In a transaction, I’m trying to close an ATA and a PDA.
The ATA is closed by calling close_account from the SPL Token 2022 crate / On Chain Program, and the rent exemption can be sent without any ...