Function getAssociatedTokenAddress
getAssociatedTokenAddress( mint: PublicKey, owner: PublicKey, allowOwnerOffCurve?: boolean, programId?: PublicKey, associatedTokenProgramId?: PublicKey,): Promise<PublicKey> Parameters
- mint: PublicKey
- owner: PublicKey
- allowOwnerOffCurve: boolean = false
- programId: PublicKey = SPL_TOKEN_PROGRAM_ID
- associatedTokenProgramId: PublicKey = SPL_ASSOCIATED_TOKEN_ACCOUNT_PROGRAM_ID
Returns Promise<PublicKey>