Name Service Api

1. Name List

Returns all names held by the address

  • host: https://testnet.relationlabs.ai

  • path: /name/list

  • method: GET

  • query params: address

  • example:

curl --location 'https://testnet.relationlabs.ai/name/list?address=0x247b8cdf5ff2ed74ba5da461f96f0f5b275cdeda'

2. Resolve

Return the resolve record

  • host: https://testnet.relationlabs.ai

  • path: /name/resolve

  • method: GET

  • query params: name

  • example:

curl --location 'https://testnet.relationlabs.ai/name/resolve?name=relation.soul'

3. ReverseResolve

Return the reverse resolve record

  • host: https://testnet.relationlabs.ai

  • path: /name/reverseResolve

  • method: GET

  • query params: address

  • example:

curl --location 'https://testnet.relationlabs.ai/name/reverseResolve?address=0x247b8cdf5ff2ed74ba5da461f96f0f5b275cdeda'

Last updated