Function findProgramAddress

  • Find a program derived address

    Returns

    The address found and the bump seed required

    Parameters

    • programId: PublicKey

      The program the address is being derived for

    • seeds: (string | Uint8Array | helpers.HasPublicKey | helpers.ToBytes)[]

      The seeds to find the address

    Returns Promise<[PublicKey, number]>

Generated using TypeDoc