@iota/graphql-transport 0.5.0 → 0.5.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @iota/graphql-transport
2
2
 
3
+ ## 0.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [acc502a]
8
+ - Updated dependencies [1128809]
9
+ - @iota/iota-sdk@1.1.0
10
+
11
+ ## 0.5.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [26cf13b]
16
+ - @iota/iota-sdk@1.0.1
17
+
3
18
  ## 0.5.0
4
19
 
5
20
  ### Minor Changes
@@ -232,6 +232,16 @@ export type Address = IOwner & {
232
232
  * `0x2::iota::IOTA`.
233
233
  */
234
234
  coins: CoinConnection;
235
+ /**
236
+ * The domain explicitly configured as the default domain pointing to this
237
+ * address.
238
+ */
239
+ iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
240
+ /**
241
+ * The IotaNamesRegistration NFTs owned by this address. These grant the
242
+ * owner the capability to manage the associated domain.
243
+ */
244
+ iotaNamesRegistrations: IotaNamesRegistrationConnection;
235
245
  /** Objects owned by this address, optionally `filter`-ed. */
236
246
  objects: MoveObjectConnection;
237
247
  /** The `0x3::staking_pool::StakedIota` objects owned by this address. */
@@ -295,6 +305,23 @@ export type AddressCoinsArgs = {
295
305
  last?: InputMaybe<Scalars['Int']['input']>;
296
306
  type?: InputMaybe<Scalars['String']['input']>;
297
307
  };
308
+ /**
309
+ * The 32-byte address that is an account address (corresponding to a public
310
+ * key).
311
+ */
312
+ export type AddressIotaNamesDefaultNameArgs = {
313
+ format?: InputMaybe<DomainFormat>;
314
+ };
315
+ /**
316
+ * The 32-byte address that is an account address (corresponding to a public
317
+ * key).
318
+ */
319
+ export type AddressIotaNamesRegistrationsArgs = {
320
+ after?: InputMaybe<Scalars['String']['input']>;
321
+ before?: InputMaybe<Scalars['String']['input']>;
322
+ first?: InputMaybe<Scalars['Int']['input']>;
323
+ last?: InputMaybe<Scalars['Int']['input']>;
324
+ };
298
325
  /**
299
326
  * The 32-byte address that is an account address (corresponding to a public
300
327
  * key).
@@ -761,6 +788,16 @@ export type Coin = IMoveObject & IObject & IOwner & {
761
788
  * under the Owner type.
762
789
  */
763
790
  dynamicObjectField?: Maybe<DynamicField>;
791
+ /**
792
+ * The domain explicitly configured as the default domain pointing to this
793
+ * object.
794
+ */
795
+ iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
796
+ /**
797
+ * The IotaNamesRegistration NFTs owned by this object. These grant the
798
+ * owner the capability to manage the associated domain.
799
+ */
800
+ iotaNamesRegistrations: IotaNamesRegistrationConnection;
764
801
  /** Objects owned by this object, optionally `filter`-ed. */
765
802
  objects: MoveObjectConnection;
766
803
  /** The owner type of this object: Immutable, Shared, Parent, Address */
@@ -852,6 +889,17 @@ export type CoinDynamicObjectFieldArgs = {
852
889
  name: DynamicFieldName;
853
890
  };
854
891
  /** Some 0x2::coin::Coin Move object. */
892
+ export type CoinIotaNamesDefaultNameArgs = {
893
+ format?: InputMaybe<DomainFormat>;
894
+ };
895
+ /** Some 0x2::coin::Coin Move object. */
896
+ export type CoinIotaNamesRegistrationsArgs = {
897
+ after?: InputMaybe<Scalars['String']['input']>;
898
+ before?: InputMaybe<Scalars['String']['input']>;
899
+ first?: InputMaybe<Scalars['Int']['input']>;
900
+ last?: InputMaybe<Scalars['Int']['input']>;
901
+ };
902
+ /** Some 0x2::coin::Coin Move object. */
855
903
  export type CoinObjectsArgs = {
856
904
  after?: InputMaybe<Scalars['String']['input']>;
857
905
  before?: InputMaybe<Scalars['String']['input']>;
@@ -961,6 +1009,16 @@ export type CoinMetadata = IMoveObject & IObject & IOwner & {
961
1009
  */
962
1010
  dynamicObjectField?: Maybe<DynamicField>;
963
1011
  iconUrl?: Maybe<Scalars['String']['output']>;
1012
+ /**
1013
+ * The domain explicitly configured as the default domain pointing to this
1014
+ * object.
1015
+ */
1016
+ iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
1017
+ /**
1018
+ * The IotaNamesRegistration NFTs owned by this object. These grant the
1019
+ * owner the capability to manage the associated domain.
1020
+ */
1021
+ iotaNamesRegistrations: IotaNamesRegistrationConnection;
964
1022
  /** Full, official name of the token. */
965
1023
  name?: Maybe<Scalars['String']['output']>;
966
1024
  /** Objects owned by this object, optionally `filter`-ed. */
@@ -1058,6 +1116,17 @@ export type CoinMetadataDynamicObjectFieldArgs = {
1058
1116
  name: DynamicFieldName;
1059
1117
  };
1060
1118
  /** The metadata for a coin type. */
1119
+ export type CoinMetadataIotaNamesDefaultNameArgs = {
1120
+ format?: InputMaybe<DomainFormat>;
1121
+ };
1122
+ /** The metadata for a coin type. */
1123
+ export type CoinMetadataIotaNamesRegistrationsArgs = {
1124
+ after?: InputMaybe<Scalars['String']['input']>;
1125
+ before?: InputMaybe<Scalars['String']['input']>;
1126
+ first?: InputMaybe<Scalars['Int']['input']>;
1127
+ last?: InputMaybe<Scalars['Int']['input']>;
1128
+ };
1129
+ /** The metadata for a coin type. */
1061
1130
  export type CoinMetadataObjectsArgs = {
1062
1131
  after?: InputMaybe<Scalars['String']['input']>;
1063
1132
  before?: InputMaybe<Scalars['String']['input']>;
@@ -1128,6 +1197,10 @@ export type DisplayEntry = {
1128
1197
  /** The template string for the key with placeholder values substituted. */
1129
1198
  value?: Maybe<Scalars['String']['output']>;
1130
1199
  };
1200
+ export declare enum DomainFormat {
1201
+ At = "AT",
1202
+ Dot = "DOT"
1203
+ }
1131
1204
  export type DryRunEffect = {
1132
1205
  __typename?: 'DryRunEffect';
1133
1206
  /**
@@ -1759,6 +1832,10 @@ export type IOwner = {
1759
1832
  * `type` is a filter on the coin's type parameter, defaulting to `0x2::iota::IOTA`.
1760
1833
  */
1761
1834
  coins: CoinConnection;
1835
+ /** The domain explicitly configured as the default domain pointing to this object or address. */
1836
+ iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
1837
+ /** The IotaNamesRegistration NFTs owned by this object or address. These grant the owner the capability to manage the associated domain. */
1838
+ iotaNamesRegistrations: IotaNamesRegistrationConnection;
1762
1839
  /** Objects owned by this object or address, optionally `filter`-ed. */
1763
1840
  objects: MoveObjectConnection;
1764
1841
  /** The `0x3::staking_pool::StakedIota` objects owned by this object or address. */
@@ -1801,6 +1878,29 @@ export type IOwnerCoinsArgs = {
1801
1878
  last?: InputMaybe<Scalars['Int']['input']>;
1802
1879
  type?: InputMaybe<Scalars['String']['input']>;
1803
1880
  };
1881
+ /**
1882
+ * Interface implemented by GraphQL types representing entities that can own
1883
+ * objects. Object owners are identified by an address which can represent
1884
+ * either the public key of an account or another object. The same address can
1885
+ * only refer to an account or an object, never both, but it is not possible to
1886
+ * know which up-front.
1887
+ */
1888
+ export type IOwnerIotaNamesDefaultNameArgs = {
1889
+ format?: InputMaybe<DomainFormat>;
1890
+ };
1891
+ /**
1892
+ * Interface implemented by GraphQL types representing entities that can own
1893
+ * objects. Object owners are identified by an address which can represent
1894
+ * either the public key of an account or another object. The same address can
1895
+ * only refer to an account or an object, never both, but it is not possible to
1896
+ * know which up-front.
1897
+ */
1898
+ export type IOwnerIotaNamesRegistrationsArgs = {
1899
+ after?: InputMaybe<Scalars['String']['input']>;
1900
+ before?: InputMaybe<Scalars['String']['input']>;
1901
+ first?: InputMaybe<Scalars['Int']['input']>;
1902
+ last?: InputMaybe<Scalars['Int']['input']>;
1903
+ };
1804
1904
  /**
1805
1905
  * Interface implemented by GraphQL types representing entities that can own
1806
1906
  * objects. Object owners are identified by an address which can represent
@@ -1845,6 +1945,219 @@ export type Input = {
1845
1945
  /** Index of the programmable transaction block input (0-indexed). */
1846
1946
  ix: Scalars['Int']['output'];
1847
1947
  };
1948
+ export type IotaNamesRegistration = IMoveObject & IOwner & {
1949
+ __typename?: 'IotaNamesRegistration';
1950
+ address: Scalars['IotaAddress']['output'];
1951
+ /**
1952
+ * Total balance of all coins with marker type owned by this object. If
1953
+ * type is not supplied, it defaults to `0x2::iota::IOTA`.
1954
+ */
1955
+ balance?: Maybe<Balance>;
1956
+ /** The balances of all coin types owned by this object. */
1957
+ balances: BalanceConnection;
1958
+ /** The Base64-encoded BCS serialization of the object's content. */
1959
+ bcs?: Maybe<Scalars['Base64']['output']>;
1960
+ /**
1961
+ * The coin objects for this object.
1962
+ *
1963
+ * `type` is a filter on the coin's type parameter, defaulting to
1964
+ * `0x2::iota::IOTA`.
1965
+ */
1966
+ coins: CoinConnection;
1967
+ /**
1968
+ * Displays the contents of the Move object in a JSON string and through
1969
+ * GraphQL types. Also provides the flat representation of the type
1970
+ * signature, and the BCS of the corresponding data.
1971
+ */
1972
+ contents?: Maybe<MoveValue>;
1973
+ /**
1974
+ * 32-byte hash that identifies the object's contents, encoded as a Base58
1975
+ * string.
1976
+ */
1977
+ digest?: Maybe<Scalars['String']['output']>;
1978
+ /**
1979
+ * The set of named templates defined on-chain for the type of this object,
1980
+ * to be handled off-chain. The server substitutes data from the object
1981
+ * into these templates to generate a display string per template.
1982
+ */
1983
+ display?: Maybe<Array<DisplayEntry>>;
1984
+ /** Domain name of the IotaNamesRegistration object */
1985
+ domain: Scalars['String']['output'];
1986
+ /**
1987
+ * Access a dynamic field on an object using its name. Names are arbitrary
1988
+ * Move values whose type have `copy`, `drop`, and `store`, and are
1989
+ * specified using their type, and their BCS contents, Base64 encoded.
1990
+ *
1991
+ * Dynamic fields on wrapped objects can be accessed by using the same API
1992
+ * under the Owner type.
1993
+ */
1994
+ dynamicField?: Maybe<DynamicField>;
1995
+ /**
1996
+ * The dynamic fields and dynamic object fields on an object.
1997
+ *
1998
+ * Dynamic fields on wrapped objects can be accessed by using the same API
1999
+ * under the Owner type.
2000
+ */
2001
+ dynamicFields: DynamicFieldConnection;
2002
+ /**
2003
+ * Access a dynamic object field on an object using its name. Names are
2004
+ * arbitrary Move values whose type have `copy`, `drop`, and `store`,
2005
+ * and are specified using their type, and their BCS contents, Base64
2006
+ * encoded. The value of a dynamic object field can also be accessed
2007
+ * off-chain directly via its address (e.g. using `Query.object`).
2008
+ *
2009
+ * Dynamic fields on wrapped objects can be accessed by using the same API
2010
+ * under the Owner type.
2011
+ */
2012
+ dynamicObjectField?: Maybe<DynamicField>;
2013
+ /**
2014
+ * Determines whether a transaction can transfer this object, using the
2015
+ * TransferObjects transaction command or
2016
+ * `iota::transfer::public_transfer`, both of which require the object to
2017
+ * have the `key` and `store` abilities.
2018
+ */
2019
+ hasPublicTransfer: Scalars['Boolean']['output'];
2020
+ /**
2021
+ * The domain explicitly configured as the default domain pointing to this
2022
+ * object.
2023
+ */
2024
+ iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
2025
+ /**
2026
+ * The IotaNamesRegistration NFTs owned by this object. These grant the
2027
+ * owner the capability to manage the associated domain.
2028
+ */
2029
+ iotaNamesRegistrations: IotaNamesRegistrationConnection;
2030
+ /** Objects owned by this object, optionally `filter`-ed. */
2031
+ objects: MoveObjectConnection;
2032
+ /** The owner type of this object: Immutable, Shared, Parent, Address */
2033
+ owner?: Maybe<ObjectOwner>;
2034
+ /** The transaction block that created this version of the object. */
2035
+ previousTransactionBlock?: Maybe<TransactionBlock>;
2036
+ /**
2037
+ * The transaction blocks that sent objects to this object.
2038
+ *
2039
+ * `scanLimit` restricts the number of candidate transactions scanned when
2040
+ * gathering a page of results. It is required for queries that apply
2041
+ * more than two complex filters (on function, kind, sender, recipient,
2042
+ * input object, changed object, or ids), and can be at most
2043
+ * `serviceConfig.maxScanLimit`.
2044
+ *
2045
+ * When the scan limit is reached the page will be returned even if it has
2046
+ * fewer than `first` results when paginating forward (`last` when
2047
+ * paginating backwards). If there are more transactions to scan,
2048
+ * `pageInfo.hasNextPage` (or `pageInfo.hasPreviousPage`) will be set to
2049
+ * `true`, and `PageInfo.endCursor` (or `PageInfo.startCursor`) will be set
2050
+ * to the last transaction that was scanned as opposed to the last (or
2051
+ * first) transaction in the page.
2052
+ *
2053
+ * Requesting the next (or previous) page after this cursor will resume the
2054
+ * search, scanning the next `scanLimit` many transactions in the
2055
+ * direction of pagination, and so on until all transactions in the
2056
+ * scanning range have been visited.
2057
+ *
2058
+ * By default, the scanning range includes all transactions known to
2059
+ * GraphQL, but it can be restricted by the `after` and `before`
2060
+ * cursors, and the `beforeCheckpoint`, `afterCheckpoint` and
2061
+ * `atCheckpoint` filters.
2062
+ */
2063
+ receivedTransactionBlocks: TransactionBlockConnection;
2064
+ /** The `0x3::staking_pool::StakedIota` objects owned by this object. */
2065
+ stakedIotas: StakedIotaConnection;
2066
+ /**
2067
+ * The current status of the object as read from the off-chain store. The
2068
+ * possible states are: NOT_INDEXED, the object is loaded from
2069
+ * serialized data, such as the contents of a genesis or system package
2070
+ * upgrade transaction. LIVE, the version returned is the most recent for
2071
+ * the object, and it is not deleted or wrapped at that version.
2072
+ * HISTORICAL, the object was referenced at a specific version or
2073
+ * checkpoint, so is fetched from historical tables and may not be the
2074
+ * latest version of the object. WRAPPED_OR_DELETED, the object is deleted
2075
+ * or wrapped and only partial information can be loaded."
2076
+ */
2077
+ status: ObjectKind;
2078
+ /**
2079
+ * The amount of IOTA we would rebate if this object gets deleted or
2080
+ * mutated. This number is recalculated based on the present storage
2081
+ * gas price.
2082
+ */
2083
+ storageRebate?: Maybe<Scalars['BigInt']['output']>;
2084
+ version: Scalars['UInt53']['output'];
2085
+ };
2086
+ export type IotaNamesRegistrationBalanceArgs = {
2087
+ type?: InputMaybe<Scalars['String']['input']>;
2088
+ };
2089
+ export type IotaNamesRegistrationBalancesArgs = {
2090
+ after?: InputMaybe<Scalars['String']['input']>;
2091
+ before?: InputMaybe<Scalars['String']['input']>;
2092
+ first?: InputMaybe<Scalars['Int']['input']>;
2093
+ last?: InputMaybe<Scalars['Int']['input']>;
2094
+ };
2095
+ export type IotaNamesRegistrationCoinsArgs = {
2096
+ after?: InputMaybe<Scalars['String']['input']>;
2097
+ before?: InputMaybe<Scalars['String']['input']>;
2098
+ first?: InputMaybe<Scalars['Int']['input']>;
2099
+ last?: InputMaybe<Scalars['Int']['input']>;
2100
+ type?: InputMaybe<Scalars['String']['input']>;
2101
+ };
2102
+ export type IotaNamesRegistrationDynamicFieldArgs = {
2103
+ name: DynamicFieldName;
2104
+ };
2105
+ export type IotaNamesRegistrationDynamicFieldsArgs = {
2106
+ after?: InputMaybe<Scalars['String']['input']>;
2107
+ before?: InputMaybe<Scalars['String']['input']>;
2108
+ first?: InputMaybe<Scalars['Int']['input']>;
2109
+ last?: InputMaybe<Scalars['Int']['input']>;
2110
+ };
2111
+ export type IotaNamesRegistrationDynamicObjectFieldArgs = {
2112
+ name: DynamicFieldName;
2113
+ };
2114
+ export type IotaNamesRegistrationIotaNamesDefaultNameArgs = {
2115
+ format?: InputMaybe<DomainFormat>;
2116
+ };
2117
+ export type IotaNamesRegistrationIotaNamesRegistrationsArgs = {
2118
+ after?: InputMaybe<Scalars['String']['input']>;
2119
+ before?: InputMaybe<Scalars['String']['input']>;
2120
+ first?: InputMaybe<Scalars['Int']['input']>;
2121
+ last?: InputMaybe<Scalars['Int']['input']>;
2122
+ };
2123
+ export type IotaNamesRegistrationObjectsArgs = {
2124
+ after?: InputMaybe<Scalars['String']['input']>;
2125
+ before?: InputMaybe<Scalars['String']['input']>;
2126
+ filter?: InputMaybe<ObjectFilter>;
2127
+ first?: InputMaybe<Scalars['Int']['input']>;
2128
+ last?: InputMaybe<Scalars['Int']['input']>;
2129
+ };
2130
+ export type IotaNamesRegistrationReceivedTransactionBlocksArgs = {
2131
+ after?: InputMaybe<Scalars['String']['input']>;
2132
+ before?: InputMaybe<Scalars['String']['input']>;
2133
+ filter?: InputMaybe<TransactionBlockFilter>;
2134
+ first?: InputMaybe<Scalars['Int']['input']>;
2135
+ last?: InputMaybe<Scalars['Int']['input']>;
2136
+ scanLimit?: InputMaybe<Scalars['Int']['input']>;
2137
+ };
2138
+ export type IotaNamesRegistrationStakedIotasArgs = {
2139
+ after?: InputMaybe<Scalars['String']['input']>;
2140
+ before?: InputMaybe<Scalars['String']['input']>;
2141
+ first?: InputMaybe<Scalars['Int']['input']>;
2142
+ last?: InputMaybe<Scalars['Int']['input']>;
2143
+ };
2144
+ export type IotaNamesRegistrationConnection = {
2145
+ __typename?: 'IotaNamesRegistrationConnection';
2146
+ /** A list of edges. */
2147
+ edges: Array<IotaNamesRegistrationEdge>;
2148
+ /** A list of nodes. */
2149
+ nodes: Array<IotaNamesRegistration>;
2150
+ /** Information to aid in pagination. */
2151
+ pageInfo: PageInfo;
2152
+ };
2153
+ /** An edge in a connection. */
2154
+ export type IotaNamesRegistrationEdge = {
2155
+ __typename?: 'IotaNamesRegistrationEdge';
2156
+ /** A cursor for use in pagination */
2157
+ cursor: Scalars['String']['output'];
2158
+ /** The item at the end of the edge */
2159
+ node: IotaNamesRegistration;
2160
+ };
1848
2161
  /**
1849
2162
  * Information used by a package to link to a specific version of its
1850
2163
  * dependency.
@@ -2199,6 +2512,7 @@ export type MoveObject = IMoveObject & IObject & IOwner & {
2199
2512
  asCoin?: Maybe<Coin>;
2200
2513
  /** Attempts to convert the Move object into a `0x2::coin::CoinMetadata`. */
2201
2514
  asCoinMetadata?: Maybe<CoinMetadata>;
2515
+ asIotaNamesRegistration?: Maybe<IotaNamesRegistration>;
2202
2516
  /**
2203
2517
  * Attempts to convert the Move object into a
2204
2518
  * `0x3::staking_pool::StakedIota`.
@@ -2264,6 +2578,16 @@ export type MoveObject = IMoveObject & IObject & IOwner & {
2264
2578
  * under the Owner type.
2265
2579
  */
2266
2580
  dynamicObjectField?: Maybe<DynamicField>;
2581
+ /**
2582
+ * The domain explicitly configured as the default domain pointing to this
2583
+ * object.
2584
+ */
2585
+ iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
2586
+ /**
2587
+ * The IotaNamesRegistration NFTs owned by this object. These grant the
2588
+ * owner the capability to manage the associated domain.
2589
+ */
2590
+ iotaNamesRegistrations: IotaNamesRegistrationConnection;
2267
2591
  /** Objects owned by this object, optionally `filter`-ed. */
2268
2592
  objects: MoveObjectConnection;
2269
2593
  /** The owner type of this object: Immutable, Shared, Parent, Address */
@@ -2378,6 +2702,25 @@ export type MoveObjectDynamicFieldsArgs = {
2378
2702
  export type MoveObjectDynamicObjectFieldArgs = {
2379
2703
  name: DynamicFieldName;
2380
2704
  };
2705
+ /**
2706
+ * The representation of an object as a Move Object, which exposes additional
2707
+ * information (content, module that governs it, version, is transferrable,
2708
+ * etc.) about this object.
2709
+ */
2710
+ export type MoveObjectIotaNamesDefaultNameArgs = {
2711
+ format?: InputMaybe<DomainFormat>;
2712
+ };
2713
+ /**
2714
+ * The representation of an object as a Move Object, which exposes additional
2715
+ * information (content, module that governs it, version, is transferrable,
2716
+ * etc.) about this object.
2717
+ */
2718
+ export type MoveObjectIotaNamesRegistrationsArgs = {
2719
+ after?: InputMaybe<Scalars['String']['input']>;
2720
+ before?: InputMaybe<Scalars['String']['input']>;
2721
+ first?: InputMaybe<Scalars['Int']['input']>;
2722
+ last?: InputMaybe<Scalars['Int']['input']>;
2723
+ };
2381
2724
  /**
2382
2725
  * The representation of an object as a Move Object, which exposes additional
2383
2726
  * information (content, module that governs it, version, is transferrable,
@@ -2471,6 +2814,19 @@ export type MovePackage = IObject & IOwner & {
2471
2814
  * string.
2472
2815
  */
2473
2816
  digest?: Maybe<Scalars['String']['output']>;
2817
+ /**
2818
+ * The domain explicitly configured as the default domain pointing to this
2819
+ * object.
2820
+ */
2821
+ iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
2822
+ /**
2823
+ * The IotaNamesRegistration NFTs owned by this package. These grant the
2824
+ * owner the capability to manage the associated domain.
2825
+ *
2826
+ * Note that objects owned by a package are inaccessible, because packages
2827
+ * are immutable and cannot be owned by an address.
2828
+ */
2829
+ iotaNamesRegistrations: IotaNamesRegistrationConnection;
2474
2830
  /**
2475
2831
  * Fetch the latest version of this package (the package with the highest
2476
2832
  * `version` that shares this packages's original ID)
@@ -2609,6 +2965,25 @@ export type MovePackageCoinsArgs = {
2609
2965
  last?: InputMaybe<Scalars['Int']['input']>;
2610
2966
  type?: InputMaybe<Scalars['String']['input']>;
2611
2967
  };
2968
+ /**
2969
+ * A MovePackage is a kind of Move object that represents code that has been
2970
+ * published on chain. It exposes information about its modules, type
2971
+ * definitions, functions, and dependencies.
2972
+ */
2973
+ export type MovePackageIotaNamesDefaultNameArgs = {
2974
+ format?: InputMaybe<DomainFormat>;
2975
+ };
2976
+ /**
2977
+ * A MovePackage is a kind of Move object that represents code that has been
2978
+ * published on chain. It exposes information about its modules, type
2979
+ * definitions, functions, and dependencies.
2980
+ */
2981
+ export type MovePackageIotaNamesRegistrationsArgs = {
2982
+ after?: InputMaybe<Scalars['String']['input']>;
2983
+ before?: InputMaybe<Scalars['String']['input']>;
2984
+ first?: InputMaybe<Scalars['Int']['input']>;
2985
+ last?: InputMaybe<Scalars['Int']['input']>;
2986
+ };
2612
2987
  /**
2613
2988
  * A MovePackage is a kind of Move object that represents code that has been
2614
2989
  * published on chain. It exposes information about its modules, type
@@ -2928,6 +3303,16 @@ export type Object = IObject & IOwner & {
2928
3303
  * under the Owner type.
2929
3304
  */
2930
3305
  dynamicObjectField?: Maybe<DynamicField>;
3306
+ /**
3307
+ * The domain explicitly configured as the default domain pointing to this
3308
+ * address.
3309
+ */
3310
+ iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
3311
+ /**
3312
+ * The IotaNamesRegistration NFTs owned by this address. These grant the
3313
+ * owner the capability to manage the associated domain.
3314
+ */
3315
+ iotaNamesRegistrations: IotaNamesRegistrationConnection;
2931
3316
  /** Objects owned by this object, optionally `filter`-ed. */
2932
3317
  objects: MoveObjectConnection;
2933
3318
  /**
@@ -3051,6 +3436,27 @@ export type ObjectDynamicFieldsArgs = {
3051
3436
  export type ObjectDynamicObjectFieldArgs = {
3052
3437
  name: DynamicFieldName;
3053
3438
  };
3439
+ /**
3440
+ * An object in IOTA is a package (set of Move bytecode modules) or object
3441
+ * (typed data structure with fields) with additional metadata detailing its
3442
+ * id, version, transaction digest, owner field indicating how this object can
3443
+ * be accessed.
3444
+ */
3445
+ export type ObjectIotaNamesDefaultNameArgs = {
3446
+ format?: InputMaybe<DomainFormat>;
3447
+ };
3448
+ /**
3449
+ * An object in IOTA is a package (set of Move bytecode modules) or object
3450
+ * (typed data structure with fields) with additional metadata detailing its
3451
+ * id, version, transaction digest, owner field indicating how this object can
3452
+ * be accessed.
3453
+ */
3454
+ export type ObjectIotaNamesRegistrationsArgs = {
3455
+ after?: InputMaybe<Scalars['String']['input']>;
3456
+ before?: InputMaybe<Scalars['String']['input']>;
3457
+ first?: InputMaybe<Scalars['Int']['input']>;
3458
+ last?: InputMaybe<Scalars['Int']['input']>;
3459
+ };
3054
3460
  /**
3055
3461
  * An object in IOTA is a package (set of Move bytecode modules) or object
3056
3462
  * (typed data structure with fields) with additional metadata detailing its
@@ -3277,6 +3683,16 @@ export type Owner = IOwner & {
3277
3683
  * wrapped object.
3278
3684
  */
3279
3685
  dynamicObjectField?: Maybe<DynamicField>;
3686
+ /**
3687
+ * The domain explicitly configured as the default domain pointing to this
3688
+ * object or address.
3689
+ */
3690
+ iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
3691
+ /**
3692
+ * The IotaNamesRegistration NFTs owned by this object or address. These
3693
+ * grant the owner the capability to manage the associated domain.
3694
+ */
3695
+ iotaNamesRegistrations: IotaNamesRegistrationConnection;
3280
3696
  /** Objects owned by this object or address, optionally `filter`-ed. */
3281
3697
  objects: MoveObjectConnection;
3282
3698
  /**
@@ -3349,6 +3765,27 @@ export type OwnerDynamicFieldsArgs = {
3349
3765
  export type OwnerDynamicObjectFieldArgs = {
3350
3766
  name: DynamicFieldName;
3351
3767
  };
3768
+ /**
3769
+ * An Owner is an entity that can own an object. Each Owner is identified by a
3770
+ * IotaAddress which represents either an Address (corresponding to a public
3771
+ * key of an account) or an Object, but never both (it is not known up-front
3772
+ * whether a given Owner is an Address or an Object).
3773
+ */
3774
+ export type OwnerIotaNamesDefaultNameArgs = {
3775
+ format?: InputMaybe<DomainFormat>;
3776
+ };
3777
+ /**
3778
+ * An Owner is an entity that can own an object. Each Owner is identified by a
3779
+ * IotaAddress which represents either an Address (corresponding to a public
3780
+ * key of an account) or an Object, but never both (it is not known up-front
3781
+ * whether a given Owner is an Address or an Object).
3782
+ */
3783
+ export type OwnerIotaNamesRegistrationsArgs = {
3784
+ after?: InputMaybe<Scalars['String']['input']>;
3785
+ before?: InputMaybe<Scalars['String']['input']>;
3786
+ first?: InputMaybe<Scalars['Int']['input']>;
3787
+ last?: InputMaybe<Scalars['Int']['input']>;
3788
+ };
3352
3789
  /**
3353
3790
  * An Owner is an entity that can own an object. Each Owner is identified by a
3354
3791
  * IotaAddress which represents either an Address (corresponding to a public
@@ -3662,6 +4099,11 @@ export type Query = {
3662
4099
  * protocol version known to the GraphQL service).
3663
4100
  */
3664
4101
  protocolConfig: ProtocolConfigs;
4102
+ /**
4103
+ * Resolves an IOTA-Names `domain` name to an address, if it has been
4104
+ * bound.
4105
+ */
4106
+ resolveIotaNamesAddress?: Maybe<Address>;
3665
4107
  /** Configuration for this RPC service */
3666
4108
  serviceConfig: ServiceConfig;
3667
4109
  /** Fetch a transaction block by its transaction digest. */
@@ -3794,6 +4236,9 @@ export type QueryPackagesArgs = {
3794
4236
  export type QueryProtocolConfigArgs = {
3795
4237
  protocolVersion?: InputMaybe<Scalars['UInt53']['input']>;
3796
4238
  };
4239
+ export type QueryResolveIotaNamesAddressArgs = {
4240
+ domain: Scalars['String']['input'];
4241
+ };
3797
4242
  export type QueryTransactionBlockArgs = {
3798
4243
  digest: Scalars['String']['input'];
3799
4244
  };
@@ -4134,6 +4579,16 @@ export type StakedIota = IMoveObject & IObject & IOwner & {
4134
4579
  * This value is only available if the stake is active.
4135
4580
  */
4136
4581
  estimatedReward?: Maybe<Scalars['BigInt']['output']>;
4582
+ /**
4583
+ * The domain explicitly configured as the default domain pointing to this
4584
+ * object.
4585
+ */
4586
+ iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
4587
+ /**
4588
+ * The IotaNamesRegistration NFTs owned by this object. These grant the
4589
+ * owner the capability to manage the associated domain.
4590
+ */
4591
+ iotaNamesRegistrations: IotaNamesRegistrationConnection;
4137
4592
  /** Objects owned by this object, optionally `filter`-ed. */
4138
4593
  objects: MoveObjectConnection;
4139
4594
  /** The owner type of this object: Immutable, Shared, Parent, Address */
@@ -4233,6 +4688,17 @@ export type StakedIotaDynamicObjectFieldArgs = {
4233
4688
  name: DynamicFieldName;
4234
4689
  };
4235
4690
  /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */
4691
+ export type StakedIotaIotaNamesDefaultNameArgs = {
4692
+ format?: InputMaybe<DomainFormat>;
4693
+ };
4694
+ /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */
4695
+ export type StakedIotaIotaNamesRegistrationsArgs = {
4696
+ after?: InputMaybe<Scalars['String']['input']>;
4697
+ before?: InputMaybe<Scalars['String']['input']>;
4698
+ first?: InputMaybe<Scalars['Int']['input']>;
4699
+ last?: InputMaybe<Scalars['Int']['input']>;
4700
+ };
4701
+ /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */
4236
4702
  export type StakedIotaObjectsArgs = {
4237
4703
  after?: InputMaybe<Scalars['String']['input']>;
4238
4704
  before?: InputMaybe<Scalars['String']['input']>;
@@ -20,6 +20,7 @@ var queries_exports = {};
20
20
  __export(queries_exports, {
21
21
  AddressTransactionBlockRelationship: () => AddressTransactionBlockRelationship,
22
22
  DevInspectTransactionBlockDocument: () => DevInspectTransactionBlockDocument,
23
+ DomainFormat: () => DomainFormat,
23
24
  DryRunTransactionBlockDocument: () => DryRunTransactionBlockDocument,
24
25
  ExecuteTransactionBlockDocument: () => ExecuteTransactionBlockDocument,
25
26
  ExecutionStatus: () => ExecutionStatus,
@@ -89,6 +90,11 @@ var AddressTransactionBlockRelationship = /* @__PURE__ */ ((AddressTransactionBl
89
90
  AddressTransactionBlockRelationship2["Sign"] = "SIGN";
90
91
  return AddressTransactionBlockRelationship2;
91
92
  })(AddressTransactionBlockRelationship || {});
93
+ var DomainFormat = /* @__PURE__ */ ((DomainFormat2) => {
94
+ DomainFormat2["At"] = "AT";
95
+ DomainFormat2["Dot"] = "DOT";
96
+ return DomainFormat2;
97
+ })(DomainFormat || {});
92
98
  var ExecutionStatus = /* @__PURE__ */ ((ExecutionStatus2) => {
93
99
  ExecutionStatus2["Failure"] = "FAILURE";
94
100
  ExecutionStatus2["Success"] = "SUCCESS";