Skip to content

Hooks overview

The React hooks API in HieroKit is designed to feel similar in spirit to wagmi – each hook is focused, declarative and easy to compose.

  • Core environment: read client, network and fee configuration
  • Accounts & identity: query account state and balances
  • Flows: manage multi‑step transaction lifecycles in React

All hooks are re‑exported from the main package:

ts
import {
  HieroProvider,
  useHieroClient,
  useAccountId,
  useTransactionFlow,
  // ...
} from "hierokit";

Every hook page in this section documents:

  • Import path
  • Parameters
  • Return value
  • Usage examples

For an architectural overview of the React integration, start with the React overview guide.