Overview
- Returns the connected wallet address in hex format (always hex, regardless of chain type).
- Use when you need a hex address for EVM-style tooling or a consistent hex format.
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 hex format, unlike
useAddresswhich adapts to the default chain’s format. - Use for EVM-style integrations or when you need a consistent hex format regardless of chain type.