Name Service Api

1. Name List

查询某个地址持有的所有域名

  • 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

查询解析记录

  • 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

查询反向解析

  • 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