@ensnode/ensnode-sdk 0.0.0-next-20260216164355 → 0.0.0-next-20260217102457
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +426 -398
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +578 -397
- package/dist/index.d.ts +578 -397
- package/dist/index.js +252 -224
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,189 @@
|
|
|
1
|
-
import { z } from 'zod/v4';
|
|
2
1
|
import { ENSNamespaceId, DatasourceName } from '@ensnode/datasources';
|
|
3
2
|
export { ENSNamespaceId, ENSNamespaceIds, getENSRootChainId } from '@ensnode/datasources';
|
|
4
|
-
import { Address, Hex, ByteArray, Hash } from 'viem';
|
|
5
3
|
import { CoinType, EvmCoinType } from '@ensdomains/address-encoder';
|
|
6
4
|
export { CoinType, EvmCoinType } from '@ensdomains/address-encoder';
|
|
5
|
+
import { Address, Hex, Hash, ByteArray } from 'viem';
|
|
6
|
+
import { z } from 'zod/v4';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Chain ID
|
|
10
|
+
*
|
|
11
|
+
* Represents a unique identifier for a chain.
|
|
12
|
+
* Guaranteed to be a positive integer.
|
|
13
|
+
*
|
|
14
|
+
* Chain id standards are organized by the Ethereum Community @ https://github.com/ethereum-lists/chains
|
|
15
|
+
**/
|
|
16
|
+
type ChainId = number;
|
|
17
|
+
/**
|
|
18
|
+
* Defaultable Chain ID
|
|
19
|
+
*
|
|
20
|
+
* Represents a unique identifier for a chain, or
|
|
21
|
+
* the default chain as defined by ENSIP-19.
|
|
22
|
+
*
|
|
23
|
+
* @see https://docs.ens.domains/ensip/19/#annex-supported-chains
|
|
24
|
+
*
|
|
25
|
+
* Guaranteed to be a non-negative integer.
|
|
26
|
+
**/
|
|
27
|
+
type DefaultableChainId = typeof DEFAULT_EVM_CHAIN_ID | ChainId;
|
|
28
|
+
/**
|
|
29
|
+
* Represents an account (contract or EOA) at `address` on chain `chainId`.
|
|
30
|
+
*
|
|
31
|
+
* @see https://chainagnostic.org/CAIPs/caip-10
|
|
32
|
+
*/
|
|
33
|
+
interface AccountId {
|
|
34
|
+
chainId: ChainId;
|
|
35
|
+
address: Address;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* An enum representing the possible CAIP-19 Asset Namespace values.
|
|
39
|
+
*
|
|
40
|
+
* @see https://chainagnostic.org/CAIPs/caip-19
|
|
41
|
+
*/
|
|
42
|
+
declare const AssetNamespaces: {
|
|
43
|
+
readonly ERC721: "erc721";
|
|
44
|
+
readonly ERC1155: "erc1155";
|
|
45
|
+
};
|
|
46
|
+
type AssetNamespace = (typeof AssetNamespaces)[keyof typeof AssetNamespaces];
|
|
47
|
+
/**
|
|
48
|
+
* A uint256 value that identifies a specific NFT within a NFT contract.
|
|
49
|
+
*/
|
|
50
|
+
type TokenId = bigint;
|
|
51
|
+
/**
|
|
52
|
+
* Represents an Asset in `assetNamespace` by `tokenId` in `contract`.
|
|
53
|
+
*
|
|
54
|
+
* @see https://chainagnostic.org/CAIPs/caip-19
|
|
55
|
+
*/
|
|
56
|
+
interface AssetId {
|
|
57
|
+
assetNamespace: AssetNamespace;
|
|
58
|
+
contract: AccountId;
|
|
59
|
+
tokenId: TokenId;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Block Number
|
|
63
|
+
*
|
|
64
|
+
* Guaranteed to be a non-negative integer.
|
|
65
|
+
*/
|
|
66
|
+
type BlockNumber = number;
|
|
67
|
+
/**
|
|
68
|
+
* Datetime value
|
|
69
|
+
*/
|
|
70
|
+
type Datetime = Date;
|
|
71
|
+
/**
|
|
72
|
+
* Unix timestamp value
|
|
73
|
+
*
|
|
74
|
+
* Represents the number of seconds that have elapsed
|
|
75
|
+
* since January 1, 1970 (midnight UTC/GMT).
|
|
76
|
+
*
|
|
77
|
+
* Guaranteed to be an integer. May be zero or negative to represent a time at or
|
|
78
|
+
* before Jan 1, 1970.
|
|
79
|
+
*/
|
|
80
|
+
type UnixTimestamp = number;
|
|
81
|
+
/**
|
|
82
|
+
* Represents a URL that is used for RPC endpoints.
|
|
83
|
+
*/
|
|
84
|
+
type RpcUrl = URL;
|
|
85
|
+
/**
|
|
86
|
+
* BlockRef
|
|
87
|
+
*
|
|
88
|
+
* Describes a block.
|
|
89
|
+
*
|
|
90
|
+
* We use parameter types to maintain fields layout and documentation across
|
|
91
|
+
* the domain model and its serialized counterpart.
|
|
92
|
+
*/
|
|
93
|
+
interface BlockRef {
|
|
94
|
+
/** Block number (height) */
|
|
95
|
+
number: BlockNumber;
|
|
96
|
+
/** Block timestamp */
|
|
97
|
+
timestamp: UnixTimestamp;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Block range
|
|
101
|
+
*
|
|
102
|
+
* Represents a range of blocks
|
|
103
|
+
*/
|
|
104
|
+
interface Blockrange<BlockType = BlockNumber> {
|
|
105
|
+
/** Start block number */
|
|
106
|
+
startBlock?: BlockType;
|
|
107
|
+
/** End block number */
|
|
108
|
+
endBlock?: BlockType;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Duration
|
|
112
|
+
*
|
|
113
|
+
* Representing a duration in seconds.
|
|
114
|
+
*
|
|
115
|
+
* Guaranteed to be a non-negative integer.
|
|
116
|
+
*/
|
|
117
|
+
type Duration = number;
|
|
118
|
+
/**
|
|
119
|
+
* A utility type that makes all properties of a type optional recursively,
|
|
120
|
+
* including nested objects and arrays.
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* ```typescript
|
|
124
|
+
* type Config = {
|
|
125
|
+
* a: string;
|
|
126
|
+
* b: {
|
|
127
|
+
* x: number;
|
|
128
|
+
* y: { z: boolean };
|
|
129
|
+
* };
|
|
130
|
+
* c: { id: string }[];
|
|
131
|
+
* }
|
|
132
|
+
*
|
|
133
|
+
* type PartialConfig = DeepPartial<Config>;
|
|
134
|
+
* // Results in:
|
|
135
|
+
* // {
|
|
136
|
+
* // a?: string;
|
|
137
|
+
* // b?: {
|
|
138
|
+
* // x?: number;
|
|
139
|
+
* // y?: { z?: boolean };
|
|
140
|
+
* // };
|
|
141
|
+
* // c?: { id?: string }[];
|
|
142
|
+
* // }
|
|
143
|
+
*
|
|
144
|
+
* // Usage:
|
|
145
|
+
* const update: PartialConfig = { b: { y: { z: true } } };
|
|
146
|
+
* ```
|
|
147
|
+
*/
|
|
148
|
+
type DeepPartial<T> = {
|
|
149
|
+
[P in keyof T]?: T[P] extends (infer U)[] ? DeepPartial<U>[] : T[P] extends object ? DeepPartial<T[P]> : T[P];
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Helper type to represent an unvalidated version of a business layer type `T`,
|
|
153
|
+
* where all properties are optional.
|
|
154
|
+
*
|
|
155
|
+
* This is useful for building a validated object `T` from partial input,
|
|
156
|
+
* where the input may be missing required fields or have fields that
|
|
157
|
+
* are not yet validated.
|
|
158
|
+
*
|
|
159
|
+
* For example, transforming serialized representation of type `T` into
|
|
160
|
+
* an unvalidated version of `T` that can be later validated against
|
|
161
|
+
* defined business rules and constraints.
|
|
162
|
+
*
|
|
163
|
+
* ```ts
|
|
164
|
+
* function buildUnvalidatedValue(serialized: SerializedChainId): Unvalidated<ChainId> {
|
|
165
|
+
* // transform serialized chainId into unvalidated number (e.g. parseInt)
|
|
166
|
+
* return parseInt(serialized, 10);
|
|
167
|
+
* }
|
|
168
|
+
*
|
|
169
|
+
* // Later, we can validate the unvalidated value against our business rules
|
|
170
|
+
* function validateChainId(unvalidatedChainId: Unvalidated<ChainId>): ChainId {
|
|
171
|
+
* if (typeof unvalidatedChainId !== "number" || unvalidatedChainId <= 0) {
|
|
172
|
+
* throw new Error("Invalid ChainId");
|
|
173
|
+
* }
|
|
174
|
+
*
|
|
175
|
+
* return unvalidatedChainId as ChainId;
|
|
176
|
+
* }
|
|
177
|
+
*
|
|
178
|
+
* ```
|
|
179
|
+
*/
|
|
180
|
+
type Unvalidated<T> = DeepPartial<T>;
|
|
181
|
+
/**
|
|
182
|
+
* Marks keys in K as required (not undefined) and not null.
|
|
183
|
+
*/
|
|
184
|
+
type RequiredAndNotNull<T, K extends keyof T> = T & {
|
|
185
|
+
[P in K]-?: NonNullable<T[P]>;
|
|
186
|
+
};
|
|
7
187
|
|
|
8
188
|
/**
|
|
9
189
|
* The ETH coinType.
|
|
@@ -630,186 +810,6 @@ declare const makeSubdomainNode: (labelHash: LabelHash, node: Node) => Node;
|
|
|
630
810
|
*/
|
|
631
811
|
declare const uint256ToHex32: (num: bigint) => Hex;
|
|
632
812
|
|
|
633
|
-
/**
|
|
634
|
-
* Chain ID
|
|
635
|
-
*
|
|
636
|
-
* Represents a unique identifier for a chain.
|
|
637
|
-
* Guaranteed to be a positive integer.
|
|
638
|
-
*
|
|
639
|
-
* Chain id standards are organized by the Ethereum Community @ https://github.com/ethereum-lists/chains
|
|
640
|
-
**/
|
|
641
|
-
type ChainId = number;
|
|
642
|
-
/**
|
|
643
|
-
* Defaultable Chain ID
|
|
644
|
-
*
|
|
645
|
-
* Represents a unique identifier for a chain, or
|
|
646
|
-
* the default chain as defined by ENSIP-19.
|
|
647
|
-
*
|
|
648
|
-
* @see https://docs.ens.domains/ensip/19/#annex-supported-chains
|
|
649
|
-
*
|
|
650
|
-
* Guaranteed to be a non-negative integer.
|
|
651
|
-
**/
|
|
652
|
-
type DefaultableChainId = typeof DEFAULT_EVM_CHAIN_ID | ChainId;
|
|
653
|
-
/**
|
|
654
|
-
* Represents an account (contract or EOA) at `address` on chain `chainId`.
|
|
655
|
-
*
|
|
656
|
-
* @see https://chainagnostic.org/CAIPs/caip-10
|
|
657
|
-
*/
|
|
658
|
-
interface AccountId {
|
|
659
|
-
chainId: ChainId;
|
|
660
|
-
address: Address;
|
|
661
|
-
}
|
|
662
|
-
/**
|
|
663
|
-
* An enum representing the possible CAIP-19 Asset Namespace values.
|
|
664
|
-
*
|
|
665
|
-
* @see https://chainagnostic.org/CAIPs/caip-19
|
|
666
|
-
*/
|
|
667
|
-
declare const AssetNamespaces: {
|
|
668
|
-
readonly ERC721: "erc721";
|
|
669
|
-
readonly ERC1155: "erc1155";
|
|
670
|
-
};
|
|
671
|
-
type AssetNamespace = (typeof AssetNamespaces)[keyof typeof AssetNamespaces];
|
|
672
|
-
/**
|
|
673
|
-
* A uint256 value that identifies a specific NFT within a NFT contract.
|
|
674
|
-
*/
|
|
675
|
-
type TokenId = bigint;
|
|
676
|
-
/**
|
|
677
|
-
* Represents an Asset in `assetNamespace` by `tokenId` in `contract`.
|
|
678
|
-
*
|
|
679
|
-
* @see https://chainagnostic.org/CAIPs/caip-19
|
|
680
|
-
*/
|
|
681
|
-
interface AssetId {
|
|
682
|
-
assetNamespace: AssetNamespace;
|
|
683
|
-
contract: AccountId;
|
|
684
|
-
tokenId: TokenId;
|
|
685
|
-
}
|
|
686
|
-
/**
|
|
687
|
-
* Block Number
|
|
688
|
-
*
|
|
689
|
-
* Guaranteed to be a non-negative integer.
|
|
690
|
-
*/
|
|
691
|
-
type BlockNumber = number;
|
|
692
|
-
/**
|
|
693
|
-
* Datetime value
|
|
694
|
-
*/
|
|
695
|
-
type Datetime = Date;
|
|
696
|
-
/**
|
|
697
|
-
* Unix timestamp value
|
|
698
|
-
*
|
|
699
|
-
* Represents the number of seconds that have elapsed
|
|
700
|
-
* since January 1, 1970 (midnight UTC/GMT).
|
|
701
|
-
*
|
|
702
|
-
* Guaranteed to be an integer. May be zero or negative to represent a time at or
|
|
703
|
-
* before Jan 1, 1970.
|
|
704
|
-
*/
|
|
705
|
-
type UnixTimestamp = number;
|
|
706
|
-
/**
|
|
707
|
-
* Represents a URL that is used for RPC endpoints.
|
|
708
|
-
*/
|
|
709
|
-
type RpcUrl = URL;
|
|
710
|
-
/**
|
|
711
|
-
* BlockRef
|
|
712
|
-
*
|
|
713
|
-
* Describes a block.
|
|
714
|
-
*
|
|
715
|
-
* We use parameter types to maintain fields layout and documentation across
|
|
716
|
-
* the domain model and its serialized counterpart.
|
|
717
|
-
*/
|
|
718
|
-
interface BlockRef {
|
|
719
|
-
/** Block number (height) */
|
|
720
|
-
number: BlockNumber;
|
|
721
|
-
/** Block timestamp */
|
|
722
|
-
timestamp: UnixTimestamp;
|
|
723
|
-
}
|
|
724
|
-
/**
|
|
725
|
-
* Block range
|
|
726
|
-
*
|
|
727
|
-
* Represents a range of blocks
|
|
728
|
-
*/
|
|
729
|
-
interface Blockrange<BlockType = BlockNumber> {
|
|
730
|
-
/** Start block number */
|
|
731
|
-
startBlock?: BlockType;
|
|
732
|
-
/** End block number */
|
|
733
|
-
endBlock?: BlockType;
|
|
734
|
-
}
|
|
735
|
-
/**
|
|
736
|
-
* Duration
|
|
737
|
-
*
|
|
738
|
-
* Representing a duration in seconds.
|
|
739
|
-
*
|
|
740
|
-
* Guaranteed to be a non-negative integer.
|
|
741
|
-
*/
|
|
742
|
-
type Duration = number;
|
|
743
|
-
/**
|
|
744
|
-
* A utility type that makes all properties of a type optional recursively,
|
|
745
|
-
* including nested objects and arrays.
|
|
746
|
-
*
|
|
747
|
-
* @example
|
|
748
|
-
* ```typescript
|
|
749
|
-
* type Config = {
|
|
750
|
-
* a: string;
|
|
751
|
-
* b: {
|
|
752
|
-
* x: number;
|
|
753
|
-
* y: { z: boolean };
|
|
754
|
-
* };
|
|
755
|
-
* c: { id: string }[];
|
|
756
|
-
* }
|
|
757
|
-
*
|
|
758
|
-
* type PartialConfig = DeepPartial<Config>;
|
|
759
|
-
* // Results in:
|
|
760
|
-
* // {
|
|
761
|
-
* // a?: string;
|
|
762
|
-
* // b?: {
|
|
763
|
-
* // x?: number;
|
|
764
|
-
* // y?: { z?: boolean };
|
|
765
|
-
* // };
|
|
766
|
-
* // c?: { id?: string }[];
|
|
767
|
-
* // }
|
|
768
|
-
*
|
|
769
|
-
* // Usage:
|
|
770
|
-
* const update: PartialConfig = { b: { y: { z: true } } };
|
|
771
|
-
* ```
|
|
772
|
-
*/
|
|
773
|
-
type DeepPartial<T> = {
|
|
774
|
-
[P in keyof T]?: T[P] extends (infer U)[] ? DeepPartial<U>[] : T[P] extends object ? DeepPartial<T[P]> : T[P];
|
|
775
|
-
};
|
|
776
|
-
/**
|
|
777
|
-
* Helper type to represent an unvalidated version of a business layer type `T`,
|
|
778
|
-
* where all properties are optional.
|
|
779
|
-
*
|
|
780
|
-
* This is useful for building a validated object `T` from partial input,
|
|
781
|
-
* where the input may be missing required fields or have fields that
|
|
782
|
-
* are not yet validated.
|
|
783
|
-
*
|
|
784
|
-
* For example, transforming serialized representation of type `T` into
|
|
785
|
-
* an unvalidated version of `T` that can be later validated against
|
|
786
|
-
* defined business rules and constraints.
|
|
787
|
-
*
|
|
788
|
-
* ```ts
|
|
789
|
-
* function buildUnvalidatedValue(serialized: SerializedChainId): Unvalidated<ChainId> {
|
|
790
|
-
* // transform serialized chainId into unvalidated number (e.g. parseInt)
|
|
791
|
-
* return parseInt(serialized, 10);
|
|
792
|
-
* }
|
|
793
|
-
*
|
|
794
|
-
* // Later, we can validate the unvalidated value against our business rules
|
|
795
|
-
* function validateChainId(unvalidatedChainId: Unvalidated<ChainId>): ChainId {
|
|
796
|
-
* if (typeof unvalidatedChainId !== "number" || unvalidatedChainId <= 0) {
|
|
797
|
-
* throw new Error("Invalid ChainId");
|
|
798
|
-
* }
|
|
799
|
-
*
|
|
800
|
-
* return unvalidatedChainId as ChainId;
|
|
801
|
-
* }
|
|
802
|
-
*
|
|
803
|
-
* ```
|
|
804
|
-
*/
|
|
805
|
-
type Unvalidated<T> = DeepPartial<T>;
|
|
806
|
-
/**
|
|
807
|
-
* Marks keys in K as required (not undefined) and not null.
|
|
808
|
-
*/
|
|
809
|
-
type RequiredAndNotNull<T, K extends keyof T> = T & {
|
|
810
|
-
[P in K]-?: NonNullable<T[P]>;
|
|
811
|
-
};
|
|
812
|
-
|
|
813
813
|
/**
|
|
814
814
|
* A label set ID identifies a label set (see https://ensnode.io/ensrainbow/concepts/glossary#label-set for definition).
|
|
815
815
|
* It is guaranteed to be 1 to 50 characters long and contain only lowercase letters (a-z)
|
|
@@ -875,7 +875,7 @@ declare enum PluginName {
|
|
|
875
875
|
/**
|
|
876
876
|
* Version info about ENSIndexer and its dependencies.
|
|
877
877
|
*/
|
|
878
|
-
interface
|
|
878
|
+
interface EnsIndexerVersionInfo {
|
|
879
879
|
/**
|
|
880
880
|
* Node.js runtime version
|
|
881
881
|
*
|
|
@@ -919,13 +919,19 @@ interface ENSIndexerVersionInfo {
|
|
|
919
919
|
**/
|
|
920
920
|
ensNormalize: string;
|
|
921
921
|
}
|
|
922
|
+
/**
|
|
923
|
+
* Version info about ENSIndexer and its dependencies.
|
|
924
|
+
*
|
|
925
|
+
* @deprecated Use {@link EnsIndexerVersionInfo} instead.
|
|
926
|
+
*/
|
|
927
|
+
type ENSIndexerVersionInfo = EnsIndexerVersionInfo;
|
|
922
928
|
/**
|
|
923
929
|
* Complete public configuration object for ENSIndexer.
|
|
924
930
|
*
|
|
925
931
|
* We use parameter types to maintain fields layout and documentation across
|
|
926
932
|
* the domain model and its serialized counterpart.
|
|
927
933
|
*/
|
|
928
|
-
interface
|
|
934
|
+
interface EnsIndexerPublicConfig {
|
|
929
935
|
/**
|
|
930
936
|
* The ENS namespace that ENSNode operates in the context of.
|
|
931
937
|
*
|
|
@@ -953,140 +959,63 @@ interface ENSIndexerPublicConfig {
|
|
|
953
959
|
*
|
|
954
960
|
* Invariants:
|
|
955
961
|
* - A set of strings with at least one value.
|
|
956
|
-
*/
|
|
957
|
-
plugins: string[];
|
|
958
|
-
/**
|
|
959
|
-
* Indexed Chain IDs
|
|
960
|
-
*
|
|
961
|
-
* Includes the {@link ChainId} for each chain being indexed.
|
|
962
|
-
*/
|
|
963
|
-
indexedChainIds: Set<ChainId>;
|
|
964
|
-
/**
|
|
965
|
-
* A feature flag to enable/disable ENSIndexer's Subgraph Compatible Indexing Behavior.
|
|
966
|
-
*
|
|
967
|
-
* If {@link isSubgraphCompatible} is true, indexing behavior will match that of the legacy ENS
|
|
968
|
-
* Subgraph.
|
|
969
|
-
*
|
|
970
|
-
* ENSIndexer will store and return Literal Labels and Literal Names without further interpretation.
|
|
971
|
-
* @see https://ensnode.io/docs/reference/terminology#literal-label
|
|
972
|
-
* @see https://ensnode.io/docs/reference/terminology#literal-name
|
|
973
|
-
*
|
|
974
|
-
* If {@link isSubgraphCompatible} is true, the following invariants are true for the ENSIndexerConfig:
|
|
975
|
-
* 1. only the 'subgraph' plugin is enabled, and
|
|
976
|
-
* 2. the labelSet must be { labelSetId: 'subgraph', labelSetVersion: 0 }
|
|
977
|
-
*
|
|
978
|
-
* If {@link isSubgraphCompatible} is false, ENSIndexer will additionally:
|
|
979
|
-
*
|
|
980
|
-
* 1. ENSIndexer will heal all subnames of addr.reverse on the ENS Root Chain.
|
|
981
|
-
*
|
|
982
|
-
* 2. ENSIndexer will track both the keys and the values of Resolver records.
|
|
983
|
-
*
|
|
984
|
-
* WARNING: Special care must be taken when interacting with indexed resolver record values. It
|
|
985
|
-
* is unsafe to naively assume that indexed resolver record values are equivalent to the
|
|
986
|
-
* resolver record values that would be returned through dynamic lookups via the ENS protocol.
|
|
987
|
-
* For example, if a resolver implements CCIP-Read, the resolver records may not be
|
|
988
|
-
* discoverable through onchain indexing.
|
|
989
|
-
*
|
|
990
|
-
* 3. Literal Labels and Literal Names encountered by ENSIndexer will be Interpreted.
|
|
991
|
-
* @see https://ensnode.io/docs/reference/terminology#interpreted-label
|
|
992
|
-
* @see https://ensnode.io/docs/reference/terminology#interpreted-name
|
|
993
|
-
*
|
|
994
|
-
* That is,
|
|
995
|
-
* a) all Labels stored and returned by ENSIndexer will be Interpreted Labels, which are either:
|
|
996
|
-
* i. normalized, or
|
|
997
|
-
* ii. represented as an Encoded LabelHash of the Literal Label value found onchain, and
|
|
998
|
-
* b) all Names stored and returned by ENSIndexer will be Interpreted Names, which are exclusively
|
|
999
|
-
* composed of Interpreted Labels.
|
|
1000
|
-
*/
|
|
1001
|
-
isSubgraphCompatible: boolean;
|
|
1002
|
-
/**
|
|
1003
|
-
* Version info about ENSIndexer.
|
|
1004
|
-
*/
|
|
1005
|
-
versionInfo:
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
type SerializedIndexedChainIds = Array<ChainId>;
|
|
1009
|
-
/**
|
|
1010
|
-
* Serialized representation of {@link ENSIndexerPublicConfig}
|
|
1011
|
-
*/
|
|
1012
|
-
interface SerializedENSIndexerPublicConfig extends Omit<ENSIndexerPublicConfig, "indexedChainIds"> {
|
|
1013
|
-
/**
|
|
1014
|
-
* Array representation of {@link ENSIndexerPublicConfig.indexedChainIds}.
|
|
1015
|
-
*/
|
|
1016
|
-
indexedChainIds: ChainId[];
|
|
1017
|
-
}
|
|
1018
|
-
/**
|
|
1019
|
-
* Serialized representation of {@link ENSIndexerVersionInfo}
|
|
1020
|
-
*/
|
|
1021
|
-
type SerializedENSIndexerVersionInfo = ENSIndexerVersionInfo;
|
|
1022
|
-
|
|
1023
|
-
/**
|
|
1024
|
-
* Serialize a {@link ENSIndexerPublicConfig} object.
|
|
1025
|
-
*/
|
|
1026
|
-
declare function deserializeENSIndexerPublicConfig(maybeConfig: SerializedENSIndexerPublicConfig, valueLabel?: string): ENSIndexerPublicConfig;
|
|
1027
|
-
|
|
1028
|
-
/**
|
|
1029
|
-
* Determines if the provided `config` results in indexing behavior compatible with the legacy ENS
|
|
1030
|
-
* Subgraph.
|
|
1031
|
-
*
|
|
1032
|
-
* @see https://ensnode.io/docs/concepts/what-is-the-ens-subgraph/
|
|
1033
|
-
*/
|
|
1034
|
-
declare function isSubgraphCompatible(config: Pick<ENSIndexerPublicConfig, "namespace" | "plugins" | "labelSet">): boolean;
|
|
1035
|
-
|
|
1036
|
-
/**
|
|
1037
|
-
* Converts a Labelhash to bytes, with validation
|
|
1038
|
-
* @param labelHash The Labelhash to convert
|
|
1039
|
-
* @returns A ByteArray containing the bytes
|
|
1040
|
-
* @throws Error if `labelHash` is not a valid 32-byte hex string
|
|
1041
|
-
*/
|
|
1042
|
-
declare function labelHashToBytes(labelHash: LabelHash): ByteArray;
|
|
1043
|
-
|
|
1044
|
-
/**
|
|
1045
|
-
* Builds a valid LabelSetId from a string.
|
|
1046
|
-
* @param maybeLabelSetId - The string to validate and convert to a LabelSetId.
|
|
1047
|
-
* @returns A valid LabelSetId.
|
|
1048
|
-
* @throws If the input string is not a valid LabelSetId.
|
|
1049
|
-
*/
|
|
1050
|
-
declare function buildLabelSetId(maybeLabelSetId: string): LabelSetId;
|
|
1051
|
-
/**
|
|
1052
|
-
* Builds a valid LabelSetVersion from a number or string.
|
|
1053
|
-
* @param maybeLabelSetVersion - The number or string to validate and convert to a LabelSetVersion.
|
|
1054
|
-
* @returns A valid LabelSetVersion.
|
|
1055
|
-
* @throws If the input is not a valid LabelSetVersion.
|
|
1056
|
-
*/
|
|
1057
|
-
declare function buildLabelSetVersion(maybeLabelSetVersion: number | string): LabelSetVersion;
|
|
1058
|
-
/**
|
|
1059
|
-
* Builds an EnsRainbowClientLabelSet.
|
|
1060
|
-
* @param labelSetId - The label set ID.
|
|
1061
|
-
* @param labelSetVersion - The label set version.
|
|
1062
|
-
* @returns A valid EnsRainbowClientLabelSet object.
|
|
1063
|
-
* @throws If `labelSetVersion` is defined without `labelSetId`.
|
|
1064
|
-
*/
|
|
1065
|
-
declare function buildEnsRainbowClientLabelSet(labelSetId?: LabelSetId, labelSetVersion?: LabelSetVersion): EnsRainbowClientLabelSet;
|
|
1066
|
-
/**
|
|
1067
|
-
* Validates that the server's label set is compatible with the client's requested label set.
|
|
1068
|
-
* @param serverSet - The label set provided by the server.
|
|
1069
|
-
* @param clientSet - The label set requested by the client.
|
|
1070
|
-
* @throws If the server set is not compatible with the client set.
|
|
1071
|
-
*/
|
|
1072
|
-
declare function validateSupportedLabelSetAndVersion(serverSet: EnsRainbowServerLabelSet, clientSet: EnsRainbowClientLabelSet): void;
|
|
1073
|
-
|
|
1074
|
-
/**
|
|
1075
|
-
* Parses a string into a non-negative integer.
|
|
1076
|
-
* @param input The string to parse
|
|
1077
|
-
* @returns The parsed non-negative integer
|
|
1078
|
-
* @throws Error if the input is not a valid non-negative integer
|
|
1079
|
-
*/
|
|
1080
|
-
declare function parseNonNegativeInteger(maybeNumber: string): number;
|
|
1081
|
-
|
|
1082
|
-
/**
|
|
1083
|
-
* Serializes a {@link ChainConfig} object.
|
|
1084
|
-
*/
|
|
1085
|
-
declare function serializeIndexedChainIds(indexedChainIds: Set<ChainId>): SerializedIndexedChainIds;
|
|
962
|
+
*/
|
|
963
|
+
plugins: string[];
|
|
964
|
+
/**
|
|
965
|
+
* Indexed Chain IDs
|
|
966
|
+
*
|
|
967
|
+
* Includes the {@link ChainId} for each chain being indexed.
|
|
968
|
+
*/
|
|
969
|
+
indexedChainIds: Set<ChainId>;
|
|
970
|
+
/**
|
|
971
|
+
* A feature flag to enable/disable ENSIndexer's Subgraph Compatible Indexing Behavior.
|
|
972
|
+
*
|
|
973
|
+
* If {@link isSubgraphCompatible} is true, indexing behavior will match that of the legacy ENS
|
|
974
|
+
* Subgraph.
|
|
975
|
+
*
|
|
976
|
+
* ENSIndexer will store and return Literal Labels and Literal Names without further interpretation.
|
|
977
|
+
* @see https://ensnode.io/docs/reference/terminology#literal-label
|
|
978
|
+
* @see https://ensnode.io/docs/reference/terminology#literal-name
|
|
979
|
+
*
|
|
980
|
+
* If {@link isSubgraphCompatible} is true, the following invariants are true for the ENSIndexerConfig:
|
|
981
|
+
* 1. only the 'subgraph' plugin is enabled, and
|
|
982
|
+
* 2. the labelSet must be { labelSetId: 'subgraph', labelSetVersion: 0 }
|
|
983
|
+
*
|
|
984
|
+
* If {@link isSubgraphCompatible} is false, ENSIndexer will additionally:
|
|
985
|
+
*
|
|
986
|
+
* 1. ENSIndexer will heal all subnames of addr.reverse on the ENS Root Chain.
|
|
987
|
+
*
|
|
988
|
+
* 2. ENSIndexer will track both the keys and the values of Resolver records.
|
|
989
|
+
*
|
|
990
|
+
* WARNING: Special care must be taken when interacting with indexed resolver record values. It
|
|
991
|
+
* is unsafe to naively assume that indexed resolver record values are equivalent to the
|
|
992
|
+
* resolver record values that would be returned through dynamic lookups via the ENS protocol.
|
|
993
|
+
* For example, if a resolver implements CCIP-Read, the resolver records may not be
|
|
994
|
+
* discoverable through onchain indexing.
|
|
995
|
+
*
|
|
996
|
+
* 3. Literal Labels and Literal Names encountered by ENSIndexer will be Interpreted.
|
|
997
|
+
* @see https://ensnode.io/docs/reference/terminology#interpreted-label
|
|
998
|
+
* @see https://ensnode.io/docs/reference/terminology#interpreted-name
|
|
999
|
+
*
|
|
1000
|
+
* That is,
|
|
1001
|
+
* a) all Labels stored and returned by ENSIndexer will be Interpreted Labels, which are either:
|
|
1002
|
+
* i. normalized, or
|
|
1003
|
+
* ii. represented as an Encoded LabelHash of the Literal Label value found onchain, and
|
|
1004
|
+
* b) all Names stored and returned by ENSIndexer will be Interpreted Names, which are exclusively
|
|
1005
|
+
* composed of Interpreted Labels.
|
|
1006
|
+
*/
|
|
1007
|
+
isSubgraphCompatible: boolean;
|
|
1008
|
+
/**
|
|
1009
|
+
* Version info about ENSIndexer.
|
|
1010
|
+
*/
|
|
1011
|
+
versionInfo: EnsIndexerVersionInfo;
|
|
1012
|
+
}
|
|
1086
1013
|
/**
|
|
1087
|
-
*
|
|
1014
|
+
* Complete public configuration object for ENSIndexer.
|
|
1015
|
+
*
|
|
1016
|
+
* @deprecated Use {@link EnsIndexerPublicConfig} instead.
|
|
1088
1017
|
*/
|
|
1089
|
-
|
|
1018
|
+
type ENSIndexerPublicConfig = EnsIndexerPublicConfig;
|
|
1090
1019
|
|
|
1091
1020
|
/**
|
|
1092
1021
|
* Reasons why TheGraph fallback cannot be used.
|
|
@@ -1120,7 +1049,7 @@ type TheGraphFallback = z.infer<typeof TheGraphFallbackSchema>;
|
|
|
1120
1049
|
* Contains ENSApi-specific configuration at the top level and
|
|
1121
1050
|
* embeds the complete ENSIndexer public configuration.
|
|
1122
1051
|
*/
|
|
1123
|
-
interface
|
|
1052
|
+
interface EnsApiPublicConfig {
|
|
1124
1053
|
/**
|
|
1125
1054
|
* ENSApi service version
|
|
1126
1055
|
*
|
|
@@ -1137,32 +1066,99 @@ interface ENSApiPublicConfig {
|
|
|
1137
1066
|
* Contains all ENSIndexer public configuration including
|
|
1138
1067
|
* namespace, plugins, version info, etc.
|
|
1139
1068
|
*/
|
|
1140
|
-
ensIndexerPublicConfig:
|
|
1069
|
+
ensIndexerPublicConfig: EnsIndexerPublicConfig;
|
|
1141
1070
|
}
|
|
1071
|
+
/**
|
|
1072
|
+
* ENSApi Public Config
|
|
1073
|
+
*
|
|
1074
|
+
* @deprecated Use {@link EnsApiPublicConfig} instead.
|
|
1075
|
+
*/
|
|
1076
|
+
type ENSApiPublicConfig = EnsApiPublicConfig;
|
|
1142
1077
|
|
|
1143
1078
|
/**
|
|
1144
1079
|
* ENSApi Public Config Response
|
|
1145
1080
|
*/
|
|
1146
|
-
type
|
|
1081
|
+
type EnsApiConfigResponse = EnsApiPublicConfig;
|
|
1082
|
+
/**
|
|
1083
|
+
* ENSApi Config API Response
|
|
1084
|
+
*
|
|
1085
|
+
* @deprecated Use {@link EnsApiConfigResponse} instead.
|
|
1086
|
+
*/
|
|
1087
|
+
type ConfigResponse = EnsApiConfigResponse;
|
|
1088
|
+
|
|
1089
|
+
type SerializedIndexedChainIds = Array<ChainId>;
|
|
1090
|
+
/**
|
|
1091
|
+
* Serialized representation of {@link EnsIndexerPublicConfig}
|
|
1092
|
+
*/
|
|
1093
|
+
interface SerializedEnsIndexerPublicConfig extends Omit<EnsIndexerPublicConfig, "indexedChainIds"> {
|
|
1094
|
+
/**
|
|
1095
|
+
* Array representation of {@link EnsIndexerPublicConfig.indexedChainIds}.
|
|
1096
|
+
*/
|
|
1097
|
+
indexedChainIds: ChainId[];
|
|
1098
|
+
}
|
|
1099
|
+
/**
|
|
1100
|
+
* Serialized representation of {@link EnsIndexerPublicConfig}
|
|
1101
|
+
*
|
|
1102
|
+
* @deprecated Use {@link SerializedEnsIndexerPublicConfig} instead.
|
|
1103
|
+
*/
|
|
1104
|
+
type SerializedENSIndexerPublicConfig = SerializedEnsIndexerPublicConfig;
|
|
1105
|
+
/**
|
|
1106
|
+
* Serialized representation of {@link EnsIndexerVersionInfo}
|
|
1107
|
+
*/
|
|
1108
|
+
type SerializedEnsIndexerVersionInfo = EnsIndexerVersionInfo;
|
|
1109
|
+
/**
|
|
1110
|
+
* Serialized representation of {@link EnsIndexerVersionInfo}
|
|
1111
|
+
*
|
|
1112
|
+
* @deprecated Use {@link SerializedEnsIndexerVersionInfo} instead.
|
|
1113
|
+
*/
|
|
1114
|
+
type SerializedENSIndexerVersionInfo = SerializedEnsIndexerVersionInfo;
|
|
1147
1115
|
|
|
1148
1116
|
/**
|
|
1149
|
-
* Serialized representation of {@link
|
|
1117
|
+
* Serialized representation of {@link EnsApiPublicConfig}
|
|
1150
1118
|
*/
|
|
1151
|
-
interface
|
|
1119
|
+
interface SerializedEnsApiPublicConfig extends Omit<EnsApiPublicConfig, "ensIndexerPublicConfig"> {
|
|
1152
1120
|
/**
|
|
1153
|
-
* Serialized representation of {@link
|
|
1121
|
+
* Serialized representation of {@link EnsApiPublicConfig.ensIndexerPublicConfig}.
|
|
1154
1122
|
*/
|
|
1155
|
-
ensIndexerPublicConfig:
|
|
1123
|
+
ensIndexerPublicConfig: SerializedEnsIndexerPublicConfig;
|
|
1156
1124
|
}
|
|
1125
|
+
/**
|
|
1126
|
+
* Serialized representation of {@link EnsApiPublicConfig}
|
|
1127
|
+
*
|
|
1128
|
+
* @deprecated Use {@link SerializedEnsApiPublicConfig} instead.
|
|
1129
|
+
*/
|
|
1130
|
+
type SerializedENSApiPublicConfig = SerializedEnsApiPublicConfig;
|
|
1157
1131
|
|
|
1158
|
-
|
|
1132
|
+
/**
|
|
1133
|
+
* Serialized representation of {@link EnsApiConfigResponse}
|
|
1134
|
+
*/
|
|
1135
|
+
type SerializedEnsApiConfigResponse = SerializedEnsApiPublicConfig;
|
|
1136
|
+
/**
|
|
1137
|
+
* @deprecated Use {@link SerializedEnsApiConfigResponse} instead.
|
|
1138
|
+
*/
|
|
1139
|
+
type SerializedConfigResponse = SerializedEnsApiConfigResponse;
|
|
1159
1140
|
|
|
1160
1141
|
/**
|
|
1161
|
-
* Deserialize a {@link
|
|
1142
|
+
* Deserialize a {@link EnsApiConfigResponse} object.
|
|
1143
|
+
*/
|
|
1144
|
+
declare function deserializeEnsApiConfigResponse(serializedResponse: SerializedEnsApiConfigResponse): EnsApiConfigResponse;
|
|
1145
|
+
/**
|
|
1146
|
+
* Deserialize a {@link EnsApiConfigResponse} object.
|
|
1147
|
+
*
|
|
1148
|
+
* @deprecated Use {@link deserializeEnsApiConfigResponse} instead.
|
|
1162
1149
|
*/
|
|
1163
|
-
declare
|
|
1150
|
+
declare const deserializeConfigResponse: typeof deserializeEnsApiConfigResponse;
|
|
1164
1151
|
|
|
1165
|
-
|
|
1152
|
+
/**
|
|
1153
|
+
* Serialize ENSApi Config API Response
|
|
1154
|
+
*/
|
|
1155
|
+
declare function serializeEnsApiConfigResponse(response: EnsApiConfigResponse): SerializedEnsApiConfigResponse;
|
|
1156
|
+
/**
|
|
1157
|
+
* Serialize ENSApi Config API Response
|
|
1158
|
+
*
|
|
1159
|
+
* @deprecated Use {@link serializeEnsApiConfigResponse} instead.
|
|
1160
|
+
*/
|
|
1161
|
+
declare const serializeConfigResponse: typeof serializeEnsApiConfigResponse;
|
|
1166
1162
|
|
|
1167
1163
|
/**
|
|
1168
1164
|
* The type of indexing configuration for a chain.
|
|
@@ -1790,6 +1786,21 @@ declare function createRealtimeIndexingStatusProjection(snapshot: CrossChainInde
|
|
|
1790
1786
|
/**
|
|
1791
1787
|
* A status code for indexing status responses.
|
|
1792
1788
|
*/
|
|
1789
|
+
declare const EnsApiIndexingStatusResponseCodes: {
|
|
1790
|
+
/**
|
|
1791
|
+
* Represents that the indexing status is available.
|
|
1792
|
+
*/
|
|
1793
|
+
readonly Ok: "ok";
|
|
1794
|
+
/**
|
|
1795
|
+
* Represents that the indexing status is unavailable.
|
|
1796
|
+
*/
|
|
1797
|
+
readonly Error: "error";
|
|
1798
|
+
};
|
|
1799
|
+
/**
|
|
1800
|
+
* A status code for indexing status responses.
|
|
1801
|
+
*
|
|
1802
|
+
* @deprecated Use {@link EnsApiIndexingStatusResponseCodes} instead.
|
|
1803
|
+
*/
|
|
1793
1804
|
declare const IndexingStatusResponseCodes: {
|
|
1794
1805
|
/**
|
|
1795
1806
|
* Represents that the indexing status is available.
|
|
@@ -1801,29 +1812,53 @@ declare const IndexingStatusResponseCodes: {
|
|
|
1801
1812
|
readonly Error: "error";
|
|
1802
1813
|
};
|
|
1803
1814
|
/**
|
|
1804
|
-
* The derived string union of possible {@link
|
|
1815
|
+
* The derived string union of possible {@link EnsApiIndexingStatusResponseCodes}.
|
|
1816
|
+
*/
|
|
1817
|
+
type EnsApiIndexingStatusResponseCode = (typeof EnsApiIndexingStatusResponseCodes)[keyof typeof EnsApiIndexingStatusResponseCodes];
|
|
1818
|
+
/**
|
|
1819
|
+
* The derived string union of possible {@link EnsApiIndexingStatusResponseCodes}.
|
|
1820
|
+
*
|
|
1821
|
+
* @deprecated Use {@link EnsApiIndexingStatusResponseCode} instead.
|
|
1805
1822
|
*/
|
|
1806
|
-
type IndexingStatusResponseCode =
|
|
1823
|
+
type IndexingStatusResponseCode = EnsApiIndexingStatusResponseCode;
|
|
1807
1824
|
/**
|
|
1808
1825
|
* An indexing status response when the indexing status is available.
|
|
1809
1826
|
*/
|
|
1810
|
-
type
|
|
1811
|
-
responseCode: typeof
|
|
1827
|
+
type EnsApiIndexingStatusResponseOk = {
|
|
1828
|
+
responseCode: typeof EnsApiIndexingStatusResponseCodes.Ok;
|
|
1812
1829
|
realtimeProjection: RealtimeIndexingStatusProjection;
|
|
1813
1830
|
};
|
|
1831
|
+
/**
|
|
1832
|
+
* An indexing status response when the indexing status is available.
|
|
1833
|
+
*
|
|
1834
|
+
* @deprecated Use {@link EnsApiIndexingStatusResponseOk} instead.
|
|
1835
|
+
*/
|
|
1836
|
+
type IndexingStatusResponseOk = EnsApiIndexingStatusResponseOk;
|
|
1814
1837
|
/**
|
|
1815
1838
|
* An indexing status response when the indexing status is unavailable.
|
|
1816
1839
|
*/
|
|
1817
|
-
type
|
|
1818
|
-
responseCode: typeof
|
|
1840
|
+
type EnsApiIndexingStatusResponseError = {
|
|
1841
|
+
responseCode: typeof EnsApiIndexingStatusResponseCodes.Error;
|
|
1819
1842
|
};
|
|
1843
|
+
/**
|
|
1844
|
+
* An indexing status response when the indexing status is unavailable.
|
|
1845
|
+
*
|
|
1846
|
+
* @deprecated Use {@link EnsApiIndexingStatusResponseError} instead.
|
|
1847
|
+
*/
|
|
1848
|
+
type IndexingStatusResponseError = EnsApiIndexingStatusResponseError;
|
|
1820
1849
|
/**
|
|
1821
1850
|
* Indexing status response.
|
|
1822
1851
|
*
|
|
1823
1852
|
* Use the `responseCode` field to determine the specific type interpretation
|
|
1824
1853
|
* at runtime.
|
|
1825
1854
|
*/
|
|
1826
|
-
type
|
|
1855
|
+
type EnsApiIndexingStatusResponse = EnsApiIndexingStatusResponseOk | EnsApiIndexingStatusResponseError;
|
|
1856
|
+
/**
|
|
1857
|
+
* Indexing status response.
|
|
1858
|
+
*
|
|
1859
|
+
* @deprecated Use {@link EnsApiIndexingStatusResponse} instead.
|
|
1860
|
+
*/
|
|
1861
|
+
type IndexingStatusResponse = EnsApiIndexingStatusResponse;
|
|
1827
1862
|
|
|
1828
1863
|
/**
|
|
1829
1864
|
* Serialized representation of {@link ChainId}.
|
|
@@ -1917,31 +1952,70 @@ interface SerializedRealtimeIndexingStatusProjection extends Omit<RealtimeIndexi
|
|
|
1917
1952
|
declare function serializeRealtimeIndexingStatusProjection(indexingProjection: RealtimeIndexingStatusProjection): SerializedRealtimeIndexingStatusProjection;
|
|
1918
1953
|
|
|
1919
1954
|
/**
|
|
1920
|
-
* Serialized representation of {@link
|
|
1955
|
+
* Serialized representation of {@link EnsApiIndexingStatusResponseError}.
|
|
1956
|
+
*/
|
|
1957
|
+
type SerializedEnsApiIndexingStatusResponseError = EnsApiIndexingStatusResponseError;
|
|
1958
|
+
/**
|
|
1959
|
+
* Serialized representation of {@link EnsApiIndexingStatusResponseError}.
|
|
1960
|
+
*
|
|
1961
|
+
* @deprecated Use {@link SerializedEnsApiIndexingStatusResponseError} instead.
|
|
1921
1962
|
*/
|
|
1922
|
-
type SerializedIndexingStatusResponseError =
|
|
1963
|
+
type SerializedIndexingStatusResponseError = SerializedEnsApiIndexingStatusResponseError;
|
|
1923
1964
|
/**
|
|
1924
|
-
* Serialized representation of {@link
|
|
1965
|
+
* Serialized representation of {@link EnsApiIndexingStatusResponseOk}.
|
|
1925
1966
|
*/
|
|
1926
|
-
interface
|
|
1967
|
+
interface SerializedEnsApiIndexingStatusResponseOk extends Omit<EnsApiIndexingStatusResponseOk, "realtimeProjection"> {
|
|
1927
1968
|
realtimeProjection: SerializedRealtimeIndexingStatusProjection;
|
|
1928
1969
|
}
|
|
1929
1970
|
/**
|
|
1930
|
-
* Serialized representation of {@link
|
|
1971
|
+
* Serialized representation of {@link EnsApiIndexingStatusResponseOk}.
|
|
1972
|
+
*
|
|
1973
|
+
* @deprecated Use {@link SerializedEnsApiIndexingStatusResponseOk} instead.
|
|
1974
|
+
*/
|
|
1975
|
+
type SerializedIndexingStatusResponseOk = SerializedEnsApiIndexingStatusResponseOk;
|
|
1976
|
+
/**
|
|
1977
|
+
* Serialized representation of {@link EnsApiIndexingStatusResponse}.
|
|
1931
1978
|
*/
|
|
1932
|
-
type
|
|
1979
|
+
type SerializedEnsApiIndexingStatusResponse = SerializedEnsApiIndexingStatusResponseOk | SerializedEnsApiIndexingStatusResponseError;
|
|
1980
|
+
/**
|
|
1981
|
+
* Serialized representation of {@link EnsApiIndexingStatusResponse}.
|
|
1982
|
+
*
|
|
1983
|
+
* @deprecated Use {@link SerializedEnsApiIndexingStatusResponse} instead.
|
|
1984
|
+
*/
|
|
1985
|
+
type SerializedIndexingStatusResponse = SerializedEnsApiIndexingStatusResponse;
|
|
1933
1986
|
|
|
1934
1987
|
/**
|
|
1935
|
-
* Deserialize a {@link
|
|
1988
|
+
* Deserialize a {@link EnsApiIndexingStatusResponse} object.
|
|
1989
|
+
*/
|
|
1990
|
+
declare function deserializeEnsApiIndexingStatusResponse(maybeResponse: Unvalidated<SerializedEnsApiIndexingStatusResponse>): EnsApiIndexingStatusResponse;
|
|
1991
|
+
/**
|
|
1992
|
+
* Deserialize a {@link EnsApiIndexingStatusResponse} object.
|
|
1993
|
+
*
|
|
1994
|
+
* @deprecated Use {@link deserializeEnsApiIndexingStatusResponse} instead.
|
|
1936
1995
|
*/
|
|
1937
|
-
declare
|
|
1996
|
+
declare const deserializeIndexingStatusResponse: typeof deserializeEnsApiIndexingStatusResponse;
|
|
1938
1997
|
|
|
1939
1998
|
/**
|
|
1940
1999
|
* Represents a request to Indexing Status API.
|
|
1941
2000
|
*/
|
|
1942
|
-
type
|
|
2001
|
+
type EnsApiIndexingStatusRequest = {};
|
|
2002
|
+
/**
|
|
2003
|
+
* Represents a request to Indexing Status API.
|
|
2004
|
+
*
|
|
2005
|
+
* @deprecated Use {@link EnsApiIndexingStatusRequest} instead.
|
|
2006
|
+
*/
|
|
2007
|
+
type IndexingStatusRequest = EnsApiIndexingStatusRequest;
|
|
1943
2008
|
|
|
1944
|
-
|
|
2009
|
+
/**
|
|
2010
|
+
* Serialize a {@link EnsApiIndexingStatusResponse} object.
|
|
2011
|
+
*/
|
|
2012
|
+
declare function serializeEnsApiIndexingStatusResponse(response: EnsApiIndexingStatusResponse): SerializedEnsApiIndexingStatusResponse;
|
|
2013
|
+
/**
|
|
2014
|
+
* Serialize a {@link EnsApiIndexingStatusResponse} object.
|
|
2015
|
+
*
|
|
2016
|
+
* @deprecated Use {@link serializeEnsApiIndexingStatusResponse} instead.
|
|
2017
|
+
*/
|
|
2018
|
+
declare const serializeIndexingStatusResponse: typeof serializeEnsApiIndexingStatusResponse;
|
|
1945
2019
|
|
|
1946
2020
|
/**
|
|
1947
2021
|
* Deserialize a {@link NameTokensResponse} object.
|
|
@@ -1959,9 +2033,9 @@ declare const nameTokensPrerequisites: Readonly<{
|
|
|
1959
2033
|
*/
|
|
1960
2034
|
requiredPlugins: readonly [PluginName.Registrars, PluginName.TokenScope];
|
|
1961
2035
|
/**
|
|
1962
|
-
* Check if provided
|
|
2036
|
+
* Check if provided EnsIndexerPublicConfig supports the Name Tokens API.
|
|
1963
2037
|
*/
|
|
1964
|
-
hasEnsIndexerConfigSupport(config:
|
|
2038
|
+
hasEnsIndexerConfigSupport(config: EnsIndexerPublicConfig): boolean;
|
|
1965
2039
|
/**
|
|
1966
2040
|
* Required Indexing Status IDs
|
|
1967
2041
|
*
|
|
@@ -3432,9 +3506,9 @@ declare const registrarActionsPrerequisites: Readonly<{
|
|
|
3432
3506
|
*/
|
|
3433
3507
|
requiredPlugins: readonly [PluginName.Subgraph, PluginName.Basenames, PluginName.Lineanames, PluginName.Registrars];
|
|
3434
3508
|
/**
|
|
3435
|
-
* Check if provided
|
|
3509
|
+
* Check if provided EnsIndexerPublicConfig supports the Registrar Actions API.
|
|
3436
3510
|
*/
|
|
3437
|
-
hasEnsIndexerConfigSupport(config:
|
|
3511
|
+
hasEnsIndexerConfigSupport(config: EnsIndexerPublicConfig): boolean;
|
|
3438
3512
|
/**
|
|
3439
3513
|
* Required Indexing Status IDs
|
|
3440
3514
|
*
|
|
@@ -3844,19 +3918,21 @@ interface ClientOptions {
|
|
|
3844
3918
|
url: URL;
|
|
3845
3919
|
}
|
|
3846
3920
|
/**
|
|
3847
|
-
*
|
|
3921
|
+
* EnsApi Client
|
|
3848
3922
|
*
|
|
3849
3923
|
* Provides access to the following ENSNode APIs:
|
|
3850
3924
|
* - Resolution API
|
|
3851
|
-
* -
|
|
3852
|
-
* -
|
|
3925
|
+
* - Configuration API
|
|
3926
|
+
* - Indexing Status API
|
|
3927
|
+
* - Registrar Actions API
|
|
3928
|
+
* - Name Tokens API
|
|
3853
3929
|
*
|
|
3854
3930
|
* @example
|
|
3855
3931
|
* ```typescript
|
|
3856
|
-
* import {
|
|
3932
|
+
* import { EnsApiClient } from "@ensnode/ensnode-sdk";
|
|
3857
3933
|
*
|
|
3858
3934
|
* // Create client with default options
|
|
3859
|
-
* const client = new
|
|
3935
|
+
* const client = new EnsApiClient();
|
|
3860
3936
|
*
|
|
3861
3937
|
* // Use resolution methods
|
|
3862
3938
|
* const { records } = await client.resolveRecords("jesse.base.eth", {
|
|
@@ -3867,35 +3943,35 @@ interface ClientOptions {
|
|
|
3867
3943
|
*
|
|
3868
3944
|
* @example
|
|
3869
3945
|
* ```typescript
|
|
3870
|
-
* import { ENSNamespaceIds,
|
|
3946
|
+
* import { ENSNamespaceIds, EnsApiClient, getDefaultEnsNodeUrl } from "@ensnode/ensnode-sdk";
|
|
3871
3947
|
*
|
|
3872
3948
|
* // Use default ENSNode API URL for Mainnet
|
|
3873
|
-
* const client = new
|
|
3949
|
+
* const client = new EnsApiClient({
|
|
3874
3950
|
* url: getDefaultEnsNodeUrl(ENSNamespaceIds.Mainnet),
|
|
3875
3951
|
* });
|
|
3876
3952
|
* ```
|
|
3877
3953
|
*
|
|
3878
3954
|
* @example
|
|
3879
3955
|
* ```typescript
|
|
3880
|
-
* import { ENSNamespaceIds,
|
|
3956
|
+
* import { ENSNamespaceIds, EnsApiClient, getDefaultEnsNodeUrl } from "@ensnode/ensnode-sdk";
|
|
3881
3957
|
*
|
|
3882
3958
|
* // Use default ENSNode API URL for Sepolia
|
|
3883
|
-
* const client = new
|
|
3959
|
+
* const client = new EnsApiClient({
|
|
3884
3960
|
* url: getDefaultEnsNodeUrl(ENSNamespaceIds.Sepolia),
|
|
3885
3961
|
* });
|
|
3886
3962
|
* ```
|
|
3887
3963
|
*
|
|
3888
3964
|
* @example
|
|
3889
3965
|
* ```typescript
|
|
3890
|
-
* import {
|
|
3966
|
+
* import { EnsApiClient } from "@ensnode/ensnode-sdk";
|
|
3891
3967
|
*
|
|
3892
3968
|
* // Custom configuration
|
|
3893
|
-
* const client = new
|
|
3969
|
+
* const client = new EnsApiClient({
|
|
3894
3970
|
* url: new URL("https://my-ensnode-instance.com"),
|
|
3895
3971
|
* });
|
|
3896
3972
|
* ```
|
|
3897
3973
|
*/
|
|
3898
|
-
declare class
|
|
3974
|
+
declare class EnsApiClient {
|
|
3899
3975
|
private readonly options;
|
|
3900
3976
|
static defaultOptions(): ClientOptions;
|
|
3901
3977
|
constructor(options?: Partial<ClientOptions>);
|
|
@@ -4017,27 +4093,27 @@ declare class ENSNodeClient {
|
|
|
4017
4093
|
*/
|
|
4018
4094
|
resolvePrimaryNames(address: ResolvePrimaryNamesRequest["address"], options?: Omit<ResolvePrimaryNamesRequest, "address">): Promise<ResolvePrimaryNamesResponse>;
|
|
4019
4095
|
/**
|
|
4020
|
-
* Fetch
|
|
4096
|
+
* Fetch ENSApi Config
|
|
4021
4097
|
*
|
|
4022
|
-
* Fetch the
|
|
4098
|
+
* Fetch the ENSApi's configuration.
|
|
4023
4099
|
*
|
|
4024
|
-
* @returns {
|
|
4100
|
+
* @returns {EnsApiConfigResponse}
|
|
4025
4101
|
*
|
|
4026
|
-
* @throws if the
|
|
4027
|
-
* @throws if the
|
|
4028
|
-
* @throws if the
|
|
4102
|
+
* @throws if the ENSApi request fails
|
|
4103
|
+
* @throws if the ENSApi returns an error response
|
|
4104
|
+
* @throws if the ENSApi response breaks required invariants
|
|
4029
4105
|
*/
|
|
4030
|
-
config(): Promise<
|
|
4106
|
+
config(): Promise<EnsApiConfigResponse>;
|
|
4031
4107
|
/**
|
|
4032
|
-
* Fetch
|
|
4108
|
+
* Fetch ENSApi Indexing Status
|
|
4033
4109
|
*
|
|
4034
|
-
* @returns {
|
|
4110
|
+
* @returns {EnsApiIndexingStatusResponse}
|
|
4035
4111
|
*
|
|
4036
|
-
* @throws if the
|
|
4037
|
-
* @throws if the
|
|
4038
|
-
* @throws if the
|
|
4112
|
+
* @throws if the ENSApi request fails
|
|
4113
|
+
* @throws if the ENSApi returns an error response
|
|
4114
|
+
* @throws if the ENSApi response breaks required invariants
|
|
4039
4115
|
*/
|
|
4040
|
-
indexingStatus(): Promise<
|
|
4116
|
+
indexingStatus(): Promise<EnsApiIndexingStatusResponse>;
|
|
4041
4117
|
/**
|
|
4042
4118
|
* Fetch ENSNode Registrar Actions
|
|
4043
4119
|
*
|
|
@@ -4058,11 +4134,11 @@ declare class ENSNodeClient {
|
|
|
4058
4134
|
* ```ts
|
|
4059
4135
|
* import {
|
|
4060
4136
|
* registrarActionsFilter,
|
|
4061
|
-
*
|
|
4137
|
+
* EnsApiClient,
|
|
4062
4138
|
* } from "@ensnode/ensnode-sdk";
|
|
4063
4139
|
* import { namehash } from "viem/ens";
|
|
4064
4140
|
*
|
|
4065
|
-
* const client:
|
|
4141
|
+
* const client: EnsApiClient;
|
|
4066
4142
|
*
|
|
4067
4143
|
* // Get first page with default page size (10 records)
|
|
4068
4144
|
* const response = await client.registrarActions();
|
|
@@ -4137,11 +4213,11 @@ declare class ENSNodeClient {
|
|
|
4137
4213
|
* @example
|
|
4138
4214
|
* ```ts
|
|
4139
4215
|
* import {
|
|
4140
|
-
*
|
|
4216
|
+
* EnsApiClient,
|
|
4141
4217
|
* } from "@ensnode/ensnode-sdk";
|
|
4142
4218
|
* import { namehash } from "viem/ens";
|
|
4143
4219
|
*
|
|
4144
|
-
* const client:
|
|
4220
|
+
* const client: EnsApiClient;
|
|
4145
4221
|
*
|
|
4146
4222
|
* // get latest name token records from the indexed subregistry based on the requested name
|
|
4147
4223
|
* const response = await client.nameTokens({
|
|
@@ -4155,6 +4231,13 @@ declare class ENSNodeClient {
|
|
|
4155
4231
|
*/
|
|
4156
4232
|
nameTokens(request: NameTokensRequest): Promise<NameTokensResponse>;
|
|
4157
4233
|
}
|
|
4234
|
+
/**
|
|
4235
|
+
* ENSNode Client
|
|
4236
|
+
*
|
|
4237
|
+
* @deprecated use {@link EnsApiClient} instead
|
|
4238
|
+
*/
|
|
4239
|
+
declare class ENSNodeClient extends EnsApiClient {
|
|
4240
|
+
}
|
|
4158
4241
|
|
|
4159
4242
|
declare class ClientError extends Error {
|
|
4160
4243
|
details?: unknown;
|
|
@@ -4163,40 +4246,33 @@ declare class ClientError extends Error {
|
|
|
4163
4246
|
}
|
|
4164
4247
|
|
|
4165
4248
|
/**
|
|
4166
|
-
*
|
|
4167
|
-
*/
|
|
4168
|
-
declare const DEFAULT_ENSNODE_API_URL_MAINNET: "https://api.alpha.ensnode.io";
|
|
4169
|
-
/**
|
|
4170
|
-
* Default ENSNode API endpoint URL for Sepolia
|
|
4249
|
+
* Deserialize a {@link EnsApiPublicConfig} object.
|
|
4171
4250
|
*/
|
|
4172
|
-
declare
|
|
4251
|
+
declare function deserializeEnsApiPublicConfig(maybeConfig: SerializedEnsApiPublicConfig, valueLabel?: string): EnsApiPublicConfig;
|
|
4173
4252
|
/**
|
|
4174
|
-
*
|
|
4253
|
+
* Deserialize a {@link EnsApiPublicConfig} object.
|
|
4175
4254
|
*
|
|
4176
|
-
* @
|
|
4177
|
-
* provided, defaults to Mainnet.
|
|
4178
|
-
* @returns The default ENSNode URL for the provided ENSNamespaceId, or for Mainnet if no
|
|
4179
|
-
* namespace is provided.
|
|
4180
|
-
* @throws If the provided ENSNamespaceId does not have a default ENSNode URL defined
|
|
4255
|
+
* @deprecated Use {@link deserializeEnsApiPublicConfig} instead.
|
|
4181
4256
|
*/
|
|
4182
|
-
declare const
|
|
4257
|
+
declare const deserializeENSApiPublicConfig: typeof deserializeEnsApiPublicConfig;
|
|
4183
4258
|
|
|
4184
4259
|
/**
|
|
4185
|
-
*
|
|
4260
|
+
* Serialize a {@link EnsApiPublicConfig} object.
|
|
4186
4261
|
*/
|
|
4187
|
-
declare function
|
|
4188
|
-
|
|
4262
|
+
declare function serializeEnsApiPublicConfig(config: EnsApiPublicConfig): SerializedEnsApiPublicConfig;
|
|
4189
4263
|
/**
|
|
4190
|
-
* Serialize a {@link
|
|
4264
|
+
* Serialize a {@link EnsApiPublicConfig} object.
|
|
4265
|
+
*
|
|
4266
|
+
* @deprecated Use {@link serializeEnsApiPublicConfig} instead.
|
|
4191
4267
|
*/
|
|
4192
|
-
declare
|
|
4268
|
+
declare const serializeENSApiPublicConfig: typeof serializeEnsApiPublicConfig;
|
|
4193
4269
|
|
|
4194
4270
|
/**
|
|
4195
4271
|
* Create a Zod schema for validating a serialized ENSApiPublicConfig.
|
|
4196
4272
|
*
|
|
4197
4273
|
* @param valueLabel - Optional label for the value being validated (used in error messages)
|
|
4198
4274
|
*/
|
|
4199
|
-
declare function
|
|
4275
|
+
declare function makeEnsApiPublicConfigSchema(valueLabel?: string): z.ZodObject<{
|
|
4200
4276
|
version: z.ZodString;
|
|
4201
4277
|
theGraphFallback: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4202
4278
|
canFallback: z.ZodLiteral<true>;
|
|
@@ -4235,6 +4311,111 @@ declare function makeENSApiPublicConfigSchema(valueLabel?: string): z.ZodObject<
|
|
|
4235
4311
|
}, z.core.$strict>;
|
|
4236
4312
|
}, z.core.$strip>;
|
|
4237
4313
|
}, z.core.$strict>;
|
|
4314
|
+
/**
|
|
4315
|
+
* Create a Zod schema for validating a serialized ENSApiPublicConfig.
|
|
4316
|
+
*
|
|
4317
|
+
* @deprecated Use {@link makeEnsApiPublicConfigSchema} instead.
|
|
4318
|
+
*/
|
|
4319
|
+
declare const makeENSApiPublicConfigSchema: typeof makeEnsApiPublicConfigSchema;
|
|
4320
|
+
|
|
4321
|
+
/**
|
|
4322
|
+
* Default ENSNode API endpoint URL for Mainnet
|
|
4323
|
+
*/
|
|
4324
|
+
declare const DEFAULT_ENSNODE_API_URL_MAINNET: "https://api.alpha.ensnode.io";
|
|
4325
|
+
/**
|
|
4326
|
+
* Default ENSNode API endpoint URL for Sepolia
|
|
4327
|
+
*/
|
|
4328
|
+
declare const DEFAULT_ENSNODE_API_URL_SEPOLIA: "https://api.alpha-sepolia.ensnode.io";
|
|
4329
|
+
/**
|
|
4330
|
+
* Gets the default ENSNode URL for the provided ENSNamespaceId.
|
|
4331
|
+
*
|
|
4332
|
+
* @param namespace - Optional. The ENSNamespaceId to get the default ENSNode URL for. If not
|
|
4333
|
+
* provided, defaults to Mainnet.
|
|
4334
|
+
* @returns The default ENSNode URL for the provided ENSNamespaceId, or for Mainnet if no
|
|
4335
|
+
* namespace is provided.
|
|
4336
|
+
* @throws If the provided ENSNamespaceId does not have a default ENSNode URL defined
|
|
4337
|
+
*/
|
|
4338
|
+
declare const getDefaultEnsNodeUrl: (namespace?: ENSNamespaceId) => URL;
|
|
4339
|
+
|
|
4340
|
+
/**
|
|
4341
|
+
* Deserialize object into a {@link EnsIndexerPublicConfig} object.
|
|
4342
|
+
*/
|
|
4343
|
+
declare function deserializeEnsIndexerPublicConfig(maybeConfig: SerializedEnsIndexerPublicConfig, valueLabel?: string): EnsIndexerPublicConfig;
|
|
4344
|
+
/**
|
|
4345
|
+
* Deserialize object into a {@link EnsIndexerPublicConfig} object.
|
|
4346
|
+
*
|
|
4347
|
+
* @deprecated Use {@link deserializeEnsIndexerPublicConfig} instead.
|
|
4348
|
+
*/
|
|
4349
|
+
declare const deserializeENSIndexerPublicConfig: typeof deserializeEnsIndexerPublicConfig;
|
|
4350
|
+
|
|
4351
|
+
/**
|
|
4352
|
+
* Determines if the provided `config` results in indexing behavior compatible with the legacy ENS
|
|
4353
|
+
* Subgraph.
|
|
4354
|
+
*
|
|
4355
|
+
* @see https://ensnode.io/docs/concepts/what-is-the-ens-subgraph/
|
|
4356
|
+
*/
|
|
4357
|
+
declare function isSubgraphCompatible(config: Pick<EnsIndexerPublicConfig, "namespace" | "plugins" | "labelSet">): boolean;
|
|
4358
|
+
|
|
4359
|
+
/**
|
|
4360
|
+
* Converts a Labelhash to bytes, with validation
|
|
4361
|
+
* @param labelHash The Labelhash to convert
|
|
4362
|
+
* @returns A ByteArray containing the bytes
|
|
4363
|
+
* @throws Error if `labelHash` is not a valid 32-byte hex string
|
|
4364
|
+
*/
|
|
4365
|
+
declare function labelHashToBytes(labelHash: LabelHash): ByteArray;
|
|
4366
|
+
|
|
4367
|
+
/**
|
|
4368
|
+
* Builds a valid LabelSetId from a string.
|
|
4369
|
+
* @param maybeLabelSetId - The string to validate and convert to a LabelSetId.
|
|
4370
|
+
* @returns A valid LabelSetId.
|
|
4371
|
+
* @throws If the input string is not a valid LabelSetId.
|
|
4372
|
+
*/
|
|
4373
|
+
declare function buildLabelSetId(maybeLabelSetId: string): LabelSetId;
|
|
4374
|
+
/**
|
|
4375
|
+
* Builds a valid LabelSetVersion from a number or string.
|
|
4376
|
+
* @param maybeLabelSetVersion - The number or string to validate and convert to a LabelSetVersion.
|
|
4377
|
+
* @returns A valid LabelSetVersion.
|
|
4378
|
+
* @throws If the input is not a valid LabelSetVersion.
|
|
4379
|
+
*/
|
|
4380
|
+
declare function buildLabelSetVersion(maybeLabelSetVersion: number | string): LabelSetVersion;
|
|
4381
|
+
/**
|
|
4382
|
+
* Builds an EnsRainbowClientLabelSet.
|
|
4383
|
+
* @param labelSetId - The label set ID.
|
|
4384
|
+
* @param labelSetVersion - The label set version.
|
|
4385
|
+
* @returns A valid EnsRainbowClientLabelSet object.
|
|
4386
|
+
* @throws If `labelSetVersion` is defined without `labelSetId`.
|
|
4387
|
+
*/
|
|
4388
|
+
declare function buildEnsRainbowClientLabelSet(labelSetId?: LabelSetId, labelSetVersion?: LabelSetVersion): EnsRainbowClientLabelSet;
|
|
4389
|
+
/**
|
|
4390
|
+
* Validates that the server's label set is compatible with the client's requested label set.
|
|
4391
|
+
* @param serverSet - The label set provided by the server.
|
|
4392
|
+
* @param clientSet - The label set requested by the client.
|
|
4393
|
+
* @throws If the server set is not compatible with the client set.
|
|
4394
|
+
*/
|
|
4395
|
+
declare function validateSupportedLabelSetAndVersion(serverSet: EnsRainbowServerLabelSet, clientSet: EnsRainbowClientLabelSet): void;
|
|
4396
|
+
|
|
4397
|
+
/**
|
|
4398
|
+
* Parses a string into a non-negative integer.
|
|
4399
|
+
* @param input The string to parse
|
|
4400
|
+
* @returns The parsed non-negative integer
|
|
4401
|
+
* @throws Error if the input is not a valid non-negative integer
|
|
4402
|
+
*/
|
|
4403
|
+
declare function parseNonNegativeInteger(maybeNumber: string): number;
|
|
4404
|
+
|
|
4405
|
+
/**
|
|
4406
|
+
* Serializes a {@link ChainConfig} object.
|
|
4407
|
+
*/
|
|
4408
|
+
declare function serializeIndexedChainIds(indexedChainIds: Set<ChainId>): SerializedIndexedChainIds;
|
|
4409
|
+
/**
|
|
4410
|
+
* Serialize a {@link EnsIndexerPublicConfig} object.
|
|
4411
|
+
*/
|
|
4412
|
+
declare function serializeEnsIndexerPublicConfig(config: EnsIndexerPublicConfig): SerializedEnsIndexerPublicConfig;
|
|
4413
|
+
/**
|
|
4414
|
+
* Serialize a {@link EnsIndexerPublicConfig} object.
|
|
4415
|
+
*
|
|
4416
|
+
* @deprecated Use {@link serializeEnsIndexerPublicConfig} instead.
|
|
4417
|
+
*/
|
|
4418
|
+
declare const serializeENSIndexerPublicConfig: typeof serializeEnsIndexerPublicConfig;
|
|
4238
4419
|
|
|
4239
4420
|
/**
|
|
4240
4421
|
* Serialized representation of {@link ChainIndexingStatusSnapshot}
|
|
@@ -4977,4 +5158,4 @@ declare function formatAssetId({ assetNamespace, contract: { chainId, address },
|
|
|
4977
5158
|
declare function isHttpProtocol(url: URL): boolean;
|
|
4978
5159
|
declare function isWebSocketProtocol(url: URL): boolean;
|
|
4979
5160
|
|
|
4980
|
-
export { ADDR_REVERSE_NODE, ATTR_PROTOCOL_NAME, ATTR_PROTOCOL_STEP, ATTR_PROTOCOL_STEP_RESULT, type AcceleratableRequest, type AcceleratableResponse, type AccountId, type AccountIdString, type AssetId, type AssetIdString, type AssetNamespace, AssetNamespaces, BASENAMES_NODE, type BlockNumber, type BlockRef, type Blockrange, type Cache, type CachedResult, type CanonicalId, type CanonicalPath, type ChainId, type ChainIdString, type ChainIndexingConfig, type ChainIndexingConfigDefinite, type ChainIndexingConfigIndefinite, type ChainIndexingConfigTypeId, ChainIndexingConfigTypeIds, type ChainIndexingStatusId, ChainIndexingStatusIds, type ChainIndexingStatusSnapshot, type ChainIndexingStatusSnapshotBackfill, type ChainIndexingStatusSnapshotCompleted, type ChainIndexingStatusSnapshotFollowing, type ChainIndexingStatusSnapshotForOmnichainIndexingStatusSnapshotBackfill, type ChainIndexingStatusSnapshotQueued, ClientError, type ClientOptions, type ConfigResponse, type CrossChainIndexingStatusSnapshot, type CrossChainIndexingStatusSnapshotOmnichain, type CrossChainIndexingStrategyId, CrossChainIndexingStrategyIds, type CurrencyAmount, type CurrencyId, CurrencyIds, type CurrencyInfo, DEFAULT_ENSNODE_API_URL_MAINNET, DEFAULT_ENSNODE_API_URL_SEPOLIA, DEFAULT_EVM_CHAIN_ID, DEFAULT_EVM_COIN_TYPE, type DNSEncodedLiteralName, type DNSEncodedName, type DNSEncodedPartiallyInterpretedName, type Datetime, type DatetimeISO8601, type DeepPartial, type DefaultableChainId, type DomainAssetId, type DomainId, type Duration, ENCODED_REFERRER_BYTE_LENGTH, ENCODED_REFERRER_BYTE_OFFSET, type ENSApiPublicConfig, type ENSIndexerPublicConfig, type ENSIndexerVersionInfo, ENSNodeClient, ENS_ROOT, type ENSv1DomainId, type ENSv2DomainId, ETH_COIN_TYPE, ETH_NODE, EXPECTED_ENCODED_REFERRER_PADDING, type EncodedLabelHash, type EncodedReferrer, type EnsRainbowClientLabelSet, type EnsRainbowServerLabelSet, type ErrorResponse, type ForwardResolutionArgs, ForwardResolutionProtocolStep, type ForwardResolutionResult, type Identity, type IndexingStatusRequest, type IndexingStatusResponse, type IndexingStatusResponseCode, IndexingStatusResponseCodes, type IndexingStatusResponseError, type IndexingStatusResponseOk, type InterpretedLabel, type InterpretedName, LINEANAMES_NODE, type Label, type LabelHash, type LabelHashPath, type LabelSetId, type LabelSetVersion, type LiteralLabel, type LiteralName, LruCache, type MultichainPrimaryNameResolutionArgs, type MultichainPrimaryNameResolutionResult, type NFTMintStatus, NFTMintStatuses, type NFTTransferEventMetadata, type NFTTransferType, NFTTransferTypes, NODE_ANY, type Name, type NameToken, type NameTokenOwnership, type NameTokenOwnershipBurned, type NameTokenOwnershipFullyOnchain, type NameTokenOwnershipNameWrapper, type NameTokenOwnershipType, NameTokenOwnershipTypes, type NameTokenOwnershipUnknown, type NameTokensRequest, type NameTokensResponse, type NameTokensResponseCode, NameTokensResponseCodes, type NameTokensResponseError, type NameTokensResponseErrorCode, NameTokensResponseErrorCodes, type NameTokensResponseErrorEnsIndexerConfigUnsupported, type NameTokensResponseErrorIndexingStatusUnsupported, type NameTokensResponseErrorNameTokensNotIndexed, type NameTokensResponseOk, type NamedIdentity, type NamedRegistrarAction, type Node, type NormalizedName, type OmnichainIndexingStatusId, OmnichainIndexingStatusIds, type OmnichainIndexingStatusSnapshot, type OmnichainIndexingStatusSnapshotBackfill, type OmnichainIndexingStatusSnapshotCompleted, type OmnichainIndexingStatusSnapshotFollowing, type OmnichainIndexingStatusSnapshotUnstarted, PROTOCOL_ATTRIBUTE_PREFIX, type PermissionsId, type PermissionsResourceId, type PermissionsUserId, PluginName, type Price, type PriceDai, type PriceEth, type PriceUsdc, RECORDS_PER_PAGE_DEFAULT, RECORDS_PER_PAGE_MAX, ROOT_NODE, ROOT_RESOURCE, type RealtimeIndexingStatusProjection, type RegisteredNameTokens, type RegistrarAction, type RegistrarActionEventId, type RegistrarActionPricing, type RegistrarActionPricingAvailable, type RegistrarActionPricingUnknown, type RegistrarActionReferral, type RegistrarActionReferralAvailable, type RegistrarActionReferralNotApplicable, type RegistrarActionType, RegistrarActionTypes, type RegistrarActionsFilter, type RegistrarActionsFilterBeginTimestamp, type RegistrarActionsFilterByDecodedReferrer, type RegistrarActionsFilterBySubregistryNode, type RegistrarActionsFilterEndTimestamp, type RegistrarActionsFilterType, RegistrarActionsFilterTypes, type RegistrarActionsFilterWithEncodedReferral, type RegistrarActionsOrder, RegistrarActionsOrders, type RegistrarActionsRequest, type RegistrarActionsResponse, type RegistrarActionsResponseCode, RegistrarActionsResponseCodes, type RegistrarActionsResponseError, type RegistrarActionsResponseOk, type RegistrationExpiryInfo, type RegistrationId, type RegistrationLifecycle, type RegistrationLifecycleStage, type RegistryId, type RenewalId, type RequestPageParams, type RequiredAndNotNull, type ResolutionStatusId, ResolutionStatusIds, type ResolvePrimaryNameRequest, type ResolvePrimaryNameResponse, type ResolvePrimaryNamesRequest, type ResolvePrimaryNamesResponse, type ResolveRecordsRequest, type ResolveRecordsResponse, type ResolvedIdentity, type ResolverId, type ResolverRecordsId, type ResolverRecordsResponse, type ResolverRecordsResponseBase, type ResolverRecordsSelection, type ResponsePageContext, type ResponsePageContextWithNoRecords, type ResponsePageContextWithRecords, type ReverseResolutionArgs, ReverseResolutionProtocolStep, type ReverseResolutionResult, type RpcUrl, SWRCache, type SWRCacheOptions, type SerializedAssetId, type SerializedChainIndexingStatusSnapshot, type SerializedChainIndexingStatusSnapshotBackfill, type SerializedChainIndexingStatusSnapshotCompleted, type SerializedChainIndexingStatusSnapshotFollowing, type SerializedChainIndexingStatusSnapshotQueued, type SerializedConfigResponse, type SerializedCurrencyAmount, type SerializedCurrentIndexingProjectionOmnichain, type SerializedDomainAssetId, type SerializedENSApiPublicConfig, type SerializedENSIndexerPublicConfig, type SerializedENSIndexerVersionInfo, type SerializedIndexedChainIds, type SerializedIndexingStatusResponse, type SerializedIndexingStatusResponseError, type SerializedIndexingStatusResponseOk, type SerializedNameToken, type SerializedNameTokensResponse, type SerializedNameTokensResponseError, type SerializedNameTokensResponseOk, type SerializedNamedRegistrarAction, type SerializedOmnichainIndexingStatusSnapshot, type SerializedOmnichainIndexingStatusSnapshotBackfill, type SerializedOmnichainIndexingStatusSnapshotCompleted, type SerializedOmnichainIndexingStatusSnapshotFollowing, type SerializedOmnichainIndexingStatusSnapshotUnstarted, type SerializedPrice, type SerializedPriceDai, type SerializedPriceEth, type SerializedPriceUsdc, type SerializedRealtimeIndexingStatusProjection, type SerializedRegisteredNameTokens, type SerializedRegistrarAction, type SerializedRegistrarActionPricing, type SerializedRegistrarActionPricingAvailable, type SerializedRegistrarActionPricingUnknown, type SerializedRegistrarActionsResponse, type SerializedRegistrarActionsResponseError, type SerializedRegistrarActionsResponseOk, type SerializedTokenId, type SubgraphInterpretedLabel, type SubgraphInterpretedName, type Subregistry, type TheGraphCannotFallbackReason, TheGraphCannotFallbackReasonSchema, type TheGraphFallback, TheGraphFallbackSchema, type TokenId, TraceableENSProtocol, type TraceableRequest, type TraceableResponse, type TracingNode, type TracingSpan, type TracingTrace, TtlCache, type UnixTimestamp, type UnknownIdentity, type UnnamedIdentity, type UnresolvedIdentity, type Unvalidated, type UrlString, ZERO_ENCODED_REFERRER, accountIdEqual, addDuration, addPrices, addrReverseLabel, asLowerCaseAddress, beautifyName, bigIntToNumber, bigintToCoinType, buildAssetId, buildEncodedReferrer, buildEnsRainbowClientLabelSet, buildLabelSetId, buildLabelSetVersion, buildPageContext, buildUnresolvedIdentity, buildUnvalidatedCrossChainIndexingStatusSnapshot, buildUnvalidatedOmnichainIndexingStatusSnapshot, buildUnvalidatedRealtimeIndexingStatusProjection, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotBackfill, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotCompleted, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotFollowing, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotUnstarted, coinTypeReverseLabel, coinTypeToEvmChainId, constructSubInterpretedName, createIndexingConfig, createRealtimeIndexingStatusProjection, decodeDNSEncodedLiteralName, decodeDNSEncodedName, decodeEncodedReferrer, deserializeAssetId, deserializeBlockNumber, deserializeBlockRef, deserializeBlockrange, deserializeChainId, deserializeChainIndexingStatusSnapshot, deserializeConfigResponse, deserializeCrossChainIndexingStatusSnapshot, deserializeDatetime, deserializeDuration, deserializeENSApiPublicConfig, deserializeENSIndexerPublicConfig, deserializeErrorResponse, deserializeIndexingStatusResponse, deserializeOmnichainIndexingStatusSnapshot, deserializePriceDai, deserializePriceEth, deserializePriceUsdc, deserializeRealtimeIndexingStatusProjection, deserializeRegistrarActionsResponse, deserializeUnixTimestamp, deserializeUrl, deserializedNameTokensResponse, durationBetween, encodeLabelHash, encodedLabelToLabelhash, ensureInterpretedLabel, evmChainIdToCoinType, formatAccountId, formatAssetId, formatNFTTransferEventMetadata, getBasenamesSubregistryId, getBasenamesSubregistryManagedName, getCanonicalId, getCurrencyInfo, getDatasourceContract, getDefaultEnsNodeUrl, getENSv1Registry, getENSv2RootRegistry, getENSv2RootRegistryId, getEthnamesSubregistryId, getEthnamesSubregistryManagedName, getLatestIndexedBlockRef, getLineanamesSubregistryId, getLineanamesSubregistryManagedName, getNFTTransferType, getNameHierarchy, getNameTokenOwnership, getNameWrapperAccounts, getOmnichainIndexingCursor, getOmnichainIndexingStatus, getParentNameFQDN, getResolvePrimaryNameChainIdParam, getTimestampForHighestOmnichainKnownBlock, getTimestampForLowestOmnichainStartBlock, hasNullByte, interpretAddress, interpretAddressRecordValue, interpretNameRecordValue, interpretTextRecordKey, interpretTextRecordValue, interpretTokenIdAsLabelHash, interpretTokenIdAsNode, interpretedLabelsToInterpretedName, interpretedLabelsToLabelHashPath, interpretedNameToInterpretedLabels, isENSv1Registry, isENSv2RootRegistry, isEncodedLabelHash, isHttpProtocol, isInterpetedLabel, isInterpretedName, isLabelHash, isNormalizedLabel, isNormalizedName, isPccFuseSet, isPriceCurrencyEqual, isPriceEqual, isRegistrarActionPricingAvailable, isRegistrarActionReferralAvailable, isRegistrationExpired, isRegistrationFullyExpired, isRegistrationInGracePeriod, isResolvedIdentity, isSelectionEmpty, isSubgraphCompatible, isWebSocketProtocol, labelHashToBytes, labelhashLiteralLabel, literalLabelToInterpretedLabel, literalLabelsToInterpretedName, literalLabelsToLiteralName, makeContractMatcher, makeENSApiPublicConfigSchema, makeENSv1DomainId, makeENSv2DomainId, makeLatestRegistrationId, makeLatestRenewalId, makePermissionsId, makePermissionsResourceId, makePermissionsUserId, makeRegistrationId, makeRegistryId, makeRenewalId, makeResolverId, makeResolverRecordsId, makeSubdomainNode, maybeGetDatasourceContract, nameTokensPrerequisites, parseAccountId, parseAssetId, parseDai, parseEth, parseNonNegativeInteger, parsePartialInterpretedName, parseReverseName, parseTimestamp, parseUsdc, priceDai, priceEth, priceUsdc, registrarActionsFilter, registrarActionsPrerequisites, reverseName, scaleBigintByNumber, scalePrice, serializeAssetId, serializeChainId, serializeChainIndexingSnapshots, serializeConfigResponse, serializeDatetime, serializeDomainAssetId, serializeENSApiPublicConfig, serializeENSIndexerPublicConfig, serializeIndexedChainIds, serializeIndexingStatusResponse, serializeNameToken, serializeNameTokensResponse, serializeNamedRegistrarAction, serializeOmnichainIndexingStatusSnapshot, serializePrice, serializePriceDai, serializePriceEth, serializePriceUsdc, serializeRealtimeIndexingStatusProjection, serializeRegisteredNameTokens, serializeRegistrarAction, serializeRegistrarActionPricing, serializeRegistrarActionsResponse, serializeUrl, sortChainStatusesByStartBlockAsc, stripNullBytes, translateDefaultableChainIdToChainId, uint256ToHex32, uniq, validateChainIndexingStatusSnapshot, validateCrossChainIndexingStatusSnapshot, validateOmnichainIndexingStatusSnapshot, validateRealtimeIndexingStatusProjection, validateSupportedLabelSetAndVersion };
|
|
5161
|
+
export { ADDR_REVERSE_NODE, ATTR_PROTOCOL_NAME, ATTR_PROTOCOL_STEP, ATTR_PROTOCOL_STEP_RESULT, type AcceleratableRequest, type AcceleratableResponse, type AccountId, type AccountIdString, type AssetId, type AssetIdString, type AssetNamespace, AssetNamespaces, BASENAMES_NODE, type BlockNumber, type BlockRef, type Blockrange, type Cache, type CachedResult, type CanonicalId, type CanonicalPath, type ChainId, type ChainIdString, type ChainIndexingConfig, type ChainIndexingConfigDefinite, type ChainIndexingConfigIndefinite, type ChainIndexingConfigTypeId, ChainIndexingConfigTypeIds, type ChainIndexingStatusId, ChainIndexingStatusIds, type ChainIndexingStatusSnapshot, type ChainIndexingStatusSnapshotBackfill, type ChainIndexingStatusSnapshotCompleted, type ChainIndexingStatusSnapshotFollowing, type ChainIndexingStatusSnapshotForOmnichainIndexingStatusSnapshotBackfill, type ChainIndexingStatusSnapshotQueued, ClientError, type ClientOptions, type ConfigResponse, type CrossChainIndexingStatusSnapshot, type CrossChainIndexingStatusSnapshotOmnichain, type CrossChainIndexingStrategyId, CrossChainIndexingStrategyIds, type CurrencyAmount, type CurrencyId, CurrencyIds, type CurrencyInfo, DEFAULT_ENSNODE_API_URL_MAINNET, DEFAULT_ENSNODE_API_URL_SEPOLIA, DEFAULT_EVM_CHAIN_ID, DEFAULT_EVM_COIN_TYPE, type DNSEncodedLiteralName, type DNSEncodedName, type DNSEncodedPartiallyInterpretedName, type Datetime, type DatetimeISO8601, type DeepPartial, type DefaultableChainId, type DomainAssetId, type DomainId, type Duration, ENCODED_REFERRER_BYTE_LENGTH, ENCODED_REFERRER_BYTE_OFFSET, type ENSApiPublicConfig, type ENSIndexerPublicConfig, type ENSIndexerVersionInfo, ENSNodeClient, ENS_ROOT, type ENSv1DomainId, type ENSv2DomainId, ETH_COIN_TYPE, ETH_NODE, EXPECTED_ENCODED_REFERRER_PADDING, type EncodedLabelHash, type EncodedReferrer, EnsApiClient, type EnsApiConfigResponse, type EnsApiIndexingStatusRequest, type EnsApiIndexingStatusResponse, type EnsApiIndexingStatusResponseCode, EnsApiIndexingStatusResponseCodes, type EnsApiIndexingStatusResponseError, type EnsApiIndexingStatusResponseOk, type EnsApiPublicConfig, type EnsIndexerPublicConfig, type EnsIndexerVersionInfo, type EnsRainbowClientLabelSet, type EnsRainbowServerLabelSet, type ErrorResponse, type ForwardResolutionArgs, ForwardResolutionProtocolStep, type ForwardResolutionResult, type Identity, type IndexingStatusRequest, type IndexingStatusResponse, type IndexingStatusResponseCode, IndexingStatusResponseCodes, type IndexingStatusResponseError, type IndexingStatusResponseOk, type InterpretedLabel, type InterpretedName, LINEANAMES_NODE, type Label, type LabelHash, type LabelHashPath, type LabelSetId, type LabelSetVersion, type LiteralLabel, type LiteralName, LruCache, type MultichainPrimaryNameResolutionArgs, type MultichainPrimaryNameResolutionResult, type NFTMintStatus, NFTMintStatuses, type NFTTransferEventMetadata, type NFTTransferType, NFTTransferTypes, NODE_ANY, type Name, type NameToken, type NameTokenOwnership, type NameTokenOwnershipBurned, type NameTokenOwnershipFullyOnchain, type NameTokenOwnershipNameWrapper, type NameTokenOwnershipType, NameTokenOwnershipTypes, type NameTokenOwnershipUnknown, type NameTokensRequest, type NameTokensResponse, type NameTokensResponseCode, NameTokensResponseCodes, type NameTokensResponseError, type NameTokensResponseErrorCode, NameTokensResponseErrorCodes, type NameTokensResponseErrorEnsIndexerConfigUnsupported, type NameTokensResponseErrorIndexingStatusUnsupported, type NameTokensResponseErrorNameTokensNotIndexed, type NameTokensResponseOk, type NamedIdentity, type NamedRegistrarAction, type Node, type NormalizedName, type OmnichainIndexingStatusId, OmnichainIndexingStatusIds, type OmnichainIndexingStatusSnapshot, type OmnichainIndexingStatusSnapshotBackfill, type OmnichainIndexingStatusSnapshotCompleted, type OmnichainIndexingStatusSnapshotFollowing, type OmnichainIndexingStatusSnapshotUnstarted, PROTOCOL_ATTRIBUTE_PREFIX, type PermissionsId, type PermissionsResourceId, type PermissionsUserId, PluginName, type Price, type PriceDai, type PriceEth, type PriceUsdc, RECORDS_PER_PAGE_DEFAULT, RECORDS_PER_PAGE_MAX, ROOT_NODE, ROOT_RESOURCE, type RealtimeIndexingStatusProjection, type RegisteredNameTokens, type RegistrarAction, type RegistrarActionEventId, type RegistrarActionPricing, type RegistrarActionPricingAvailable, type RegistrarActionPricingUnknown, type RegistrarActionReferral, type RegistrarActionReferralAvailable, type RegistrarActionReferralNotApplicable, type RegistrarActionType, RegistrarActionTypes, type RegistrarActionsFilter, type RegistrarActionsFilterBeginTimestamp, type RegistrarActionsFilterByDecodedReferrer, type RegistrarActionsFilterBySubregistryNode, type RegistrarActionsFilterEndTimestamp, type RegistrarActionsFilterType, RegistrarActionsFilterTypes, type RegistrarActionsFilterWithEncodedReferral, type RegistrarActionsOrder, RegistrarActionsOrders, type RegistrarActionsRequest, type RegistrarActionsResponse, type RegistrarActionsResponseCode, RegistrarActionsResponseCodes, type RegistrarActionsResponseError, type RegistrarActionsResponseOk, type RegistrationExpiryInfo, type RegistrationId, type RegistrationLifecycle, type RegistrationLifecycleStage, type RegistryId, type RenewalId, type RequestPageParams, type RequiredAndNotNull, type ResolutionStatusId, ResolutionStatusIds, type ResolvePrimaryNameRequest, type ResolvePrimaryNameResponse, type ResolvePrimaryNamesRequest, type ResolvePrimaryNamesResponse, type ResolveRecordsRequest, type ResolveRecordsResponse, type ResolvedIdentity, type ResolverId, type ResolverRecordsId, type ResolverRecordsResponse, type ResolverRecordsResponseBase, type ResolverRecordsSelection, type ResponsePageContext, type ResponsePageContextWithNoRecords, type ResponsePageContextWithRecords, type ReverseResolutionArgs, ReverseResolutionProtocolStep, type ReverseResolutionResult, type RpcUrl, SWRCache, type SWRCacheOptions, type SerializedAssetId, type SerializedChainIndexingStatusSnapshot, type SerializedChainIndexingStatusSnapshotBackfill, type SerializedChainIndexingStatusSnapshotCompleted, type SerializedChainIndexingStatusSnapshotFollowing, type SerializedChainIndexingStatusSnapshotQueued, type SerializedConfigResponse, type SerializedCurrencyAmount, type SerializedCurrentIndexingProjectionOmnichain, type SerializedDomainAssetId, type SerializedENSApiPublicConfig, type SerializedENSIndexerPublicConfig, type SerializedENSIndexerVersionInfo, type SerializedEnsApiConfigResponse, type SerializedEnsApiIndexingStatusResponse, type SerializedEnsApiIndexingStatusResponseError, type SerializedEnsApiIndexingStatusResponseOk, type SerializedEnsApiPublicConfig, type SerializedEnsIndexerPublicConfig, type SerializedEnsIndexerVersionInfo, type SerializedIndexedChainIds, type SerializedIndexingStatusResponse, type SerializedIndexingStatusResponseError, type SerializedIndexingStatusResponseOk, type SerializedNameToken, type SerializedNameTokensResponse, type SerializedNameTokensResponseError, type SerializedNameTokensResponseOk, type SerializedNamedRegistrarAction, type SerializedOmnichainIndexingStatusSnapshot, type SerializedOmnichainIndexingStatusSnapshotBackfill, type SerializedOmnichainIndexingStatusSnapshotCompleted, type SerializedOmnichainIndexingStatusSnapshotFollowing, type SerializedOmnichainIndexingStatusSnapshotUnstarted, type SerializedPrice, type SerializedPriceDai, type SerializedPriceEth, type SerializedPriceUsdc, type SerializedRealtimeIndexingStatusProjection, type SerializedRegisteredNameTokens, type SerializedRegistrarAction, type SerializedRegistrarActionPricing, type SerializedRegistrarActionPricingAvailable, type SerializedRegistrarActionPricingUnknown, type SerializedRegistrarActionsResponse, type SerializedRegistrarActionsResponseError, type SerializedRegistrarActionsResponseOk, type SerializedTokenId, type SubgraphInterpretedLabel, type SubgraphInterpretedName, type Subregistry, type TheGraphCannotFallbackReason, TheGraphCannotFallbackReasonSchema, type TheGraphFallback, TheGraphFallbackSchema, type TokenId, TraceableENSProtocol, type TraceableRequest, type TraceableResponse, type TracingNode, type TracingSpan, type TracingTrace, TtlCache, type UnixTimestamp, type UnknownIdentity, type UnnamedIdentity, type UnresolvedIdentity, type Unvalidated, type UrlString, ZERO_ENCODED_REFERRER, accountIdEqual, addDuration, addPrices, addrReverseLabel, asLowerCaseAddress, beautifyName, bigIntToNumber, bigintToCoinType, buildAssetId, buildEncodedReferrer, buildEnsRainbowClientLabelSet, buildLabelSetId, buildLabelSetVersion, buildPageContext, buildUnresolvedIdentity, buildUnvalidatedCrossChainIndexingStatusSnapshot, buildUnvalidatedOmnichainIndexingStatusSnapshot, buildUnvalidatedRealtimeIndexingStatusProjection, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotBackfill, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotCompleted, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotFollowing, checkChainIndexingStatusSnapshotsForOmnichainStatusSnapshotUnstarted, coinTypeReverseLabel, coinTypeToEvmChainId, constructSubInterpretedName, createIndexingConfig, createRealtimeIndexingStatusProjection, decodeDNSEncodedLiteralName, decodeDNSEncodedName, decodeEncodedReferrer, deserializeAssetId, deserializeBlockNumber, deserializeBlockRef, deserializeBlockrange, deserializeChainId, deserializeChainIndexingStatusSnapshot, deserializeConfigResponse, deserializeCrossChainIndexingStatusSnapshot, deserializeDatetime, deserializeDuration, deserializeENSApiPublicConfig, deserializeENSIndexerPublicConfig, deserializeEnsApiConfigResponse, deserializeEnsApiIndexingStatusResponse, deserializeEnsApiPublicConfig, deserializeEnsIndexerPublicConfig, deserializeErrorResponse, deserializeIndexingStatusResponse, deserializeOmnichainIndexingStatusSnapshot, deserializePriceDai, deserializePriceEth, deserializePriceUsdc, deserializeRealtimeIndexingStatusProjection, deserializeRegistrarActionsResponse, deserializeUnixTimestamp, deserializeUrl, deserializedNameTokensResponse, durationBetween, encodeLabelHash, encodedLabelToLabelhash, ensureInterpretedLabel, evmChainIdToCoinType, formatAccountId, formatAssetId, formatNFTTransferEventMetadata, getBasenamesSubregistryId, getBasenamesSubregistryManagedName, getCanonicalId, getCurrencyInfo, getDatasourceContract, getDefaultEnsNodeUrl, getENSv1Registry, getENSv2RootRegistry, getENSv2RootRegistryId, getEthnamesSubregistryId, getEthnamesSubregistryManagedName, getLatestIndexedBlockRef, getLineanamesSubregistryId, getLineanamesSubregistryManagedName, getNFTTransferType, getNameHierarchy, getNameTokenOwnership, getNameWrapperAccounts, getOmnichainIndexingCursor, getOmnichainIndexingStatus, getParentNameFQDN, getResolvePrimaryNameChainIdParam, getTimestampForHighestOmnichainKnownBlock, getTimestampForLowestOmnichainStartBlock, hasNullByte, interpretAddress, interpretAddressRecordValue, interpretNameRecordValue, interpretTextRecordKey, interpretTextRecordValue, interpretTokenIdAsLabelHash, interpretTokenIdAsNode, interpretedLabelsToInterpretedName, interpretedLabelsToLabelHashPath, interpretedNameToInterpretedLabels, isENSv1Registry, isENSv2RootRegistry, isEncodedLabelHash, isHttpProtocol, isInterpetedLabel, isInterpretedName, isLabelHash, isNormalizedLabel, isNormalizedName, isPccFuseSet, isPriceCurrencyEqual, isPriceEqual, isRegistrarActionPricingAvailable, isRegistrarActionReferralAvailable, isRegistrationExpired, isRegistrationFullyExpired, isRegistrationInGracePeriod, isResolvedIdentity, isSelectionEmpty, isSubgraphCompatible, isWebSocketProtocol, labelHashToBytes, labelhashLiteralLabel, literalLabelToInterpretedLabel, literalLabelsToInterpretedName, literalLabelsToLiteralName, makeContractMatcher, makeENSApiPublicConfigSchema, makeENSv1DomainId, makeENSv2DomainId, makeEnsApiPublicConfigSchema, makeLatestRegistrationId, makeLatestRenewalId, makePermissionsId, makePermissionsResourceId, makePermissionsUserId, makeRegistrationId, makeRegistryId, makeRenewalId, makeResolverId, makeResolverRecordsId, makeSubdomainNode, maybeGetDatasourceContract, nameTokensPrerequisites, parseAccountId, parseAssetId, parseDai, parseEth, parseNonNegativeInteger, parsePartialInterpretedName, parseReverseName, parseTimestamp, parseUsdc, priceDai, priceEth, priceUsdc, registrarActionsFilter, registrarActionsPrerequisites, reverseName, scaleBigintByNumber, scalePrice, serializeAssetId, serializeChainId, serializeChainIndexingSnapshots, serializeConfigResponse, serializeDatetime, serializeDomainAssetId, serializeENSApiPublicConfig, serializeENSIndexerPublicConfig, serializeEnsApiConfigResponse, serializeEnsApiIndexingStatusResponse, serializeEnsApiPublicConfig, serializeEnsIndexerPublicConfig, serializeIndexedChainIds, serializeIndexingStatusResponse, serializeNameToken, serializeNameTokensResponse, serializeNamedRegistrarAction, serializeOmnichainIndexingStatusSnapshot, serializePrice, serializePriceDai, serializePriceEth, serializePriceUsdc, serializeRealtimeIndexingStatusProjection, serializeRegisteredNameTokens, serializeRegistrarAction, serializeRegistrarActionPricing, serializeRegistrarActionsResponse, serializeUrl, sortChainStatusesByStartBlockAsc, stripNullBytes, translateDefaultableChainIdToChainId, uint256ToHex32, uniq, validateChainIndexingStatusSnapshot, validateCrossChainIndexingStatusSnapshot, validateOmnichainIndexingStatusSnapshot, validateRealtimeIndexingStatusProjection, validateSupportedLabelSetAndVersion };
|