Skip to content

NoAlchemyAccountContextError

Constructs an error message indicating that a specific hook must be used within an AlchemyAccountProvider.

Import

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

Parameters

hookName

string The name of the hook that must be used within the AlchemyAccountProvider