Following & Followers List
You can retrieve an address's indexed following & followers list on CyberConnect using the following GraphQL query.
Example query
1
query {
2
// ENS can also be passed as the address here to fetch idenity.
3
identity(address: "0x8ddD03b89116ba89E28Ef703fe037fF77451e38E") {
4
address
5
followingCount
6
followerCount
7
followers {
8
list {
9
address
10
}
11
}
12
followings {
13
list{
14
address
15
}
16
}
17
}
18
}
Copied!
Example returned result
1
{
2
"data": {
3
"identity": {
4
"address": "0x8ddd03b89116ba89e28ef703fe037ff77451e38e",
5
"followingCount": 6,
6
"followerCount": 3,
7
"followers": {
8
"list": [
9
{
10
"address": "0xebed0bf2701e905b4c576b3dc943d797bac226ed"
11
},
12
{
13
"address": "0xc47aa859fa329496db6d498165da7e0b1fe13430"
14
},
15
{
16
"address": "0x9dd481d6c1656816bfd564151e29d57e041d2c8f"
17
}
18
]
19
},
20
"followings": {
21
"list": [
22
{
23
"address": "0x8faf912cd1ee33a64870de62d0bab4cc3a84001a"
24
},
25
{
26
"address": "0xebf02c6e12c3ee119abba161c40bfeead0a06b15"
27
},
28
{
29
"address": "0x1b2965dc3b1697dd10b7126ec7393d79cda2cf91"
30
},
31
{
32
"address": "0xef6d69922bc2d038cb508086846524f8011c4a74"
33
},
34
{
35
"address": "0xc47aa859fa329496db6d498165da7e0b1fe13430"
36
},
37
{
38
"address": "0x8891075a34b58a53dddf50b8e200211ff470a580"
39
}
40
]
41
}
42
}
43
}
44
}
Copied!
Last modified 20d ago
Copy link