Function spl_associated_token_account::create_associated_token_account [−][src]
pub fn create_associated_token_account(
funding_address: &Pubkey,
wallet_address: &Pubkey,
spl_token_mint_address: &Pubkey
) -> Instruction
Create an associated token account for the given wallet address and token mint
Accounts expected by this instruction:
[writeable,signer]Funding account (must be a system account)[writeable]Associated token account address to be created[]Wallet address for the new associated token account[]The token mint for the new associated token account[]System program[]SPL Token program[]Rent sysvar