Overview
AwalletId is a string you provide to Bluvo to identify a specific user-exchange connection. You control the format, it just needs to be unique per user per exchange pair. Every API call that touches a wallet (balances, quotes, withdrawals) is scoped to this identifier.
The Common Mistake
If a user connects three exchanges, you need three distinct walletIds, one for each connection.
The Simple Pattern
The easiest approach is a deterministic format that combines your user ID with the exchange name:Alternative: Random UUID
If you prefer not to encode user IDs into the walletId, generate acrypto.randomUUID() per connection and store the mapping in your database:
Trade-offs
For most integrations, the deterministic pattern is the simplest path forward.
Code Examples
Next Steps
OAuth2 Integration
Implement the full OAuth2 popup flow with React hooks
Encryption & Security
How Bluvo encrypts and isolates exchange credentials