base / base/account-sdk

Feature Request: Add a unified account status API for connection and readiness checks

Open
#216 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
172
Forks
207
Avg merge
49m
Merged PRs (30d)
1

Description

Applications using the Base Account SDK often need to determine whether an account is ready for interaction (configured, connected, correct network, and usable). Currently, developers must infer readiness by combining multiple calls and checks, which increases complexity.

Without a single source of truth for account status:
- Developers duplicate readiness logic across applications.
- UI may attempt account actions before the account is fully usable.
- Handling reconnects or partial configuration becomes error-prone.

### Describe the solution you'd like
Introduce a first-class `getAccountStatus()` API (or hook, where applicable) that returns a structured status object describing readiness, connectivity, network validity, and blocking reasons. The API should be synchronous where possible and reactive to underlying state changes.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. First map the existing account, connection, network, and readiness checks, then define the structured status and blocking reasons; done means one account-status API or hook reports readiness and reacts to underlying state changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, authentication
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.