Function spl_associated_token_account::tools::account::create_pda_account
source ยท pub fn create_pda_account<'a>(
payer: &AccountInfo<'a>,
rent: &Rent,
space: usize,
owner: &Pubkey,
system_program: &AccountInfo<'a>,
new_pda_account: &AccountInfo<'a>,
new_pda_signer_seeds: &[&[u8]],
) -> ProgramResult
Expand description
Creates associated token account using Program Derived Address for the given seeds