spl_associated_token_account

Function get_associated_token_address_with_program_id

Source
pub fn get_associated_token_address_with_program_id(
    wallet_address: &Pubkey,
    token_mint_address: &Pubkey,
    token_program_id: &Pubkey,
) -> Pubkey
Expand description

Derives the associated token account address for the given wallet address, token mint and token program id