User Tag
GET /api/v1/tag
Through this API, you will be able to query the tag data authorized by users. Different types of projects or organizations issue SBTs through the Relation Protocol, which are held by various users. This also indicates that users have participated in related projects or activities and have on-chain relationships with different types of projects or organizations. We will tag users based on the type of project or organization, such as: Game-Fi, De-Fi, etc. 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 User Tag.)) |
Request Example
Response Parameters
Field | Type | Remarks |
---|---|---|
code | String | Return code |
desc | String | Return message |
data | EncryptedData | Tag data encrypted using Lit Protocol; decryption requires user authorization |
Data structure after decrypting EncryptedData
Response Body
Return Code
code | desc | Remarks |
---|---|---|
0 | success | the flag for a successful request |
Last updated