Web3 Follower

GET /api/v1/web3/follower

  • Note: To query the people following a Web3 address.

  • Header

FieldTypeRemarks

ApiKey

String

The ApiKey obtained from Admin.

Authorization

String

Bearer ${unifiedAuthToken} , in which the "unifiedAuthToken" is the result returned by /api/v1/auth

  • Request Parameters

FieldTypeRemarks

address

String

eth address

limit

int

Limit per query. The upper limit is 100.

cursor

string

Cursor data returned by the last page. If the cursor is empty, it means the caller is querying the first page.

  • 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

FieldTypeRemarks

code

String

Return Code

desc

String

Return Information

data

List[Web3FollowerResponse]

Data

The Web3FollowerResponse field consists of the following subfields:

FieldTypeRemarks

cursor

String

Cursor

list

List[String]

The follower's list of Web3 addresses

  • Response Body

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

codedescRemarks

0

success

The flag for a successful API call.

Last updated