Function createAssociatedTokenAccountInstruction

  • Returns an instruction which can be used to create an associated token account for a designated mint

    Parameters

    • associatedTokenAccount: PublicKey
    • payer: PublicKey
    • owner: PublicKey
    • mint: PublicKey

      Asset mint to create token account for

    Returns Promise<web3.TransactionInstruction>