Function getAssociatedTokenAddress

  • Parameters

    • mint: PublicKey
    • owner: PublicKey
    • allowOwnerOffCurve: boolean = false
    • programId: PublicKey = TOKEN_PROGRAM_ID
    • associatedTokenProgramId: PublicKey = ASSOCIATED_TOKEN_PROGRAM_ID

    Returns Promise<PublicKey>