Overview
- Returns the connected wallet address in Initia bech32 format (always bech32, regardless of chain type).
- Use when you always need a bech32 address, regardless of the default chain type.
Prerequisites
- Must be rendered within
InterwovenKitProvider. - Must be used within a React Query
QueryClientProvider. - Must be used within a wagmi
WagmiProvider. - Client-only (no SSR): Put this in a
use clientprovider tree, or use a dynamic import in Next.js.
Quickstart
This example assumes providers are already set up. For complete setup
configurations, see Provider Setup.
Return value
Notes
- Always returns bech32 format, unlike
useAddresswhich adapts to the default chain’s format. - Use for Initia-specific integrations or when you need a consistent bech32 format regardless of chain type.