Skip to main content

NameRecord

A Name Service NameRecord representing a domain name registration.

type NameRecord {
contents: MoveValue!
domain: String!
parent: NameRecord
target(
rootVersion: UInt53
atCheckpoint: UInt53
): Address
}

Fields

NameRecord.contents ● MoveValue! non-null object

On-chain representation of the underlying Name Service NameRecord Move value.

NameRecord.domain ● String! non-null scalar

The domain name this record is for.

NameRecord.parent ● NameRecord object

The Name Service Name Record of the parent domain, if this is a subdomain.

Returns null if this is not a subdomain.

NameRecord.target ● Address object

The address this domain points to.

rootVersion and atCheckpoint control how the target Address is scoped. If neither is provided, the Address is scoped to the latest checkpoint known to the RPC.

NameRecord.target.rootVersion ● UInt53 scalar
NameRecord.target.atCheckpoint ● UInt53 scalar

Returned By

nameRecord query

Member Of

Address object ● CoinMetadata object ● DynamicField object ● IAddressable interface ● MoveObject object ● MovePackage object ● NameRecord object ● Object object