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.

Returns an active Quick Auth session token when present.
It’s generally preferable to use getToken since this will always return a fresh token, however, this property is provided for situations where a synchronous API is useful.

Usage

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

// will be undefined
console.log(sdk.quickAuth.token)

await sdk.quickAuth.getToken();

// will return the active token acquired above
console.log(sdk.quickAuth.token)
You must validate the token on your server.