const accountData = {
privateKey: "0x....",
accountAddress: "0x...."
};
const data = await performPaymasterTransaction(
lyncAuthKey,
"testnet_supra", // "testnet_supra" or "mainnet_supra",
apiKey,
{
entryFnStr:
"0x1b89ab160c9ec18b5ee37f6d2774b5e8a9433c620a98bad062b6b738bd829316::tst_unity::set_data_num_u32",
entryFnArgs: [BCS.bcsSerializeU32(10)],
},
false, // show logs or not
accountData // optional - will generate a new account if not provided
);
console.log(data);