openActivity static method
Opens the AppKit directly to the Activity/Transactions view
Throws an Exception if no wallet is connected.
Implementation
static Future<void> openActivity() async {
// Check if wallet is connected first
final account = Core.getAccount();
if (!account.isConnected) {
throw Exception('Wallet not connected. Please connect a wallet first.');
}
await window.appkit.openActivity().toDart;
}