Ask a BB84 Wallet user for read-only access to their profile, balances and transactions. The user approves in the app under Settings → Connectors — no API key, no registration.
Ask a BB84 Wallet user for read-only access to their profile, balances and transactions. The user approves the request in the app under Settings → Connectors and can disconnect at any time. Access tokens can only read: there are no endpoints that move funds or change anything.
curl -X POST https://bb84.com/api/connect/requests \
-H "Content-Type: application/json" \
-d '{"appName":"My App","appUrl":"https://myapp.example","scopes":["profile","balances","transactions"]}'
# {"requestId":"…","code":"K7QM2XPA","pollToken":"bb84_poll_…","connectUrl":"bb84://connect/K7QM2XPA","expiresAt":…}
Show the user the code (they type it into the app) or open connectUrl on their phone. Requests expire after 10 minutes. The wallet shows your appName and appUrl to the user — they are self-declared, so users decide whom to trust.
curl https://bb84.com/api/connect/requests/REQUEST_ID/status \
-H "Authorization: Bearer bb84_poll_…"
# {"status":"pending"} · {"status":"rejected"} · {"status":"expired"}
# {"status":"approved","accessToken":"bb84_conn_…"} ← returned once, store it securely
| Method & Path | Description |
|---|---|
| GET /api/connect/v1/account | Granted scopes, the user's addresses, profile (name, bb84 name, photo) if granted |
| GET /api/connect/v1/balances | USDC/EURC balance per address and in total (base units, 6 decimals) |
| GET /api/connect/v1/transactions?limit=100 | USDC/EURC transfers in/out, newest first (max 500) |
curl https://bb84.com/api/connect/v1/balances \ -H "Authorization: Bearer bb84_conn_…"
/v1 chain-data API has been retired. User data is available through connectors; public chain data through JSON-RPC (see below).https://bb84.com/rpc, see the docs. For custom needs, reach out via the support button.Question, bug report or feedback — we'll get back to you by email.