MiniKit.closeMiniApp() to programmatically close the mini app.
Commands
Close Mini App
Programmatically close the mini app using the unified MiniKit API.
Use
Programmatically close the mini app using the unified MiniKit API.
MiniKit.closeMiniApp() to programmatically close the mini app.