@iota/graphql-transport 0.7.0 → 0.9.0

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.
@@ -233,15 +233,15 @@ export type Address = IOwner & {
233
233
  */
234
234
  coins: CoinConnection;
235
235
  /**
236
- * The domain explicitly configured as the default domain pointing to this
236
+ * The name explicitly configured as the default name pointing to this
237
237
  * address.
238
238
  */
239
239
  iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
240
240
  /**
241
- * The IotaNamesRegistration NFTs owned by this address. These grant the
242
- * owner the capability to manage the associated domain.
241
+ * The NameRegistration NFTs owned by this address. These grant the
242
+ * owner the capability to manage the associated name.
243
243
  */
244
- iotaNamesRegistrations: IotaNamesRegistrationConnection;
244
+ iotaNamesRegistrations: NameRegistrationConnection;
245
245
  /** Objects owned by this address, optionally `filter`-ed. */
246
246
  objects: MoveObjectConnection;
247
247
  /** The `0x3::staking_pool::StakedIota` objects owned by this address. */
@@ -310,7 +310,7 @@ export type AddressCoinsArgs = {
310
310
  * key).
311
311
  */
312
312
  export type AddressIotaNamesDefaultNameArgs = {
313
- format?: InputMaybe<DomainFormat>;
313
+ format?: InputMaybe<NameFormat>;
314
314
  };
315
315
  /**
316
316
  * The 32-byte address that is an account address (corresponding to a public
@@ -781,15 +781,15 @@ export type Coin = IMoveObject & IObject & IOwner & {
781
781
  */
782
782
  dynamicObjectField?: Maybe<DynamicField>;
783
783
  /**
784
- * The domain explicitly configured as the default domain pointing to this
784
+ * The name explicitly configured as the default name pointing to this
785
785
  * object.
786
786
  */
787
787
  iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
788
788
  /**
789
- * The IotaNamesRegistration NFTs owned by this object. These grant the
790
- * owner the capability to manage the associated domain.
789
+ * The NameRegistration NFTs owned by this object. These grant the
790
+ * owner the capability to manage the associated name.
791
791
  */
792
- iotaNamesRegistrations: IotaNamesRegistrationConnection;
792
+ iotaNamesRegistrations: NameRegistrationConnection;
793
793
  /** Objects owned by this object, optionally `filter`-ed. */
794
794
  objects: MoveObjectConnection;
795
795
  /** The owner type of this object: Immutable, Shared, Parent, Address */
@@ -882,7 +882,7 @@ export type CoinDynamicObjectFieldArgs = {
882
882
  };
883
883
  /** Some 0x2::coin::Coin Move object. */
884
884
  export type CoinIotaNamesDefaultNameArgs = {
885
- format?: InputMaybe<DomainFormat>;
885
+ format?: InputMaybe<NameFormat>;
886
886
  };
887
887
  /** Some 0x2::coin::Coin Move object. */
888
888
  export type CoinIotaNamesRegistrationsArgs = {
@@ -1002,15 +1002,15 @@ export type CoinMetadata = IMoveObject & IObject & IOwner & {
1002
1002
  dynamicObjectField?: Maybe<DynamicField>;
1003
1003
  iconUrl?: Maybe<Scalars['String']['output']>;
1004
1004
  /**
1005
- * The domain explicitly configured as the default domain pointing to this
1005
+ * The name explicitly configured as the default name pointing to this
1006
1006
  * object.
1007
1007
  */
1008
1008
  iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
1009
1009
  /**
1010
- * The IotaNamesRegistration NFTs owned by this object. These grant the
1011
- * owner the capability to manage the associated domain.
1010
+ * The NameRegistration NFTs owned by this object. These grant the
1011
+ * owner the capability to manage the associated name.
1012
1012
  */
1013
- iotaNamesRegistrations: IotaNamesRegistrationConnection;
1013
+ iotaNamesRegistrations: NameRegistrationConnection;
1014
1014
  /** Full, official name of the token. */
1015
1015
  name?: Maybe<Scalars['String']['output']>;
1016
1016
  /** Objects owned by this object, optionally `filter`-ed. */
@@ -1109,7 +1109,7 @@ export type CoinMetadataDynamicObjectFieldArgs = {
1109
1109
  };
1110
1110
  /** The metadata for a coin type. */
1111
1111
  export type CoinMetadataIotaNamesDefaultNameArgs = {
1112
- format?: InputMaybe<DomainFormat>;
1112
+ format?: InputMaybe<NameFormat>;
1113
1113
  };
1114
1114
  /** The metadata for a coin type. */
1115
1115
  export type CoinMetadataIotaNamesRegistrationsArgs = {
@@ -1189,10 +1189,6 @@ export type DisplayEntry = {
1189
1189
  /** The template string for the key with placeholder values substituted. */
1190
1190
  value?: Maybe<Scalars['String']['output']>;
1191
1191
  };
1192
- export declare enum DomainFormat {
1193
- At = "AT",
1194
- Dot = "DOT"
1195
- }
1196
1192
  export type DryRunEffect = {
1197
1193
  __typename?: 'DryRunEffect';
1198
1194
  /**
@@ -1824,10 +1820,10 @@ export type IOwner = {
1824
1820
  * `type` is a filter on the coin's type parameter, defaulting to `0x2::iota::IOTA`.
1825
1821
  */
1826
1822
  coins: CoinConnection;
1827
- /** The domain explicitly configured as the default domain pointing to this object or address. */
1823
+ /** The name explicitly configured as the default name pointing to this object or address. */
1828
1824
  iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
1829
- /** The IotaNamesRegistration NFTs owned by this object or address. These grant the owner the capability to manage the associated domain. */
1830
- iotaNamesRegistrations: IotaNamesRegistrationConnection;
1825
+ /** The NameRegistration NFTs owned by this object or address. These grant the owner the capability to manage the associated name. */
1826
+ iotaNamesRegistrations: NameRegistrationConnection;
1831
1827
  /** Objects owned by this object or address, optionally `filter`-ed. */
1832
1828
  objects: MoveObjectConnection;
1833
1829
  /** The `0x3::staking_pool::StakedIota` objects owned by this object or address. */
@@ -1878,7 +1874,7 @@ export type IOwnerCoinsArgs = {
1878
1874
  * know which up-front.
1879
1875
  */
1880
1876
  export type IOwnerIotaNamesDefaultNameArgs = {
1881
- format?: InputMaybe<DomainFormat>;
1877
+ format?: InputMaybe<NameFormat>;
1882
1878
  };
1883
1879
  /**
1884
1880
  * Interface implemented by GraphQL types representing entities that can own
@@ -1937,219 +1933,6 @@ export type Input = {
1937
1933
  /** Index of the programmable transaction block input (0-indexed). */
1938
1934
  ix: Scalars['Int']['output'];
1939
1935
  };
1940
- export type IotaNamesRegistration = IMoveObject & IOwner & {
1941
- __typename?: 'IotaNamesRegistration';
1942
- address: Scalars['IotaAddress']['output'];
1943
- /**
1944
- * Total balance of all coins with marker type owned by this object. If
1945
- * type is not supplied, it defaults to `0x2::iota::IOTA`.
1946
- */
1947
- balance?: Maybe<Balance>;
1948
- /** The balances of all coin types owned by this object. */
1949
- balances: BalanceConnection;
1950
- /** The Base64-encoded BCS serialization of the object's content. */
1951
- bcs?: Maybe<Scalars['Base64']['output']>;
1952
- /**
1953
- * The coin objects for this object.
1954
- *
1955
- * `type` is a filter on the coin's type parameter, defaulting to
1956
- * `0x2::iota::IOTA`.
1957
- */
1958
- coins: CoinConnection;
1959
- /**
1960
- * Displays the contents of the Move object in a JSON string and through
1961
- * GraphQL types. Also provides the flat representation of the type
1962
- * signature, and the BCS of the corresponding data.
1963
- */
1964
- contents?: Maybe<MoveValue>;
1965
- /**
1966
- * 32-byte hash that identifies the object's contents, encoded as a Base58
1967
- * string.
1968
- */
1969
- digest?: Maybe<Scalars['String']['output']>;
1970
- /**
1971
- * The set of named templates defined on-chain for the type of this object,
1972
- * to be handled off-chain. The server substitutes data from the object
1973
- * into these templates to generate a display string per template.
1974
- */
1975
- display?: Maybe<Array<DisplayEntry>>;
1976
- /** Domain name of the IotaNamesRegistration object */
1977
- domain: Scalars['String']['output'];
1978
- /**
1979
- * Access a dynamic field on an object using its name. Names are arbitrary
1980
- * Move values whose type have `copy`, `drop`, and `store`, and are
1981
- * specified using their type, and their BCS contents, Base64 encoded.
1982
- *
1983
- * Dynamic fields on wrapped objects can be accessed by using the same API
1984
- * under the Owner type.
1985
- */
1986
- dynamicField?: Maybe<DynamicField>;
1987
- /**
1988
- * The dynamic fields and dynamic object fields on an object.
1989
- *
1990
- * Dynamic fields on wrapped objects can be accessed by using the same API
1991
- * under the Owner type.
1992
- */
1993
- dynamicFields: DynamicFieldConnection;
1994
- /**
1995
- * Access a dynamic object field on an object using its name. Names are
1996
- * arbitrary Move values whose type have `copy`, `drop`, and `store`,
1997
- * and are specified using their type, and their BCS contents, Base64
1998
- * encoded. The value of a dynamic object field can also be accessed
1999
- * off-chain directly via its address (e.g. using `Query.object`).
2000
- *
2001
- * Dynamic fields on wrapped objects can be accessed by using the same API
2002
- * under the Owner type.
2003
- */
2004
- dynamicObjectField?: Maybe<DynamicField>;
2005
- /**
2006
- * Determines whether a transaction can transfer this object, using the
2007
- * TransferObjects transaction command or
2008
- * `iota::transfer::public_transfer`, both of which require the object to
2009
- * have the `key` and `store` abilities.
2010
- */
2011
- hasPublicTransfer: Scalars['Boolean']['output'];
2012
- /**
2013
- * The domain explicitly configured as the default domain pointing to this
2014
- * object.
2015
- */
2016
- iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
2017
- /**
2018
- * The IotaNamesRegistration NFTs owned by this object. These grant the
2019
- * owner the capability to manage the associated domain.
2020
- */
2021
- iotaNamesRegistrations: IotaNamesRegistrationConnection;
2022
- /** Objects owned by this object, optionally `filter`-ed. */
2023
- objects: MoveObjectConnection;
2024
- /** The owner type of this object: Immutable, Shared, Parent, Address */
2025
- owner?: Maybe<ObjectOwner>;
2026
- /** The transaction block that created this version of the object. */
2027
- previousTransactionBlock?: Maybe<TransactionBlock>;
2028
- /**
2029
- * The transaction blocks that sent objects to this object.
2030
- *
2031
- * `scanLimit` restricts the number of candidate transactions scanned when
2032
- * gathering a page of results. It is required for queries that apply
2033
- * more than two complex filters (on function, kind, sender, recipient,
2034
- * input object, changed object, or ids), and can be at most
2035
- * `serviceConfig.maxScanLimit`.
2036
- *
2037
- * When the scan limit is reached the page will be returned even if it has
2038
- * fewer than `first` results when paginating forward (`last` when
2039
- * paginating backwards). If there are more transactions to scan,
2040
- * `pageInfo.hasNextPage` (or `pageInfo.hasPreviousPage`) will be set to
2041
- * `true`, and `PageInfo.endCursor` (or `PageInfo.startCursor`) will be set
2042
- * to the last transaction that was scanned as opposed to the last (or
2043
- * first) transaction in the page.
2044
- *
2045
- * Requesting the next (or previous) page after this cursor will resume the
2046
- * search, scanning the next `scanLimit` many transactions in the
2047
- * direction of pagination, and so on until all transactions in the
2048
- * scanning range have been visited.
2049
- *
2050
- * By default, the scanning range includes all transactions known to
2051
- * GraphQL, but it can be restricted by the `after` and `before`
2052
- * cursors, and the `beforeCheckpoint`, `afterCheckpoint` and
2053
- * `atCheckpoint` filters.
2054
- */
2055
- receivedTransactionBlocks: TransactionBlockConnection;
2056
- /** The `0x3::staking_pool::StakedIota` objects owned by this object. */
2057
- stakedIotas: StakedIotaConnection;
2058
- /**
2059
- * The current status of the object as read from the off-chain store. The
2060
- * possible states are: NOT_INDEXED, the object is loaded from
2061
- * serialized data, such as the contents of a genesis or system package
2062
- * upgrade transaction. LIVE, the version returned is the most recent for
2063
- * the object, and it is not deleted or wrapped at that version.
2064
- * HISTORICAL, the object was referenced at a specific version or
2065
- * checkpoint, so is fetched from historical tables and may not be the
2066
- * latest version of the object. WRAPPED_OR_DELETED, the object is deleted
2067
- * or wrapped and only partial information can be loaded."
2068
- */
2069
- status: ObjectKind;
2070
- /**
2071
- * The amount of IOTA we would rebate if this object gets deleted or
2072
- * mutated. This number is recalculated based on the present storage
2073
- * gas price.
2074
- */
2075
- storageRebate?: Maybe<Scalars['BigInt']['output']>;
2076
- version: Scalars['UInt53']['output'];
2077
- };
2078
- export type IotaNamesRegistrationBalanceArgs = {
2079
- type?: InputMaybe<Scalars['String']['input']>;
2080
- };
2081
- export type IotaNamesRegistrationBalancesArgs = {
2082
- after?: InputMaybe<Scalars['String']['input']>;
2083
- before?: InputMaybe<Scalars['String']['input']>;
2084
- first?: InputMaybe<Scalars['Int']['input']>;
2085
- last?: InputMaybe<Scalars['Int']['input']>;
2086
- };
2087
- export type IotaNamesRegistrationCoinsArgs = {
2088
- after?: InputMaybe<Scalars['String']['input']>;
2089
- before?: InputMaybe<Scalars['String']['input']>;
2090
- first?: InputMaybe<Scalars['Int']['input']>;
2091
- last?: InputMaybe<Scalars['Int']['input']>;
2092
- type?: InputMaybe<Scalars['String']['input']>;
2093
- };
2094
- export type IotaNamesRegistrationDynamicFieldArgs = {
2095
- name: DynamicFieldName;
2096
- };
2097
- export type IotaNamesRegistrationDynamicFieldsArgs = {
2098
- after?: InputMaybe<Scalars['String']['input']>;
2099
- before?: InputMaybe<Scalars['String']['input']>;
2100
- first?: InputMaybe<Scalars['Int']['input']>;
2101
- last?: InputMaybe<Scalars['Int']['input']>;
2102
- };
2103
- export type IotaNamesRegistrationDynamicObjectFieldArgs = {
2104
- name: DynamicFieldName;
2105
- };
2106
- export type IotaNamesRegistrationIotaNamesDefaultNameArgs = {
2107
- format?: InputMaybe<DomainFormat>;
2108
- };
2109
- export type IotaNamesRegistrationIotaNamesRegistrationsArgs = {
2110
- after?: InputMaybe<Scalars['String']['input']>;
2111
- before?: InputMaybe<Scalars['String']['input']>;
2112
- first?: InputMaybe<Scalars['Int']['input']>;
2113
- last?: InputMaybe<Scalars['Int']['input']>;
2114
- };
2115
- export type IotaNamesRegistrationObjectsArgs = {
2116
- after?: InputMaybe<Scalars['String']['input']>;
2117
- before?: InputMaybe<Scalars['String']['input']>;
2118
- filter?: InputMaybe<ObjectFilter>;
2119
- first?: InputMaybe<Scalars['Int']['input']>;
2120
- last?: InputMaybe<Scalars['Int']['input']>;
2121
- };
2122
- export type IotaNamesRegistrationReceivedTransactionBlocksArgs = {
2123
- after?: InputMaybe<Scalars['String']['input']>;
2124
- before?: InputMaybe<Scalars['String']['input']>;
2125
- filter?: InputMaybe<TransactionBlockFilter>;
2126
- first?: InputMaybe<Scalars['Int']['input']>;
2127
- last?: InputMaybe<Scalars['Int']['input']>;
2128
- scanLimit?: InputMaybe<Scalars['Int']['input']>;
2129
- };
2130
- export type IotaNamesRegistrationStakedIotasArgs = {
2131
- after?: InputMaybe<Scalars['String']['input']>;
2132
- before?: InputMaybe<Scalars['String']['input']>;
2133
- first?: InputMaybe<Scalars['Int']['input']>;
2134
- last?: InputMaybe<Scalars['Int']['input']>;
2135
- };
2136
- export type IotaNamesRegistrationConnection = {
2137
- __typename?: 'IotaNamesRegistrationConnection';
2138
- /** A list of edges. */
2139
- edges: Array<IotaNamesRegistrationEdge>;
2140
- /** A list of nodes. */
2141
- nodes: Array<IotaNamesRegistration>;
2142
- /** Information to aid in pagination. */
2143
- pageInfo: PageInfo;
2144
- };
2145
- /** An edge in a connection. */
2146
- export type IotaNamesRegistrationEdge = {
2147
- __typename?: 'IotaNamesRegistrationEdge';
2148
- /** A cursor for use in pagination */
2149
- cursor: Scalars['String']['output'];
2150
- /** The item at the end of the edge */
2151
- node: IotaNamesRegistration;
2152
- };
2153
1936
  /**
2154
1937
  * Information used by a package to link to a specific version of its
2155
1938
  * dependency.
@@ -2504,7 +2287,7 @@ export type MoveObject = IMoveObject & IObject & IOwner & {
2504
2287
  asCoin?: Maybe<Coin>;
2505
2288
  /** Attempts to convert the Move object into a `0x2::coin::CoinMetadata`. */
2506
2289
  asCoinMetadata?: Maybe<CoinMetadata>;
2507
- asIotaNamesRegistration?: Maybe<IotaNamesRegistration>;
2290
+ asIotaNamesRegistration?: Maybe<NameRegistration>;
2508
2291
  /**
2509
2292
  * Attempts to convert the Move object into a
2510
2293
  * `0x3::staking_pool::StakedIota`.
@@ -2571,15 +2354,15 @@ export type MoveObject = IMoveObject & IObject & IOwner & {
2571
2354
  */
2572
2355
  dynamicObjectField?: Maybe<DynamicField>;
2573
2356
  /**
2574
- * The domain explicitly configured as the default domain pointing to this
2357
+ * The name explicitly configured as the default name pointing to this
2575
2358
  * object.
2576
2359
  */
2577
2360
  iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
2578
2361
  /**
2579
- * The IotaNamesRegistration NFTs owned by this object. These grant the
2580
- * owner the capability to manage the associated domain.
2362
+ * The NameRegistration NFTs owned by this object. These grant the
2363
+ * owner the capability to manage the associated name.
2581
2364
  */
2582
- iotaNamesRegistrations: IotaNamesRegistrationConnection;
2365
+ iotaNamesRegistrations: NameRegistrationConnection;
2583
2366
  /** Objects owned by this object, optionally `filter`-ed. */
2584
2367
  objects: MoveObjectConnection;
2585
2368
  /** The owner type of this object: Immutable, Shared, Parent, Address */
@@ -2700,7 +2483,7 @@ export type MoveObjectDynamicObjectFieldArgs = {
2700
2483
  * etc.) about this object.
2701
2484
  */
2702
2485
  export type MoveObjectIotaNamesDefaultNameArgs = {
2703
- format?: InputMaybe<DomainFormat>;
2486
+ format?: InputMaybe<NameFormat>;
2704
2487
  };
2705
2488
  /**
2706
2489
  * The representation of an object as a Move Object, which exposes additional
@@ -2807,18 +2590,18 @@ export type MovePackage = IObject & IOwner & {
2807
2590
  */
2808
2591
  digest?: Maybe<Scalars['String']['output']>;
2809
2592
  /**
2810
- * The domain explicitly configured as the default domain pointing to this
2593
+ * The name explicitly configured as the default name pointing to this
2811
2594
  * object.
2812
2595
  */
2813
2596
  iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
2814
2597
  /**
2815
- * The IotaNamesRegistration NFTs owned by this package. These grant the
2816
- * owner the capability to manage the associated domain.
2598
+ * The NameRegistration NFTs owned by this package. These grant the
2599
+ * owner the capability to manage the associated name.
2817
2600
  *
2818
2601
  * Note that objects owned by a package are inaccessible, because packages
2819
2602
  * are immutable and cannot be owned by an address.
2820
2603
  */
2821
- iotaNamesRegistrations: IotaNamesRegistrationConnection;
2604
+ iotaNamesRegistrations: NameRegistrationConnection;
2822
2605
  /**
2823
2606
  * Fetch the latest version of this package (the package with the highest
2824
2607
  * `version` that shares this packages's original ID)
@@ -2963,7 +2746,7 @@ export type MovePackageCoinsArgs = {
2963
2746
  * definitions, functions, and dependencies.
2964
2747
  */
2965
2748
  export type MovePackageIotaNamesDefaultNameArgs = {
2966
- format?: InputMaybe<DomainFormat>;
2749
+ format?: InputMaybe<NameFormat>;
2967
2750
  };
2968
2751
  /**
2969
2752
  * A MovePackage is a kind of Move object that represents code that has been
@@ -3146,9 +2929,15 @@ export type MoveStructTypeParameter = {
3146
2929
  /** Represents concrete types (no type parameters, no references). */
3147
2930
  export type MoveType = {
3148
2931
  __typename?: 'MoveType';
3149
- /** The abilities this concrete type has. */
2932
+ /**
2933
+ * The abilities this concrete type has. Returns no abilities if the type
2934
+ * is invalid.
2935
+ */
3150
2936
  abilities: Array<MoveAbility>;
3151
- /** Structured representation of the "shape" of values that match this type. */
2937
+ /**
2938
+ * Structured representation of the "shape" of values that match this type.
2939
+ * May return MoveTypeLayout::InvalidType for malformed types.
2940
+ */
3152
2941
  layout: Scalars['MoveTypeLayout']['output'];
3153
2942
  /** Flat representation of the type signature, as a displayable string. */
3154
2943
  repr: Scalars['String']['output'];
@@ -3228,6 +3017,223 @@ export type MutationExecuteTransactionBlockArgs = {
3228
3017
  signatures: Array<Scalars['String']['input']>;
3229
3018
  txBytes: Scalars['String']['input'];
3230
3019
  };
3020
+ export declare enum NameFormat {
3021
+ At = "AT",
3022
+ Dot = "DOT"
3023
+ }
3024
+ export type NameRegistration = IMoveObject & IOwner & {
3025
+ __typename?: 'NameRegistration';
3026
+ address: Scalars['IotaAddress']['output'];
3027
+ /**
3028
+ * Total balance of all coins with marker type owned by this object. If
3029
+ * type is not supplied, it defaults to `0x2::iota::IOTA`.
3030
+ */
3031
+ balance?: Maybe<Balance>;
3032
+ /** The balances of all coin types owned by this object. */
3033
+ balances: BalanceConnection;
3034
+ /** The Base64-encoded BCS serialization of the object's content. */
3035
+ bcs?: Maybe<Scalars['Base64']['output']>;
3036
+ /**
3037
+ * The coin objects for this object.
3038
+ *
3039
+ * `type` is a filter on the coin's type parameter, defaulting to
3040
+ * `0x2::iota::IOTA`.
3041
+ */
3042
+ coins: CoinConnection;
3043
+ /**
3044
+ * Displays the contents of the Move object in a JSON string and through
3045
+ * GraphQL types. Also provides the flat representation of the type
3046
+ * signature, and the BCS of the corresponding data.
3047
+ */
3048
+ contents?: Maybe<MoveValue>;
3049
+ /**
3050
+ * 32-byte hash that identifies the object's contents, encoded as a Base58
3051
+ * string.
3052
+ */
3053
+ digest?: Maybe<Scalars['String']['output']>;
3054
+ /**
3055
+ * The set of named templates defined on-chain for the type of this object,
3056
+ * to be handled off-chain. The server substitutes data from the object
3057
+ * into these templates to generate a display string per template.
3058
+ */
3059
+ display?: Maybe<Array<DisplayEntry>>;
3060
+ /**
3061
+ * Access a dynamic field on an object using its name. Names are arbitrary
3062
+ * Move values whose type have `copy`, `drop`, and `store`, and are
3063
+ * specified using their type, and their BCS contents, Base64 encoded.
3064
+ *
3065
+ * Dynamic fields on wrapped objects can be accessed by using the same API
3066
+ * under the Owner type.
3067
+ */
3068
+ dynamicField?: Maybe<DynamicField>;
3069
+ /**
3070
+ * The dynamic fields and dynamic object fields on an object.
3071
+ *
3072
+ * Dynamic fields on wrapped objects can be accessed by using the same API
3073
+ * under the Owner type.
3074
+ */
3075
+ dynamicFields: DynamicFieldConnection;
3076
+ /**
3077
+ * Access a dynamic object field on an object using its name. Names are
3078
+ * arbitrary Move values whose type have `copy`, `drop`, and `store`,
3079
+ * and are specified using their type, and their BCS contents, Base64
3080
+ * encoded. The value of a dynamic object field can also be accessed
3081
+ * off-chain directly via its address (e.g. using `Query.object`).
3082
+ *
3083
+ * Dynamic fields on wrapped objects can be accessed by using the same API
3084
+ * under the Owner type.
3085
+ */
3086
+ dynamicObjectField?: Maybe<DynamicField>;
3087
+ /**
3088
+ * Determines whether a transaction can transfer this object, using the
3089
+ * TransferObjects transaction command or
3090
+ * `iota::transfer::public_transfer`, both of which require the object to
3091
+ * have the `key` and `store` abilities.
3092
+ */
3093
+ hasPublicTransfer: Scalars['Boolean']['output'];
3094
+ /**
3095
+ * The name explicitly configured as the default name pointing to this
3096
+ * object.
3097
+ */
3098
+ iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
3099
+ /**
3100
+ * The NameRegistration NFTs owned by this object. These grant the
3101
+ * owner the capability to manage the associated name.
3102
+ */
3103
+ iotaNamesRegistrations: NameRegistrationConnection;
3104
+ /** Name of the NameRegistration object */
3105
+ name: Scalars['String']['output'];
3106
+ /** Objects owned by this object, optionally `filter`-ed. */
3107
+ objects: MoveObjectConnection;
3108
+ /** The owner type of this object: Immutable, Shared, Parent, Address */
3109
+ owner?: Maybe<ObjectOwner>;
3110
+ /** The transaction block that created this version of the object. */
3111
+ previousTransactionBlock?: Maybe<TransactionBlock>;
3112
+ /**
3113
+ * The transaction blocks that sent objects to this object.
3114
+ *
3115
+ * `scanLimit` restricts the number of candidate transactions scanned when
3116
+ * gathering a page of results. It is required for queries that apply
3117
+ * more than two complex filters (on function, kind, sender, recipient,
3118
+ * input object, changed object, or ids), and can be at most
3119
+ * `serviceConfig.maxScanLimit`.
3120
+ *
3121
+ * When the scan limit is reached the page will be returned even if it has
3122
+ * fewer than `first` results when paginating forward (`last` when
3123
+ * paginating backwards). If there are more transactions to scan,
3124
+ * `pageInfo.hasNextPage` (or `pageInfo.hasPreviousPage`) will be set to
3125
+ * `true`, and `PageInfo.endCursor` (or `PageInfo.startCursor`) will be set
3126
+ * to the last transaction that was scanned as opposed to the last (or
3127
+ * first) transaction in the page.
3128
+ *
3129
+ * Requesting the next (or previous) page after this cursor will resume the
3130
+ * search, scanning the next `scanLimit` many transactions in the
3131
+ * direction of pagination, and so on until all transactions in the
3132
+ * scanning range have been visited.
3133
+ *
3134
+ * By default, the scanning range includes all transactions known to
3135
+ * GraphQL, but it can be restricted by the `after` and `before`
3136
+ * cursors, and the `beforeCheckpoint`, `afterCheckpoint` and
3137
+ * `atCheckpoint` filters.
3138
+ */
3139
+ receivedTransactionBlocks: TransactionBlockConnection;
3140
+ /** The `0x3::staking_pool::StakedIota` objects owned by this object. */
3141
+ stakedIotas: StakedIotaConnection;
3142
+ /**
3143
+ * The current status of the object as read from the off-chain store. The
3144
+ * possible states are: NOT_INDEXED, the object is loaded from
3145
+ * serialized data, such as the contents of a genesis or system package
3146
+ * upgrade transaction. LIVE, the version returned is the most recent for
3147
+ * the object, and it is not deleted or wrapped at that version.
3148
+ * HISTORICAL, the object was referenced at a specific version or
3149
+ * checkpoint, so is fetched from historical tables and may not be the
3150
+ * latest version of the object. WRAPPED_OR_DELETED, the object is deleted
3151
+ * or wrapped and only partial information can be loaded."
3152
+ */
3153
+ status: ObjectKind;
3154
+ /**
3155
+ * The amount of IOTA we would rebate if this object gets deleted or
3156
+ * mutated. This number is recalculated based on the present storage
3157
+ * gas price.
3158
+ */
3159
+ storageRebate?: Maybe<Scalars['BigInt']['output']>;
3160
+ version: Scalars['UInt53']['output'];
3161
+ };
3162
+ export type NameRegistrationBalanceArgs = {
3163
+ type?: InputMaybe<Scalars['String']['input']>;
3164
+ };
3165
+ export type NameRegistrationBalancesArgs = {
3166
+ after?: InputMaybe<Scalars['String']['input']>;
3167
+ before?: InputMaybe<Scalars['String']['input']>;
3168
+ first?: InputMaybe<Scalars['Int']['input']>;
3169
+ last?: InputMaybe<Scalars['Int']['input']>;
3170
+ };
3171
+ export type NameRegistrationCoinsArgs = {
3172
+ after?: InputMaybe<Scalars['String']['input']>;
3173
+ before?: InputMaybe<Scalars['String']['input']>;
3174
+ first?: InputMaybe<Scalars['Int']['input']>;
3175
+ last?: InputMaybe<Scalars['Int']['input']>;
3176
+ type?: InputMaybe<Scalars['String']['input']>;
3177
+ };
3178
+ export type NameRegistrationDynamicFieldArgs = {
3179
+ name: DynamicFieldName;
3180
+ };
3181
+ export type NameRegistrationDynamicFieldsArgs = {
3182
+ after?: InputMaybe<Scalars['String']['input']>;
3183
+ before?: InputMaybe<Scalars['String']['input']>;
3184
+ first?: InputMaybe<Scalars['Int']['input']>;
3185
+ last?: InputMaybe<Scalars['Int']['input']>;
3186
+ };
3187
+ export type NameRegistrationDynamicObjectFieldArgs = {
3188
+ name: DynamicFieldName;
3189
+ };
3190
+ export type NameRegistrationIotaNamesDefaultNameArgs = {
3191
+ format?: InputMaybe<NameFormat>;
3192
+ };
3193
+ export type NameRegistrationIotaNamesRegistrationsArgs = {
3194
+ after?: InputMaybe<Scalars['String']['input']>;
3195
+ before?: InputMaybe<Scalars['String']['input']>;
3196
+ first?: InputMaybe<Scalars['Int']['input']>;
3197
+ last?: InputMaybe<Scalars['Int']['input']>;
3198
+ };
3199
+ export type NameRegistrationObjectsArgs = {
3200
+ after?: InputMaybe<Scalars['String']['input']>;
3201
+ before?: InputMaybe<Scalars['String']['input']>;
3202
+ filter?: InputMaybe<ObjectFilter>;
3203
+ first?: InputMaybe<Scalars['Int']['input']>;
3204
+ last?: InputMaybe<Scalars['Int']['input']>;
3205
+ };
3206
+ export type NameRegistrationReceivedTransactionBlocksArgs = {
3207
+ after?: InputMaybe<Scalars['String']['input']>;
3208
+ before?: InputMaybe<Scalars['String']['input']>;
3209
+ filter?: InputMaybe<TransactionBlockFilter>;
3210
+ first?: InputMaybe<Scalars['Int']['input']>;
3211
+ last?: InputMaybe<Scalars['Int']['input']>;
3212
+ scanLimit?: InputMaybe<Scalars['Int']['input']>;
3213
+ };
3214
+ export type NameRegistrationStakedIotasArgs = {
3215
+ after?: InputMaybe<Scalars['String']['input']>;
3216
+ before?: InputMaybe<Scalars['String']['input']>;
3217
+ first?: InputMaybe<Scalars['Int']['input']>;
3218
+ last?: InputMaybe<Scalars['Int']['input']>;
3219
+ };
3220
+ export type NameRegistrationConnection = {
3221
+ __typename?: 'NameRegistrationConnection';
3222
+ /** A list of edges. */
3223
+ edges: Array<NameRegistrationEdge>;
3224
+ /** A list of nodes. */
3225
+ nodes: Array<NameRegistration>;
3226
+ /** Information to aid in pagination. */
3227
+ pageInfo: PageInfo;
3228
+ };
3229
+ /** An edge in a connection. */
3230
+ export type NameRegistrationEdge = {
3231
+ __typename?: 'NameRegistrationEdge';
3232
+ /** A cursor for use in pagination */
3233
+ cursor: Scalars['String']['output'];
3234
+ /** The item at the end of the edge */
3235
+ node: NameRegistration;
3236
+ };
3231
3237
  /**
3232
3238
  * An object in IOTA is a package (set of Move bytecode modules) or object
3233
3239
  * (typed data structure with fields) with additional metadata detailing its
@@ -3296,15 +3302,15 @@ export type Object = IObject & IOwner & {
3296
3302
  */
3297
3303
  dynamicObjectField?: Maybe<DynamicField>;
3298
3304
  /**
3299
- * The domain explicitly configured as the default domain pointing to this
3305
+ * The name explicitly configured as the default name pointing to this
3300
3306
  * address.
3301
3307
  */
3302
3308
  iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
3303
3309
  /**
3304
- * The IotaNamesRegistration NFTs owned by this address. These grant the
3305
- * owner the capability to manage the associated domain.
3310
+ * The NameRegistration NFTs owned by this address. These grant the
3311
+ * owner the capability to manage the associated name.
3306
3312
  */
3307
- iotaNamesRegistrations: IotaNamesRegistrationConnection;
3313
+ iotaNamesRegistrations: NameRegistrationConnection;
3308
3314
  /** Objects owned by this object, optionally `filter`-ed. */
3309
3315
  objects: MoveObjectConnection;
3310
3316
  /**
@@ -3435,7 +3441,7 @@ export type ObjectDynamicObjectFieldArgs = {
3435
3441
  * be accessed.
3436
3442
  */
3437
3443
  export type ObjectIotaNamesDefaultNameArgs = {
3438
- format?: InputMaybe<DomainFormat>;
3444
+ format?: InputMaybe<NameFormat>;
3439
3445
  };
3440
3446
  /**
3441
3447
  * An object in IOTA is a package (set of Move bytecode modules) or object
@@ -3676,15 +3682,15 @@ export type Owner = IOwner & {
3676
3682
  */
3677
3683
  dynamicObjectField?: Maybe<DynamicField>;
3678
3684
  /**
3679
- * The domain explicitly configured as the default domain pointing to this
3685
+ * The name explicitly configured as the default name pointing to this
3680
3686
  * object or address.
3681
3687
  */
3682
3688
  iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
3683
3689
  /**
3684
- * The IotaNamesRegistration NFTs owned by this object or address. These
3685
- * grant the owner the capability to manage the associated domain.
3690
+ * The NameRegistration NFTs owned by this object or address. These
3691
+ * grant the owner the capability to manage the associated name.
3686
3692
  */
3687
- iotaNamesRegistrations: IotaNamesRegistrationConnection;
3693
+ iotaNamesRegistrations: NameRegistrationConnection;
3688
3694
  /** Objects owned by this object or address, optionally `filter`-ed. */
3689
3695
  objects: MoveObjectConnection;
3690
3696
  /**
@@ -3764,7 +3770,7 @@ export type OwnerDynamicObjectFieldArgs = {
3764
3770
  * whether a given Owner is an Address or an Object).
3765
3771
  */
3766
3772
  export type OwnerIotaNamesDefaultNameArgs = {
3767
- format?: InputMaybe<DomainFormat>;
3773
+ format?: InputMaybe<NameFormat>;
3768
3774
  };
3769
3775
  /**
3770
3776
  * An Owner is an entity that can own an object. Each Owner is identified by a
@@ -4092,7 +4098,7 @@ export type Query = {
4092
4098
  */
4093
4099
  protocolConfig: ProtocolConfigs;
4094
4100
  /**
4095
- * Resolves an IOTA-Names `domain` name to an address, if it has been
4101
+ * Resolves an IOTA-Names `name` to an address, if it has been
4096
4102
  * bound.
4097
4103
  */
4098
4104
  resolveIotaNamesAddress?: Maybe<Address>;
@@ -4229,7 +4235,7 @@ export type QueryProtocolConfigArgs = {
4229
4235
  protocolVersion?: InputMaybe<Scalars['UInt53']['input']>;
4230
4236
  };
4231
4237
  export type QueryResolveIotaNamesAddressArgs = {
4232
- domain: Scalars['String']['input'];
4238
+ name: Scalars['String']['input'];
4233
4239
  };
4234
4240
  export type QueryTransactionBlockArgs = {
4235
4241
  digest: Scalars['String']['input'];
@@ -4572,15 +4578,15 @@ export type StakedIota = IMoveObject & IObject & IOwner & {
4572
4578
  */
4573
4579
  estimatedReward?: Maybe<Scalars['BigInt']['output']>;
4574
4580
  /**
4575
- * The domain explicitly configured as the default domain pointing to this
4581
+ * The name explicitly configured as the default name pointing to this
4576
4582
  * object.
4577
4583
  */
4578
4584
  iotaNamesDefaultName?: Maybe<Scalars['String']['output']>;
4579
4585
  /**
4580
- * The IotaNamesRegistration NFTs owned by this object. These grant the
4581
- * owner the capability to manage the associated domain.
4586
+ * The NameRegistration NFTs owned by this object. These grant the
4587
+ * owner the capability to manage the associated name.
4582
4588
  */
4583
- iotaNamesRegistrations: IotaNamesRegistrationConnection;
4589
+ iotaNamesRegistrations: NameRegistrationConnection;
4584
4590
  /** Objects owned by this object, optionally `filter`-ed. */
4585
4591
  objects: MoveObjectConnection;
4586
4592
  /** The owner type of this object: Immutable, Shared, Parent, Address */
@@ -4681,7 +4687,7 @@ export type StakedIotaDynamicObjectFieldArgs = {
4681
4687
  };
4682
4688
  /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */
4683
4689
  export type StakedIotaIotaNamesDefaultNameArgs = {
4684
- format?: InputMaybe<DomainFormat>;
4690
+ format?: InputMaybe<NameFormat>;
4685
4691
  };
4686
4692
  /** Represents a `0x3::staking_pool::StakedIota` Move object on-chain. */
4687
4693
  export type StakedIotaIotaNamesRegistrationsArgs = {
@@ -4944,6 +4950,7 @@ export type TransactionBlockFilter = {
4944
4950
  recvAddress?: InputMaybe<Scalars['IotaAddress']['input']>;
4945
4951
  signAddress?: InputMaybe<Scalars['IotaAddress']['input']>;
4946
4952
  transactionIds?: InputMaybe<Array<Scalars['String']['input']>>;
4953
+ wrappedOrDeletedObject?: InputMaybe<Scalars['IotaAddress']['input']>;
4947
4954
  };
4948
4955
  /**
4949
4956
  * The kind of transaction block, either a programmable transaction or a system
@@ -7528,7 +7535,7 @@ export type GetValidatorsApyQuery = {
7528
7535
  } | null;
7529
7536
  };
7530
7537
  export type ResolveNameServiceAddressQueryVariables = Exact<{
7531
- domain: Scalars['String']['input'];
7538
+ name: Scalars['String']['input'];
7532
7539
  }>;
7533
7540
  export type ResolveNameServiceAddressQuery = {
7534
7541
  __typename?: 'Query';
@@ -7547,15 +7554,15 @@ export type ResolveNameServiceNamesQuery = {
7547
7554
  address?: {
7548
7555
  __typename?: 'Address';
7549
7556
  iotaNamesRegistrations: {
7550
- __typename?: 'IotaNamesRegistrationConnection';
7557
+ __typename?: 'NameRegistrationConnection';
7551
7558
  pageInfo: {
7552
7559
  __typename?: 'PageInfo';
7553
7560
  hasNextPage: boolean;
7554
7561
  endCursor?: string | null;
7555
7562
  };
7556
7563
  nodes: Array<{
7557
- __typename?: 'IotaNamesRegistration';
7558
- domain: string;
7564
+ __typename?: 'NameRegistration';
7565
+ name: string;
7559
7566
  }>;
7560
7567
  };
7561
7568
  } | null;