Install
Client Setup
Create a single shared client instance so you don’t re-initialise on every render:Custom Hook
TheuseCreditDashboard hook fetches the credit dashboard for a given wallet and exposes data, loading, and error so consuming components can handle all three states: