Configuration
User Values
We map the Farcaster values returned to the standard oauth user values (found in verified Credentials):user object returned from the useDynamicContext hook i.e.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
🚀 Stablecoin Accounts are live! Learn more
{
id: string; // Unique ID (Dynamic)
publicIdentifier: string; // Farcaster username
oauthAccountId: string; // Farcaster ID
oauthProvider: ProviderEnum; // "farcaster"
oauthAccountPhotos?: []string; // Farcaster PFP URLs
oauthDisplayName?: string; // name if provided
oauthUsername?: string; // Farcaster username
};
user object returned from the useDynamicContext hook i.e.
import { useDynamicContext } from '@dynamic-labs/sdk-react-core';
const { user } = useDynamicContext();
if (user) {
console.log(user.verifiedCredentials);
}
Was this page helpful?