GetMinimumBalanceForRentExemptionApi
Methods
getMinimumBalanceForRentExemption()
Returns the minimum balance required to exempt an account from rent collection.
Parameters
| Parameter | Type | Description |
|---|---|---|
size | bigint | The number of bytes of account data for which an exemption from rent collection is being sought. |
config? | Readonly<{ commitment?: Commitment; }> | - |
Returns
Lamports
The minimum Lamports | Lamport balance required to grant an account of the specified size an exemption from rent collection.
See
https://solana.com/docs/rpc/http/getminimumbalanceforrentexemption