Function createMintToCheckedInstruction

  • Construct a MintToChecked 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

    • decimals: number

      Number of decimals in 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