Supported SDK Actions
The Base app supports the following SDK actions for mini apps:Core Actions
addMiniApp
- Add a mini app to the user’s collectionclose
- Close the current mini appready
- Signal that the mini app is readyopenUrl
- Open external URLsopenMiniApp
- Navigate to another mini app
Social Actions
composeCast
- Open the cast composersignIn
- Authenticate the userviewProfile
- View user profilesviewCast
- View specific casts
Financial Actions
swap
- Open the swap form with pre-filled tokens (user can modify before executing)Tokensend
- Send tokensTokenview
- View token detailsTokenrequest
- Request tokens from users
Device Features
CameraAndMicrophoneAccess
- Access device camera and microphoneHaptics
- Trigger haptic feedback
Currently Unsupported Actions
- Notifications: not yet supported
- Mini App actions:
.addMiniApp()
, “ (ETA 9/26) - signManifest
Base App Client Detection
App.tsx
Wallet Interactions
Base App provides multiple wallet integration methods:Method 1: OnchainKit (Recommended)
App.tsx
Method 2: Wagmi Hooks
App.tsx
Method 3: Browser Window Access
App.tsx
Navigation & Links
Use MiniKit hooks instead of manual Farcaster deeplinks:- ✅
useOpenUrl()
instead offarcaster://open-url
- ✅
useComposeCast()
instead of manual cast composition - ✅
useViewProfile()
instead of profile deeplinks
App.tsx