Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.neynar.com/llms.txt

Use this file to discover all available pages before exploring further.

Opens an external URL. If a user is on mobile openUrl can be used to deeplink users into different parts of the Farcaster client they are using. opening a url Opening an external url with openUrl.

Usage

import { sdk } from '@farcaster/miniapp-sdk'

const url = 'https://farcaster.xyz';

// Pass URL as a string
await sdk.actions.openUrl(url)

// Or pass URL as an object
await sdk.actions.openUrl({ url: 'https://farcaster.xyz' })

Return Value

void