Skip to main content

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 }
]
}
]
}
FieldDescription
addressBase58 pubkey.
solBalanceSOL balance in SOL units.
tokensToken accounts held by the wallet.
tokens[].addressToken mint address.
tokens[].balanceRaw token amount.
tokens[].decimalsToken decimals.

Example

curl "$BASE_URL/wallets/all" \
-H "Authorization: Bearer $ACCESS" \
-H "x-user-id: $USER_ID"