Skip to main content

Overview

useChipiWallet is a convenience hook that simplifies wallet management by combining multiple operations into one:
  • Wallet fetching (replaces useGetWallet)
  • Wallet creation (replaces useCreateWallet)
  • Balance checking (replaces useGetTokenBalance)
Use this hook when you want a streamlined API. Use the individual hooks (useGetWallet, useCreateWallet, useGetTokenBalance) when you need more granular control.

Quick Start

Configuration Options

Return Values

Wallet Data

Balance Data

Create Wallet

Actions

Computed Wallet Properties

The wallet object includes these computed properties:

Example with Clerk Authentication

Wallet Types

Migration from Individual Hooks

Before

After

useChipiWallet automatically handles the dependency chain - it only fetches balance after the wallet is loaded.