Secure Cross-Platform Identity Linking
Last updated
Last updated
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 |
---|---|---|---|
Request Parameters
Field | Type | Required | Remarks |
---|---|---|---|
Request Example
Response Parameters
Field | Type | Remarks |
---|---|---|
The Account field consists of the following subfields:
Data structure of the decrypted Twitter object
Response Body
Return Code
Field | Type | Remarks |
---|---|---|
code | desc | Remarks |
---|---|---|
ApiKey
String
true
ApiKey obtained from the administrator
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.))
code
String
Return code
desc
String
Return message
data
EncryptedData
Data (Lit Protocol encrypted)
relation
Relation
Relation information
address
List
Address list
Twitter information
steam
Steam
Steam information
0
success
the flag for a successful request