Create a new MPC-secured server wallet for a user
POST /api/wallets
| Field | Type | Required | Description |
|---|---|---|---|
userId | string | Yes | Unique identifier for the user |
| Field | Type | Description |
|---|---|---|
success | boolean | Operation status |
userId | string | User identifier (used for wallet lookup) |
address | string | Wallet address (0x…) - needed for deposits & transactions |
walletId | string | Wallet UUID - needed for API registration & signing |
publicKey | string | Public key for verification |
GET /api/wallets/:walletIdOrAddress
| Parameter | Type | Description |
|---|---|---|
walletIdOrAddress | string | Can be userId, walletId (UUID), or address (0x…) |
POST /api/wallets/:walletIdOrAddress/sign
| Parameter | Type | Description |
|---|---|---|
walletIdOrAddress | string | Can be userId, walletId (UUID), or address (0x…) |
| Field | Type | Required | Description |
|---|---|---|---|
message | string | Yes | Message to sign |
Unique identifier for the user
"user_123"