You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ensnode.io/src/data/omnigraph-examples/schema.graphql
+105-6Lines changed: 105 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -420,7 +420,7 @@ interface Domain {
420
420
owner: Account
421
421
422
422
"""
423
-
The Domain that this Domain's parent Registry declares as its Canonical Domain, if any. Follows a single unidirectional pointer (`Registry.canonicalDomainId`) and does NOT enforce bidirectional canonical-edge agreement: a non-canonical Domain may have a non-null `parent`, and a canonical Domain's `parent` may itself be non-canonical. Null when the parent Registry does not declare a Canonical Domain.
423
+
The Domain that this Domain's parent Registry declares as its Canonical Domain, if any. Follows a single unidirectional pointer (`Registry.canonicalDomainId`) and does NOT enforce bidirectional canonical-edge agreement: a non-canonical Domain may have a non-null `parent`, and a canonical Domain's `parent` may itself be non-canonical. Null when the parent Registry does not declare a Canonical Domain. For an UnindexedDomain (which has no Registry of its own), this reflects the wildcard-bearing ancestor's Registry — see `Domain.registry`.
The Registry under which this Domain exists. For an UnindexedDomain — a resolvable-but-unindexed Domain that has no Registry of its own — this is instead the Registry that manages the ancestor Domain bearing the wildcard Resolver (the same Registry encoded in its `id`).
439
439
"""
440
440
registry: Registry!
441
441
@@ -606,6 +606,11 @@ type DomainResolver {
606
606
The Resolver that this Domain has assigned, if any. NOTE that this is the Domain's _assigned_ Resolver, _not_ its _effective_ Resolver, which can only be determined by following ENS Forward Resolution and ENSIP-10. Do NOT use this Domain-Resolver relationship in isolation to resolve records, that operation is NOT ENS Forward Resolution.
607
607
"""
608
608
assigned: Resolver
609
+
610
+
"""
611
+
The Resolver that ENS Forward Resolution (ENSIP-10) lands on for this Domain — i.e. its _effective_ Resolver. Null when no active Resolver exists or the Domain is not in the Canonical Nametree.
612
+
"""
613
+
effective: Resolver
609
614
}
610
615
611
616
typeDomainSubdomainsConnection {
@@ -736,7 +741,7 @@ type ENSv1Domain implements Domain {
736
741
owner: Account
737
742
738
743
"""
739
-
The Domain that this Domain's parent Registry declares as its Canonical Domain, if any. Follows a single unidirectional pointer (`Registry.canonicalDomainId`) and does NOT enforce bidirectional canonical-edge agreement: a non-canonical Domain may have a non-null `parent`, and a canonical Domain's `parent` may itself be non-canonical. Null when the parent Registry does not declare a Canonical Domain.
744
+
The Domain that this Domain's parent Registry declares as its Canonical Domain, if any. Follows a single unidirectional pointer (`Registry.canonicalDomainId`) and does NOT enforce bidirectional canonical-edge agreement: a non-canonical Domain may have a non-null `parent`, and a canonical Domain's `parent` may itself be non-canonical. Null when the parent Registry does not declare a Canonical Domain. For an UnindexedDomain (which has no Registry of its own), this reflects the wildcard-bearing ancestor's Registry — see `Domain.registry`.
740
745
"""
741
746
parent: Domain
742
747
@@ -751,7 +756,7 @@ type ENSv1Domain implements Domain {
The Registry under which this Domain exists. For an UnindexedDomain — a resolvable-but-unindexed Domain that has no Registry of its own — this is instead the Registry that manages the ancestor Domain bearing the wildcard Resolver (the same Registry encoded in its `id`).
755
760
"""
756
761
registry: Registry!
757
762
@@ -919,7 +924,7 @@ type ENSv2Domain implements Domain {
919
924
owner: Account
920
925
921
926
"""
922
-
The Domain that this Domain's parent Registry declares as its Canonical Domain, if any. Follows a single unidirectional pointer (`Registry.canonicalDomainId`) and does NOT enforce bidirectional canonical-edge agreement: a non-canonical Domain may have a non-null `parent`, and a canonical Domain's `parent` may itself be non-canonical. Null when the parent Registry does not declare a Canonical Domain.
927
+
The Domain that this Domain's parent Registry declares as its Canonical Domain, if any. Follows a single unidirectional pointer (`Registry.canonicalDomainId`) and does NOT enforce bidirectional canonical-edge agreement: a non-canonical Domain may have a non-null `parent`, and a canonical Domain's `parent` may itself be non-canonical. Null when the parent Registry does not declare a Canonical Domain. For an UnindexedDomain (which has no Registry of its own), this reflects the wildcard-bearing ancestor's Registry — see `Domain.registry`.
923
928
"""
924
929
parent: Domain
925
930
@@ -945,7 +950,7 @@ type ENSv2Domain implements Domain {
The Registry under which this Domain exists. For an UnindexedDomain — a resolvable-but-unindexed Domain that has no Registry of its own — this is instead the Registry that manages the ancestor Domain bearing the wildcard Resolver (the same Registry encoded in its `id`).
949
954
"""
950
955
registry: Registry!
951
956
@@ -2310,6 +2315,11 @@ type Resolver {
2310
2315
where: EventsWhereInput
2311
2316
): ResolverEventsConnection
2312
2317
2318
+
"""
2319
+
Whether this Resolver implements ENSIP-10 wildcard resolution (`IExtendedResolver`, interfaceId `0x9061b923`), determined via a single cached `supportsInterface` RPC the first time the Resolver is observed.
2320
+
"""
2321
+
extended: Boolean!
2322
+
2313
2323
"""
2314
2324
A unique reference to this Resolver.
2315
2325
"""
@@ -2548,6 +2558,95 @@ type ThreeDNSRegistration implements Registration {
2548
2558
unregistrant: Account
2549
2559
}
2550
2560
2561
+
"""
2562
+
A resolvable-but-unindexed Domain: not present in the index, but resolvable because an ancestor in its namegraph path has an ENSIP-10 wildcard Resolver (e.g. off-chain / CCIP-Read names, unindexed 3DNS names, wildcard subnames).
2563
+
"""
2564
+
typeUnindexedDomainimplementsDomain {
2565
+
"""
2566
+
Metadata (name, path, and node) related to the Domain's canonicality, if known. Null when the Domain is not in the canonical nametree.
2567
+
"""
2568
+
canonical: DomainCanonical
2569
+
2570
+
"""
2571
+
All Events associated with this Domain.
2572
+
"""
2573
+
events(
2574
+
after: String
2575
+
before: String
2576
+
first: Int
2577
+
last: Int
2578
+
where: EventsWhereInput
2579
+
): DomainEventsConnection
2580
+
2581
+
"""
2582
+
A unique and stable reference to this Domain.
2583
+
"""
2584
+
id: DomainId!
2585
+
2586
+
"""
2587
+
The Label associated with this Domain in the ENS Namegraph.
2588
+
"""
2589
+
label: Label!
2590
+
2591
+
"""
2592
+
If this is an ENSv1Domain, this is the effective owner of the Domain (derived from the Registry, the Registrar, or the NameWrapper, in that order). If this is an ENSv2Domain, this is the on-chain owner address (the HCA account address if used).
2593
+
"""
2594
+
owner: Account
2595
+
2596
+
"""
2597
+
The Domain that this Domain's parent Registry declares as its Canonical Domain, if any. Follows a single unidirectional pointer (`Registry.canonicalDomainId`) and does NOT enforce bidirectional canonical-edge agreement: a non-canonical Domain may have a non-null `parent`, and a canonical Domain's `parent` may itself be non-canonical. Null when the parent Registry does not declare a Canonical Domain. For an UnindexedDomain (which has no Registry of its own), this reflects the wildcard-bearing ancestor's Registry — see `Domain.registry`.
2598
+
"""
2599
+
parent: Domain
2600
+
2601
+
"""
2602
+
The latest Registration for this Domain, if exists.
2603
+
"""
2604
+
registration: Registration
2605
+
2606
+
"""
2607
+
All Registrations for a Domain, including the latest Registration.
The Registry under which this Domain exists. For an UnindexedDomain — a resolvable-but-unindexed Domain that has no Registry of its own — this is instead the Registry that manages the ancestor Domain bearing the wildcard Resolver (the same Registry encoded in its `id`).
2613
+
"""
2614
+
registry: Registry!
2615
+
2616
+
"""
2617
+
Resolve protocol-level data for this Domain.
2618
+
"""
2619
+
resolve(
2620
+
"""
2621
+
When true (default), Protocol Acceleration will be conditionally used by the server to perform resolution when it is relevant. If false, Protocol Acceleration will be disabled.
All Domains that are direct descendants of this Domain in the namegraph. Ordered by the `order` argument (default: NAME, ASC). When ordering by REGISTRATION_TIMESTAMP or REGISTRATION_EXPIRY, Domains lacking that value — no Registration for REGISTRATION_TIMESTAMP; no Registration or a never-expiring one (treated as +∞) for REGISTRATION_EXPIRY — sort last when `dir: ASC` and first when `dir: DESC`.
2634
+
"""
2635
+
subdomains(
2636
+
after: String
2637
+
before: String
2638
+
first: Int
2639
+
last: Int
2640
+
order: DomainsOrderInput
2641
+
where: SubdomainsWhereInput
2642
+
): DomainSubdomainsConnection
2643
+
2644
+
"""
2645
+
The Registry this Domain declares as its Subregistry, if exists.
2646
+
"""
2647
+
subregistry: Registry
2648
+
}
2649
+
2551
2650
"""
2552
2651
Additional metadata for BaseRegistrar Registrations wrapped by the NameWrapper (i.e. in the case of a wrapped .eth name)
0 commit comments