getArNSNamesForAddress

getArNSNamesForAddress is a method on the ARIO class that retrieves ArNS names owned by a specific address.

getArNSNamesForAddress does not require authentication.

Examples

getArNSNamesForAddress

const names = await ario.getArNSNamesForAddress({
  address: 'ccp3blG__gKUvG3hsGC2u06aDmqv4CuhuDJGOIg0jw4'
});

Parameters

ParameterTypeDescriptionOptional
addressstringThe wallet address to fetch ArNS names forfalse

Output

{
  "names": [
    {
      "name": "ardrive",
      "processId": "bh9l1cy0aksiL_x9M359faGzM_yjralacHIUo8_nQXM"
    },
    {
      "name": "ar-io",
      "processId": "xWQ7UmbP0ZHDY7OLCxJsuPiLWYQo5bhHGnp-kgP8N2A"
    }
  ]
}

Was this page helpful?