const script = new Script(binHexlified, abiContents, wallet);
const tx = script.functions.main(argument);
// Set the call parameters
tx.callParams({ gasLimit: 100 });
// Get the entire transaction request prior to
const txRequest = await tx.getTransactionRequest();
// Get the transaction ID
const txId = await tx.getTransactionId();
// Retrieve the value of the call and the actual gas used
const { value, gasUsed } = await tx.call();