Developer Hub
Relation ProtocolRelation ONE APIRelation Graph API
English
English
  • Overview
    • RelationONE
  • Developer Guide
    • Glossary
    • Service Address
    • Rate Limits
    • JS-SDK
    • Quick Start
  • Introducing Relation ONE IM
  • API
    • Introduction
    • Signature
    • Auth
    • Profile
      • Bind Address
      • Unbind Address
      • User Info
      • List Address
      • Web2 Account
    • Follows
      • Follow
      • Unfollow
      • Follower
      • Following
      • Web3 Follower
      • Web3 Following
    • Recommendation
    • Groups
      • Create
      • Join
      • Remove Members
      • Leave
      • Disband
      • Transfer Owner
      • Info
      • Members
      • Is Admin
      • Get Announcement
      • Update Announcement
    • Chats
      • Pin
      • Mute
      • List
      • Hide
    • Message
      • Send
      • Read
      • Hide
      • List
      • Unread Count
  • JS-SDK
    • Relation-Auth
      • Quick Start
      • Method
    • IM-JS-SDK
      • Quick Start
      • Static Method
      • Events
      • Method
      • Parse Message
    • Plugin-JS-SDK
      • Quick Start
  • Appendix
    • Error Code
    • Contract Address
Powered by GitBook
On this page
  1. API
  2. Profile

List Address

GET /api/v1/listAddress

  • Note: It is for querying a user's list of Web3 addresses

  • Header

Field
Type
Required
Remarks

ApiKey

String

true

Authorization

String

false

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

  • Request Parameters

Field
Type
Remarks

relationId

String

relationId

  • Request Example

curl  GET 'https://api.relationlabs.ai/api/v1/listAddress?relationId=d4swz-zaaaa-aaaaj-at5fa-cai' \
--header 'ApiKey: <ApiKey>'
  • Response Parameters

Field
Type
Remarks

code

String

the Return Code

desc

String

the Return Message

data

List[AddressInfo]

the Data

The AddressInfo field consists of the following subfields:

Field
Type
Remarks

address

String

user's web3 address

  • Response Body

{
    "code": "0",
    "desc": "success",
    "data": [
        {
            "address": "0x9bd286ef4e3d9ec1af6c6ae9da2f0b3617deab13"
        }
    ]
}
  • Return Code

code
desc
Remarks

0

success

the flag for a successful request

PreviousUser InfoNextWeb2 Account

Last updated 2 years ago

acquired from the admin

ApiKey