import { createThirdwebClient } from "thirdweb";
 import { sendCalls, getCallsStatus } from "thirdweb/wallets/eip5792";
 
 const client = createThirdwebClient({ clientId: ... });
 
 const result = await sendCalls({ wallet, client, calls });
 
 let result;
 while (result.status !== "success") {
   result = await getCallsStatus(result);
 }