Function getAtaForMint

  • Returns a program address and bump seed of an associated token account for a designated mint

    Parameters

    • mint: PublicKey

      Asset mint

    • buyer: PublicKey

    Returns [web3.PublicKey, number]