Function createInitializeTransferHookInstruction

  • Construct an InitializeTransferHook instruction

    Parameters

    • mint: PublicKey

      Token mint account

    • authority: PublicKey

      Transfer hook authority account

    • transferHookProgramId: PublicKey

      Transfer hook program account

    • programId: PublicKey

      SPL Token program account

    Returns TransactionInstruction

    Instruction to add to a transaction

Generated using TypeDoc