According to the Solana documentation the minimum balance/amount to be send to new SOL account can be calculated using getMinimumBalanceForRentExemption()
getMinimumBalanceForRentExemption()
takes a dataLength
parameter. What should dataLength
be for a new account?
There is an ACCOUNT_SIZE constant for SPL token but my question is for a native SOL account without additional tokens.