useAlchemyAccountContext
Defined in: account-kit/react/src/hooks/useAlchemyAccountContext.ts:21
Internal Only hook used to access the alchemy account context. This hook is meant to be consumed by other hooks exported by this package.
Example
import { const useAlchemyAccountContext: (override?: AlchemyAccountContextProps) => AlchemyAccountContextPropsInternal Only hook used to access the alchemy account context. This hook is meant to be consumed by other hooks exported by this package.
useAlchemyAccountContext } from "@account-kit/react"; const { const config: AlchemyAccountsConfigconfig, const queryClient: QueryClientqueryClient } = function useAlchemyAccountContext(override?: AlchemyAccountContextProps): AlchemyAccountContextPropsInternal Only hook used to access the alchemy account context. This hook is meant to be consumed by other hooks exported by this package.
useAlchemyAccountContext();
Parameters
Returns
The alchemy account context if one exists
Throws
if used outside of the AlchemyAccountProvider