🧩 Wallet Connectors

Connect your app
to the BB84 Wallet

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.

🧩 Wallet connectors (read-only user data)

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.

1. Create a request

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.

2. Wait for approval

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

3. Read data

Method & PathDescription
GET /api/connect/v1/accountGranted scopes, the user's addresses, profile (name, bb84 name, photo) if granted
GET /api/connect/v1/balancesUSDC/EURC balance per address and in total (base units, 6 decimals)
GET /api/connect/v1/transactions?limit=100USDC/EURC transfers in/out, newest first (max 500)
curl https://bb84.com/api/connect/v1/balances \
  -H "Authorization: Bearer bb84_conn_…"
🔷
Rate limit: 60 requests/minute per access token. A revoked connection returns HTTP 401. The address list follows the user's wallet automatically (new or renewed OTAs). Addresses are shared by the user, not cryptographically proven — do not treat them as proof of ownership.
FAQ
Common questions about wallet connectors.
Is this free?+
Yes. BB84 is experimental software — connectors are free, rate-limited to 60 requests/minute per access token.
Where are the old API keys?+
The key-based /v1 chain-data API has been retired. User data is available through connectors; public chain data through JSON-RPC (see below).
Need public chain data?+
Full JSON-RPC access is available at https://bb84.com/rpc, see the docs. For custom needs, reach out via the support button.

Support Ticket

Question, bug report or feedback — we'll get back to you by email.