For the complete documentation index, see llms.txt. This page is also available as Markdown.

Query JS

Imports

import { client } from './client'
import { TEZOS_DOMAINS_WRAPPER_URI, TEZOS_DOMAINS_PLUGIN_JS } from './client'

Resolve Domain Records

Get information on a Tezos domains name. This includes a domain's availability, its owner address, subdomains, registraton duration and other metadata.

export const resolveDomainRecords = async (network, domain) => {
   return client.query({
       uri: TEZOS_DOMAINS_WRAPPER_URI,
       query: `
           query {
               resolveDomain(
                   network: $network,
                   domain: $domain
               )
           }
       `,
       variables: {
           network,
           domain
       }
   })
}

Get Acquisition Info

Fetches the price of a Tezos domain name.

Last updated