Function createUpdateTransferHookInstruction

  • Construct an UpdateTransferHook instruction

    Parameters

    • mint: PublicKey

      Mint to update

    • authority: PublicKey

      The mint's transfer hook authority

    • transferHookProgramId: PublicKey

      The new transfer hook program account

    • multiSigners: (PublicKey | Signer)[] = []
    • programId: PublicKey = TOKEN_2022_PROGRAM_ID

    Returns TransactionInstruction

    Instruction to add to a transaction

Generated using TypeDoc