Function createMintToInstruction

  • Construct a MintTo instruction

    Parameters

    • mint: PublicKey

      Public key of the mint

    • destination: PublicKey

      Address of the token account to mint to

    • authority: PublicKey

      The mint authority

    • amount: number | bigint

      Amount to mint

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

      Signing accounts if authority is a multisig

    • programId: PublicKey = TOKEN_PROGRAM_ID

      SPL Token program account

    Returns TransactionInstruction

    Instruction to add to a transaction

Generated using TypeDoc