根据Web3地址查询粉丝列表

GET /api/v1/web3/follower

  • 说明:查询web3地址的粉丝列表

  • Header

Field
Type
Remarks

ApiKey

String

从管理员获取的ApiKey

Authorization

String

Bearer ${unifiedAuthToken} ,其中unifiedAuthToken来自/api/v1/auth接口的返回

  • Request Parameters

Field
Type
Remarks

address

String

eth address

limit

int

每次查询数量,上限100

cursor

string

上一页返回的 cursor数据,cursor为空表示查询第一页

  • Request Example

curl  GET 'https://api.relationlabs.ai/api/v1/web3/follower?address=0x50beb7795b10d4dac40d140f9d3ce45366ad6fdd&cursor=c0f1543eec5b488f82f4ed0162b11a9d&limit=2' \
--header 'ApiKey: <ApiKey>' \
--header 'Authorization: bearer eyJhbGciOiJFU1zI1NiJ9.eyJqdGkiOiI5MmFlMjc5OWE5MDk0YzY0ODllZTYzODky1YmRkZmUxZSIsImlzcyI6InJlbGF0aW9ubGFicy5haSIsImlhdCI6MTY2MjA5MTYxMywic3ViIjoiYmFmMzQta2lhYWEtYWFhYWstYWNnamEtY2FpIiwiZXhwIjoxNjYyNjk2NDEzfQ.fQP4SO6dmptRUvWEp6GGRNTJrXhRL2g2Z07UzYLQF0nd174uNd3KYnlqv5-leOs0M1Fm5dy-EUhPZQ_272nnb5Q'
  • Response Parameters

Field
Type
Remarks

code

String

返回码

desc

String

返回信息

data

List[Web3FollowerResponse]

数据

The Web3FollowerResponse field consists of the following subfields:

Field
Type
Remarks

cursor

String

游标

list

List[String]

follower的web3地址列表

  • Response Body

{
  "code": "0",
  "desc": "success",
  "data": {
    "cursor": "c45daa0bc45e4437a44e611967b67a38",
    "list": [
      "0x92ef9e1990a7bee4c0e5ba77d5150ae51ca0a785",
      "0x945b937c36313b67e5402f0a768c76a885ce5a2c"
    ]
  }
}
  • Return Code

code
desc
Remarks

0

success

接口调用成功

Last updated