getMinimumBalanceForRentExemption RPC Method
Returns minimum balance required to make an account rent exempt.Parameters
usize optionalThe Account’s data length
object optionalConfiguration object containing the following fields:commitment
string optionalThe level of commitment desired when querying state
Result Details
<u64>- Minimum lamports required- The minimum balance needed to keep the account rent-exempt
- Calculated based on the account’s data length
- Prevents the account from being deleted due to insufficient funds for rent