resolveArNSName

resolveArNSName is a method on the ARIO class that resolves an ArNS name (including undernames) to get detailed information about the name, including the owner, transaction ID, process ID, and TTL.

resolveArNSName does not require authentication.

Examples

resolveArNSName

const baseName = await ario.resolveArNSName({ name: 'ardrive' });

Parameters

ParameterTypeDescriptionOptional
namestring

The ArNS name to resolve (can include undernames like 'subdomain_domain')

false

Output

{
  "name": "subdomain_ardrive",
  "owner": "7oqF5r...LbpfT7",
  "txId": "abc123...def789",
  "processId": "bh9l1cy0aksiL_x9M359faGzM_yjralacHIUo8_nQXM",
  "ttlSeconds": 86400,
  "type": "lease",
  "undernameLimit": 10,
  "priority": 1
}

Was this page helpful?