SPL TokenTokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA
NotRentExempt
“Lamport balance below rent-exempt threshold”
A token account or mint being initialised does not hold enough lamports to be rent exempt. The Token program requires every account it owns to be rent exempt.
Common causes
- Creating the account with too few lamports before calling
InitializeAccountorInitializeMint. - Hard-coding an old rent value instead of asking the cluster.
- For Token-2022, sizing the account for a plain token account but initialising extensions that need more space.
How to fix it
- Fund the account with
getMinimumBalanceForRentExemption(space)lamports. A classic token account is 165 bytes (2,039,280 lamports); a mint is 82 bytes. - Use the rent calculator on this site to size Token-2022 accounts with extensions.