Skip to content

addToSidebar

Alias for addMiniApp: prompts the user to add this Mini App so it appears in the client’s apps list (often shown in a sidebar).

Usage

import { sdk } from '@farcaster/miniapp-sdk'
 
await sdk.actions.addToSidebar()

See addMiniApp for requirements, return value, and errors.