Help doing asset transaction with typescript automatically generated by algorandfoundation/algokit-client-generator

i try to send asset to user but i got error can anyone help i used pera wallet for sign transaction

`const signer = async (transactions: algosdk.Transaction) => {
const signed = await signTransactions(transactions);
console.log(‘signed’, signed);
return signed;
};

const shoshaClient = new ShoshaMarketplaceClient(
{
resolveBy: ‘id’,
id: MARKETPLACE_APP_ID,
sender: { addr: wallet!, signer },
},
algodClient
);
const sp = await algodClient.getTransactionParams().do();
sp.flatFee = true;
sp.fee = sp.minFee;
const group = shoshaClient.compose();

group.addTransaction(send_txn);
group.addTransaction(optin_txn);
group.addTransaction(payTxn);

    const result = await group.execute();

`

1 Like