GET /wallets/all
List the user's active wallets.
Returns only non-deleted wallets. No pagination — the per-user cap (100) bounds the size.
Use case
Populate a wallet picker in your UI, or fetch addresses to pass into
/wallets/balance, /token/create, or /flexi/addtokenbot.
Query
None.
Response 200
{
"wallets": [
{
"address": "…",
"solBalance": 1.25,
"tokens": [
{ "address": "mint…", "balance": 1000000, "decimals": 6 }
]
}
]
}
| Field | Description |
|---|---|
address | Base58 pubkey. |
solBalance | SOL balance in SOL units. |
tokens | Token accounts held by the wallet. |
tokens[].address | Token mint address. |
tokens[].balance | Raw token amount. |
tokens[].decimals | Token decimals. |
Example
curl "$BASE_URL/wallets/all" \
-H "Authorization: Bearer $ACCESS" \
-H "x-user-id: $USER_ID"