Relationship Graph
Last updated
Last updated
Through this API, you will be able to query the list of 1-degree relationship graph data (users) authorized by users. A 1-degree relationship refers to other users directly associated with the said user. 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 decrypted fields of EncryptedData
are as follows:
The decrypted data structure of EncryptedData
is as follows:
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 canuse 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 Relationship Graph.))
limit
Integer
true
Query limit (up to 100)
cursor
String
true
Cursor data returned by last page. If it is empty, it means the caller is querying the first page.
code
String
Return code
desc
String
Return message
data
EncryptedData
Data(Encrypted by Lit Protocol)
relation
Relation
Relation information
address
List
Address list
Twitter information
steam
Steam
Steam information
description
String
The description of relationship
0
success
the flag for a successful request