OBJECT

Domain

Domain - forward record.

link GraphQL Schema definition

  • type Domain implements Node {
  • # Unique global ID of the object.
  • id: ID!
  • # Domain name.
  • name: String!
  • # Domain address.
  • address: Address
  • # Owner address.
  • owner: Address!
  • # Domain validity.
  • expiresAtUtc: DateTime
  • # Domain level which is number of segments in its name.
  • level: Int!
  • # Data associated with this domain.
  • data: [DataItem!]!
  • # The hash of the operation group that contained this/last change.
  • operationGroupHash: String!
  • # TZIP-12 NFT Token id.
  • tokenId: Int
  • # Parent domain name.
  • parentName: String
  • # Parent domain owner address.
  • parentOwner: String
  • # Subdomains of the domain e.g. foo.bar.tez is subdomain of bar.tez.
  • #
  • # Arguments
  • # after: Only return edges after the specified cursor.
  • # first: Specifies the maximum number of edges to return,
  • # starting after the cursor specified by 'after', or the first number of edges if
  • # 'after' is not specified.
  • # onlyDirectChildren: If true then only direct subdomains with
  • # level +1 are returned. Otherwise all subdomains are returned. Default is
  • # `false`.
  • # order: Ordering options. Default is `{ field: DOMAIN,
  • # direction: ASC }`.
  • # before: Only return edges prior to the specified cursor.
  • # last: Specifies the maximum number of edges to return, starting
  • # prior to the cursor specified by 'before', or the last number of edges if
  • # 'before' is not specified.
  • subdomains(
  • after: String,
  • first: Int,
  • onlyDirectChildren: Boolean,
  • order: DomainOrder,
  • before: String,
  • last: Int
  • ): DomainConnection!
  • # Reverse record corresponding to both the address and the name of this domain.
  • reverseRecord: ReverseRecord
  • # Reverse record corresponding to address address.
  • addressReverseRecord: ReverseRecord
  • # Reverse record corresponding to owner address.
  • ownerReverseRecord: ReverseRecord
  • # Reverse record corresponding to parentOwner address.
  • parentOwnerReverseRecord: ReverseRecord
  • }