ποΈMPC Account
Multi-party computation (MPC) is a cryptographic tool that allows multiple parties to make calculations using their combined data, without revealing their individual input.
In contrast to a standard SOA wallet account, you do not need to keep complex private keys with an MPC Wallet account, so an MPC Wallet account is also known as a Keyless wallet account.
User who joins UXLINK will receive an MPC wallet account, which will serve as their primary account for using UXLINK.
GET /api/v1/getUserMpcKey
Note: acquire user mpc key. When transfer or withdrawal, user need to send this part of key to uxuy system to sign. For security, each DAPP has different mpc key.
Header
Field | Type | Remarks |
---|---|---|
ApiKey | String | ApiKey acquired from the admin |
Authorization | String | Bearer ${unifiedAuthToken} , in which the unifiedAuthToken is the result returned by /api/v1/auth |
Request Parameters
Field | Type | Required | Remarks |
---|---|---|---|
address | String | false | uxuyId or address |
Request Example
Response Parameters
Field | Type | Remarks |
---|---|---|
code | String | the Return Code |
msg | String | the Return Message |
data | T | the Data |
The data field consists of the following subfields:
Field | Type | Remarks |
---|---|---|
mpcKey | String | mpc key |
Response Body
Return Code
code | desc | Remarks |
---|---|---|
200 | success | the flag for a successful request |
Last updated