Create Server Wallet
Account
Create Server Wallet
Create a new MPC-secured server wallet for a user
POST
Create Server Wallet
Server Wallet Management
Create and manage server-side wallets secured with MPC (Multi-Party Computation) key management through Dynamic Labs. These wallets are used for all trading operations across supported exchanges.Create Wallet
Create a new server wallet for a user. The wallet is secured with a 2-of-2 MPC threshold scheme.Endpoint
POST /api/wallets
Request Body
Response
Response Fields
Example Request
Get Wallet
Retrieve wallet information by userId, walletId, or wallet address.Endpoint
GET /api/wallets/:walletIdOrAddress
Path Parameters
Example Requests
Response
Error Responses
400 Bad RequestSign Message
Sign an arbitrary message using the server wallet’s MPC-managed key shares.Endpoint
POST /api/wallets/:walletIdOrAddress/sign
Path Parameters
Request Body
Response
Example Request
Error Responses
400 Bad RequestSecurity Features
- MPC Key Management: Wallets use 2-of-2 threshold signature scheme
- Encrypted Storage: Private key shares are encrypted at rest
- No Single Point of Failure: Key shares are distributed across multiple parties
- Secure Signing: All signing operations use MPC protocol
Use Cases
- Create wallets for new users joining the platform
- Retrieve wallet information for trading operations
- Sign messages for exchange API registration
- Sign transactions for deposits and withdrawals
Environment Configuration
Required environment variables:Authorizations
Body
application/json
Unique identifier for the user
Example:
"user_123"