useAlchemyAccountContext

Internal Only hook used to access the alchemy account context. This hook is meant to be consumed by other hooks exported by this package.

Import

1import { useAlchemyAccountContext } from "@account-kit/react";

Usage

1import { useAlchemyAccountContext } from "@account-kit/react";
2
3const { config, queryClient } = useAlchemyAccountContext();

Parameters

override

AlchemyAccountContextProps optional context override that can be used to return a custom context

Returns

AlchemyAccountContextProps The alchemy account context if one exists