Secure Cross-Platform Identity Linking
GET /api/v1/crossPlatformIdentityLinking
Through this API, under the premise of obtaining user authorization, you can query the Web3 address associated with a user's Web2 account or the Web2 account associated with a Web3 address and verify whether these accounts belong to the same individual. This data needs to be decrypted using the Lit Protocol.
Header
Field | Type | Required | Remarks |
---|---|---|---|
ApiKey | String | true | ApiKey obtained from the administrator |
Request Parameters
Field | Type | Required | Remarks |
---|---|---|---|
address | String | fasle | EOA Address |
twitterUsername | String | fasle | twitter username |
steamId | String | fasle | steamId |
sig | String | true | User authorization information (when provided with authorization details, developers can use Lit Protocol to decrypt the returned results). |
message | String | true | Original text of user authorization information signature (Please refer to the original signature splicingSIWE.The statement field needs to be:Access to Secure Cross-Platform Identity Linking.)) |
Request Example
Response Parameters
Field | Type | Remarks |
---|---|---|
code | String | Return code |
desc | String | Return message |
data | EncryptedData | Data (Lit Protocol encrypted) |
The Account field consists of the following subfields:
Field | Type | Remarks |
---|---|---|
relation | Relation | Relation information |
address | List | Address list |
Twitter information | ||
steam | Steam | Steam information |
Data structure of the decrypted Twitter object
Response Body
Return Code
code | desc | Remarks |
---|---|---|
0 | success | the flag for a successful request |
Last updated