Function safe_associated_token_account::tools::account::get_account_len
source · pub fn get_account_len<'a>(
mint: &AccountInfo<'a>,
safe_token_program: &AccountInfo<'a>,
extension_types: &[ExtensionType]
) -> Result<usize, ProgramError>
Expand description
Determines the required initial data length for a new token account based on the extensions initialized on the Mint