Hooks Introduction
Dynamic offers many different custom React hooks for different tasks within your code.
You can import them directly from the @dynamic-labs/sdk-react-core package, for example:
import { useDynamicContext } from "@dynamic-labs/sdk-react-core";
Here is a list of all of the hooks and links to their documentation pages:
useDynamicContext
Gives you access to the full context which is initially set via the DynamicContextProvider
component.
useEmbeddedWallet Helps you handle the creation of embedded wallets.
useWalletItemActions Set of utility functions to sign with a specific wallet.
useAuthenticateConnectedUser Can be used to authenticate already connected user
useDynamicScopes Check if user has specific scope set using our Access List scopes or NFT/Token gating.
useUserUpdateRequest Update user profile information in your application.
useEmailVerificationRequest Handle email verification and securely update user profiles.
useSendBalance Request Send Balance UI and optionally prepopulate the form for the user.
useSocialAccounts Trigger social account linking and unlinking for the authenticated user.
Was this page helpful?