Invoking a Script doesn't need the user to accept anything.
import { PhantasmaLink, Transaction, ScriptBuilder } from "phantasma-ts";
const CHAIN_NAME = "main"; // This is the name of the chain, please don't change it.
let contractName = "mycontract";
let contractMethod = "getMyInfo";
let args = ["arg1", "arg2"]; // this is just a example of arguments.
const sb = new ScriptBuilder();
const myScript = sb.BeginScript()
.CallContract(contractName, contractMethod, args)
.EndScript();
Link.invokeScript(myScript, (result) => {
// Handle the Data returned here.
});