Reverse Lookup and Starname listing

The IOV Name Service supports other queries in addition to the starname resolver.

Get all the starnames of an owner

You can query all the starnames and domains belonging to a star address. Very useful to check what you own and the coming expiry dates.

The commands are owner-domains and owner-accounts, for exemple

iovnscli query starname owner-domains --owner star10lalxx8ml63hs86j64nk76kucf72dsucluexz8

and

iovnscli query starname owner-accounts --owner star10lalxx8ml63hs86j64nk76kucf72dsucluexz8  

to know everything about starname holdings of star10lalxx8ml63hs86j64nk76kucf72dsucluexz8

Get all the starnames within a domain

The command is domain-accounts

iovnscli query starname domain-accounts --domain iov

to see the list of all the starnames registered within the iov open domain.

Reverse look up

You can get the list of all starnames which are associating a specific {"blockchain_id","address"} in their targets by using the command resolve-target

iovnscli query starname resolve-target --uri asset:eth --ressource 0xcE2075Ed07176a3c51Af82a614a7A6A7D030f6DF
{
  "accounts": [
    {
      "domain": "iov",
      "name": "zorglub",
      "owner": "star10lalxx8ml63hs86j64nk76kucf72dsucluexz8",
      "valid_until": 1592591657,
      "targets": [
        {
          "uri": "asset:btc",
          "ressource": "bc1qwqdg6squsna38e46795at95yu9atm8azzmyvckulcc7kytlcckxswvvzej"
        },
        {
          "uri": "asset:eth",
          "ressource": "0xcE2075Ed07176a3c51Af82a614a7A6A7D030f6DF"
        },
        {
          "uri": "asset:atom",
          "ressource": "cosmos1sc8n0l3zvtwcn9kcq0kft8mayrlgnd6k3ev2kn"
        }
      ],
      "certificates": null,
      "broker": "",
      "metadata_uri": ""
    }
  ]
}

Last updated