useAlchemyAccountContext
Defined in: account-kit/react/dist/types/hooks/useAlchemyAccountContext.d.ts:17
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
AlchemyAccountContextProps
The alchemy account context if one exists
Throws
if used outside of the AlchemyAccountProvider