import { sendTransaction } from "thirdweb";
import { createSessionWithSig } from "thirdweb/extensions/erc7702";
const transaction = createSessionWithSig({
contract,
sessionSpec: ...,
signature: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });