I have a little problem because my mint does not pass because of invalid parameters, I don't quite understand why..., in the entrypoint call I deliberately did not put the token_id parameter because otherwise the transaction does not even appear on the explorer, by not putting it, the transaction appears in the explorer but it fails.
// Sets amount and fee for the transaction.
BigDecimal amount = new BigDecimal("0"); // To call a contract, you send 0 tez.
BigDecimal fee = new BigDecimal("0.1"); // Minimum fee to call contracts.
System.out.println("Calling the contract (inserting customer 1, please wait a minute)...");
// Calls the contract.
JSONObject jsonObject = wallet.callContractEntryPoint("tz1aKq1jeX1QCSGayt4MNrynsynrHTeSfmvA", "KT1XQy1ZcXaqzT2eEgwZDU3wTGK5xNWzMcRt", amount, fee, "", "", "mint",
new String[]{"tz1aKq1jeX1QCSGayt4MNrynsynrHTeSfmvA", "50", "ORN"}, false, Global.GENERIC_STANDARD);
// Waits for the transaction to be included, so that we can call the contract once more.
String opHash = (String) jsonObject.get("result");
Boolean opHashIncluded = wallet.waitForResult(opHash, 8);
System.out.println(opHashIncluded + " " + opHash);
and the output on the explorer:
help me please :)