Skip to content

addFrame

Prompts the user to add the app.

adding a mini app in Warpcast

A users discover an app from their social feed, adds it, and then sees it from their apps screen

Usage

import { sdk } from '@farcaster/frame-sdk'
 
await sdk.actions.addFrame()

Return Value

void

Errors

RejectedByUser

Thrown if a user rejects the request to add the Mini App.

InvalidDomainManifestJson

Thrown an app does not have a valid farcaster.json.