@iota/graphql-transport 0.9.2 → 0.10.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @iota/graphql-transport
2
2
 
3
+ ## 0.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b152861: Fix the TS SDK bundling with Bun
8
+ - a0b225d: Support the new node method `isTransactionIndexedOnNode`
9
+ - fea81ab: Typo fixes.
10
+ - 4c68076: Sync with Node changes.
11
+ - 03e8b9b: Update move types
12
+ - 92dd15e: Add a new `waitMode` in `waitForTransaction`
13
+ - 2a5f065: Add support for the new `view` method in both JSON RPC and GraphQL transports.
14
+
15
+ ### Patch Changes
16
+
17
+ - c12d044: Internal simplification of the codegen
18
+ - 58997cb: map Option correctly in moveDataToRpcContent
19
+ - Updated dependencies [b152861]
20
+ - Updated dependencies [c12d044]
21
+ - Updated dependencies [f3beb1e]
22
+ - Updated dependencies [a0b225d]
23
+ - Updated dependencies [fea81ab]
24
+ - Updated dependencies [4c68076]
25
+ - Updated dependencies [03e8b9b]
26
+ - Updated dependencies [92dd15e]
27
+ - Updated dependencies [2a5f065]
28
+ - @iota/iota-sdk@1.7.0
29
+
3
30
  ## 0.9.2
4
31
 
5
32
  ### Patch Changes
package/README.md CHANGED
@@ -45,7 +45,6 @@ error, or fallback to the JSON RPC API if a `fallbackFullNodeUrl` is provided:
45
45
  - `executeTransactionBlock`
46
46
  - `getParticipationMetrics`
47
47
  - `getCirculatingSupply`
48
- - `getDynamicFieldObjectV2`
49
48
 
50
49
  ### Unsupported parameters
51
50
 
@@ -565,6 +565,11 @@ export type ChangeEpochTransactionV2 = {
565
565
  * epoch (in NANOS).
566
566
  */
567
567
  computationChargeBurned: Scalars['BigInt']['output'];
568
+ /**
569
+ * The list of active validators eligible for committee selection for the
570
+ * next epoch.
571
+ */
572
+ eligibleActiveValidators?: Maybe<Array<Scalars['BigInt']['output']>>;
568
573
  /** The next (to become) epoch. */
569
574
  epoch?: Maybe<Epoch>;
570
575
  /**
@@ -828,14 +833,13 @@ export type Coin = IMoveObject & IObject & IOwner & {
828
833
  stakedIotas: StakedIotaConnection;
829
834
  /**
830
835
  * The current status of the object as read from the off-chain store. The
831
- * possible states are: NOT_INDEXED, the object is loaded from
832
- * serialized data, such as the contents of a genesis or system package
833
- * upgrade transaction. LIVE, the version returned is the most recent for
834
- * the object, and it is not deleted or wrapped at that version.
835
- * HISTORICAL, the object was referenced at a specific version or
836
- * checkpoint, so is fetched from historical tables and may not be the
837
- * latest version of the object. WRAPPED_OR_DELETED, the object is deleted
838
- * or wrapped and only partial information can be loaded."
836
+ * possible states are:
837
+ * - NOT_INDEXED: The object is loaded from serialized data, such as the
838
+ * contents of a genesis or system package upgrade transaction.
839
+ * - INDEXED: The object is retrieved from the off-chain index and
840
+ * represents the most recent or historical state of the object.
841
+ * - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
842
+ * information can be loaded.
839
843
  */
840
844
  status: ObjectKind;
841
845
  /**
@@ -1051,14 +1055,13 @@ export type CoinMetadata = IMoveObject & IObject & IOwner & {
1051
1055
  stakedIotas: StakedIotaConnection;
1052
1056
  /**
1053
1057
  * The current status of the object as read from the off-chain store. The
1054
- * possible states are: NOT_INDEXED, the object is loaded from
1055
- * serialized data, such as the contents of a genesis or system package
1056
- * upgrade transaction. LIVE, the version returned is the most recent for
1057
- * the object, and it is not deleted or wrapped at that version.
1058
- * HISTORICAL, the object was referenced at a specific version or
1059
- * checkpoint, so is fetched from historical tables and may not be the
1060
- * latest version of the object. WRAPPED_OR_DELETED, the object is deleted
1061
- * or wrapped and only partial information can be loaded."
1058
+ * possible states are:
1059
+ * - NOT_INDEXED: The object is loaded from serialized data, such as the
1060
+ * contents of a genesis or system package upgrade transaction.
1061
+ * - INDEXED: The object is retrieved from the off-chain index and
1062
+ * represents the most recent or historical state of the object.
1063
+ * - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
1064
+ * information can be loaded.
1062
1065
  */
1063
1066
  status: ObjectKind;
1064
1067
  /**
@@ -1436,7 +1439,12 @@ export type Epoch = {
1436
1439
  * epoch.
1437
1440
  */
1438
1441
  transactionBlocks: TransactionBlockConnection;
1439
- /** Validator related properties, including the active validators. */
1442
+ /**
1443
+ * Validator related properties, including the active validators.
1444
+ *
1445
+ * For epochs other than the current the data provided refer to the start
1446
+ * of the epoch.
1447
+ */
1440
1448
  validatorSet?: Maybe<ValidatorSet>;
1441
1449
  };
1442
1450
  /**
@@ -1784,7 +1792,16 @@ export type IObject = {
1784
1792
  previousTransactionBlock?: Maybe<TransactionBlock>;
1785
1793
  /** The transaction blocks that sent objects to this object. */
1786
1794
  receivedTransactionBlocks: TransactionBlockConnection;
1787
- /** The current status of the object as read from the off-chain store. The possible states are: NOT_INDEXED, the object is loaded from serialized data, such as the contents of a genesis or system package upgrade transaction. LIVE, the version returned is the most recent for the object, and it is not deleted or wrapped at that version. HISTORICAL, the object was referenced at a specific version or checkpoint, so is fetched from historical tables and may not be the latest version of the object. WRAPPED_OR_DELETED, the object is deleted or wrapped and only partial information can be loaded. */
1795
+ /**
1796
+ * The current status of the object as read from the off-chain store. The
1797
+ * possible states are:
1798
+ * - NOT_INDEXED: The object is loaded from serialized data, such as the
1799
+ * contents of a genesis or system package upgrade transaction.
1800
+ * - INDEXED: The object is retrieved from the off-chain index and
1801
+ * represents the most recent or historical state of the object.
1802
+ * - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
1803
+ * information can be loaded.
1804
+ */
1788
1805
  status: ObjectKind;
1789
1806
  storageRebate?: Maybe<Scalars['BigInt']['output']>;
1790
1807
  version: Scalars['UInt53']['output'];
@@ -2277,7 +2294,7 @@ export type MoveModuleEdge = {
2277
2294
  };
2278
2295
  /**
2279
2296
  * The representation of an object as a Move Object, which exposes additional
2280
- * information (content, module that governs it, version, is transferrable,
2297
+ * information (content, module that governs it, version, is transferable,
2281
2298
  * etc.) about this object.
2282
2299
  */
2283
2300
  export type MoveObject = IMoveObject & IObject & IOwner & {
@@ -2401,14 +2418,13 @@ export type MoveObject = IMoveObject & IObject & IOwner & {
2401
2418
  stakedIotas: StakedIotaConnection;
2402
2419
  /**
2403
2420
  * The current status of the object as read from the off-chain store. The
2404
- * possible states are: NOT_INDEXED, the object is loaded from
2405
- * serialized data, such as the contents of a genesis or system package
2406
- * upgrade transaction. LIVE, the version returned is the most recent for
2407
- * the object, and it is not deleted or wrapped at that version.
2408
- * HISTORICAL, the object was referenced at a specific version or
2409
- * checkpoint, so is fetched from historical tables and may not be the
2410
- * latest version of the object. WRAPPED_OR_DELETED, the object is deleted
2411
- * or wrapped and only partial information can be loaded."
2421
+ * possible states are:
2422
+ * - NOT_INDEXED: The object is loaded from serialized data, such as the
2423
+ * contents of a genesis or system package upgrade transaction.
2424
+ * - INDEXED: The object is retrieved from the off-chain index and
2425
+ * represents the most recent or historical state of the object.
2426
+ * - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
2427
+ * information can be loaded.
2412
2428
  */
2413
2429
  status: ObjectKind;
2414
2430
  /**
@@ -2421,7 +2437,7 @@ export type MoveObject = IMoveObject & IObject & IOwner & {
2421
2437
  };
2422
2438
  /**
2423
2439
  * The representation of an object as a Move Object, which exposes additional
2424
- * information (content, module that governs it, version, is transferrable,
2440
+ * information (content, module that governs it, version, is transferable,
2425
2441
  * etc.) about this object.
2426
2442
  */
2427
2443
  export type MoveObjectBalanceArgs = {
@@ -2429,7 +2445,7 @@ export type MoveObjectBalanceArgs = {
2429
2445
  };
2430
2446
  /**
2431
2447
  * The representation of an object as a Move Object, which exposes additional
2432
- * information (content, module that governs it, version, is transferrable,
2448
+ * information (content, module that governs it, version, is transferable,
2433
2449
  * etc.) about this object.
2434
2450
  */
2435
2451
  export type MoveObjectBalancesArgs = {
@@ -2440,7 +2456,7 @@ export type MoveObjectBalancesArgs = {
2440
2456
  };
2441
2457
  /**
2442
2458
  * The representation of an object as a Move Object, which exposes additional
2443
- * information (content, module that governs it, version, is transferrable,
2459
+ * information (content, module that governs it, version, is transferable,
2444
2460
  * etc.) about this object.
2445
2461
  */
2446
2462
  export type MoveObjectCoinsArgs = {
@@ -2452,7 +2468,7 @@ export type MoveObjectCoinsArgs = {
2452
2468
  };
2453
2469
  /**
2454
2470
  * The representation of an object as a Move Object, which exposes additional
2455
- * information (content, module that governs it, version, is transferrable,
2471
+ * information (content, module that governs it, version, is transferable,
2456
2472
  * etc.) about this object.
2457
2473
  */
2458
2474
  export type MoveObjectDynamicFieldArgs = {
@@ -2460,7 +2476,7 @@ export type MoveObjectDynamicFieldArgs = {
2460
2476
  };
2461
2477
  /**
2462
2478
  * The representation of an object as a Move Object, which exposes additional
2463
- * information (content, module that governs it, version, is transferrable,
2479
+ * information (content, module that governs it, version, is transferable,
2464
2480
  * etc.) about this object.
2465
2481
  */
2466
2482
  export type MoveObjectDynamicFieldsArgs = {
@@ -2471,7 +2487,7 @@ export type MoveObjectDynamicFieldsArgs = {
2471
2487
  };
2472
2488
  /**
2473
2489
  * The representation of an object as a Move Object, which exposes additional
2474
- * information (content, module that governs it, version, is transferrable,
2490
+ * information (content, module that governs it, version, is transferable,
2475
2491
  * etc.) about this object.
2476
2492
  */
2477
2493
  export type MoveObjectDynamicObjectFieldArgs = {
@@ -2479,7 +2495,7 @@ export type MoveObjectDynamicObjectFieldArgs = {
2479
2495
  };
2480
2496
  /**
2481
2497
  * The representation of an object as a Move Object, which exposes additional
2482
- * information (content, module that governs it, version, is transferrable,
2498
+ * information (content, module that governs it, version, is transferable,
2483
2499
  * etc.) about this object.
2484
2500
  */
2485
2501
  export type MoveObjectIotaNamesDefaultNameArgs = {
@@ -2487,7 +2503,7 @@ export type MoveObjectIotaNamesDefaultNameArgs = {
2487
2503
  };
2488
2504
  /**
2489
2505
  * The representation of an object as a Move Object, which exposes additional
2490
- * information (content, module that governs it, version, is transferrable,
2506
+ * information (content, module that governs it, version, is transferable,
2491
2507
  * etc.) about this object.
2492
2508
  */
2493
2509
  export type MoveObjectIotaNamesRegistrationsArgs = {
@@ -2498,7 +2514,7 @@ export type MoveObjectIotaNamesRegistrationsArgs = {
2498
2514
  };
2499
2515
  /**
2500
2516
  * The representation of an object as a Move Object, which exposes additional
2501
- * information (content, module that governs it, version, is transferrable,
2517
+ * information (content, module that governs it, version, is transferable,
2502
2518
  * etc.) about this object.
2503
2519
  */
2504
2520
  export type MoveObjectObjectsArgs = {
@@ -2510,7 +2526,7 @@ export type MoveObjectObjectsArgs = {
2510
2526
  };
2511
2527
  /**
2512
2528
  * The representation of an object as a Move Object, which exposes additional
2513
- * information (content, module that governs it, version, is transferrable,
2529
+ * information (content, module that governs it, version, is transferable,
2514
2530
  * etc.) about this object.
2515
2531
  */
2516
2532
  export type MoveObjectReceivedTransactionBlocksArgs = {
@@ -2523,7 +2539,7 @@ export type MoveObjectReceivedTransactionBlocksArgs = {
2523
2539
  };
2524
2540
  /**
2525
2541
  * The representation of an object as a Move Object, which exposes additional
2526
- * information (content, module that governs it, version, is transferrable,
2542
+ * information (content, module that governs it, version, is transferable,
2527
2543
  * etc.) about this object.
2528
2544
  */
2529
2545
  export type MoveObjectStakedIotasArgs = {
@@ -2686,14 +2702,13 @@ export type MovePackage = IObject & IOwner & {
2686
2702
  stakedIotas: StakedIotaConnection;
2687
2703
  /**
2688
2704
  * The current status of the object as read from the off-chain store. The
2689
- * possible states are: NOT_INDEXED, the object is loaded from
2690
- * serialized data, such as the contents of a genesis or system package
2691
- * upgrade transaction. LIVE, the version returned is the most recent for
2692
- * the object, and it is not deleted or wrapped at that version.
2693
- * HISTORICAL, the object was referenced at a specific version or
2694
- * checkpoint, so is fetched from historical tables and may not be the
2695
- * latest version of the object. WRAPPED_OR_DELETED, the object is deleted
2696
- * or wrapped and only partial information can be loaded."
2705
+ * possible states are:
2706
+ * - NOT_INDEXED: The object is loaded from serialized data, such as the
2707
+ * contents of a genesis or system package upgrade transaction.
2708
+ * - INDEXED: The object is retrieved from the off-chain index and
2709
+ * represents the most recent or historical state of the object.
2710
+ * - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
2711
+ * information can be loaded.
2697
2712
  */
2698
2713
  status: ObjectKind;
2699
2714
  /**
@@ -2969,6 +2984,22 @@ export type MoveValue = {
2969
2984
  /** The value's Move type. */
2970
2985
  type: MoveType;
2971
2986
  };
2987
+ /**
2988
+ * The result of a move-view function call.
2989
+ *
2990
+ * Execution errors are captured in the `error` field, in which
2991
+ * case the `results` field will be `None`.
2992
+ *
2993
+ * On success, the `results` field will contain the return values of the
2994
+ * move view function, and the `error` field will be `None`.
2995
+ */
2996
+ export type MoveViewResult = {
2997
+ __typename?: 'MoveViewResult';
2998
+ /** Execution error from executing the move view call. */
2999
+ error?: Maybe<Scalars['String']['output']>;
3000
+ /** The return values of the move view function. */
3001
+ results?: Maybe<Array<Scalars['JSON']['output']>>;
3002
+ };
2972
3003
  /**
2973
3004
  * The visibility modifier describes which modules can access this module
2974
3005
  * member. By default, a module member can be called only within the same
@@ -3002,13 +3033,13 @@ export type Mutation = {
3002
3033
  * that was not possible. A transaction is final when its effects are
3003
3034
  * guaranteed on chain (it cannot be revoked).
3004
3035
  *
3005
- * There may be a delay between transaction finality and when GraphQL
3006
- * requests (including the request that issued the transaction) reflect
3007
- * its effects. As a result, queries that depend on indexing the state
3008
- * of the chain (e.g. contents of output objects, address-level balance
3009
- * information at the time of the transaction), must wait for indexing to
3010
- * catch up by polling for the transaction digest using
3011
- * `Query.transactionBlock`.
3036
+ * Transaction effects are now available immediately after execution
3037
+ * through `Query.transactionBlock`. However, other queries that depend
3038
+ * on the chain’s indexed state (e.g., address-level balance updates)
3039
+ * may still lag until the transaction has been checkpointed.
3040
+ * To confirm that a transaction has been included in a checkpoint, query
3041
+ * `Query.transactionBlock` and check whether the `effects.checkpoint`
3042
+ * field is set (or `null` if not yet checkpointed).
3012
3043
  */
3013
3044
  executeTransactionBlock: ExecutionResult;
3014
3045
  };
@@ -3141,14 +3172,13 @@ export type NameRegistration = IMoveObject & IOwner & {
3141
3172
  stakedIotas: StakedIotaConnection;
3142
3173
  /**
3143
3174
  * 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."
3175
+ * possible states are:
3176
+ * - NOT_INDEXED: The object is loaded from serialized data, such as the
3177
+ * contents of a genesis or system package upgrade transaction.
3178
+ * - INDEXED: The object is retrieved from the off-chain index and
3179
+ * represents the most recent or historical state of the object.
3180
+ * - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
3181
+ * information can be loaded.
3152
3182
  */
3153
3183
  status: ObjectKind;
3154
3184
  /**
@@ -3352,14 +3382,13 @@ export type Object = IObject & IOwner & {
3352
3382
  stakedIotas: StakedIotaConnection;
3353
3383
  /**
3354
3384
  * The current status of the object as read from the off-chain store. The
3355
- * possible states are: NOT_INDEXED, the object is loaded from
3356
- * serialized data, such as the contents of a genesis or system package
3357
- * upgrade transaction. LIVE, the version returned is the most recent for
3358
- * the object, and it is not deleted or wrapped at that version.
3359
- * HISTORICAL, the object was referenced at a specific version or
3360
- * checkpoint, so is fetched from historical tables and may not be the
3361
- * latest version of the object. WRAPPED_OR_DELETED, the object is deleted
3362
- * or wrapped and only partial information can be loaded."
3385
+ * possible states are:
3386
+ * - NOT_INDEXED: The object is loaded from serialized data, such as the
3387
+ * contents of a genesis or system package upgrade transaction.
3388
+ * - INDEXED: The object is retrieved from the off-chain index and
3389
+ * represents the most recent or historical state of the object.
3390
+ * - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
3391
+ * information can be loaded.
3363
3392
  */
3364
3393
  status: ObjectKind;
3365
3394
  /**
@@ -4023,6 +4052,8 @@ export type Query = {
4023
4052
  * error.
4024
4053
  */
4025
4054
  events: EventConnection;
4055
+ /** Check if a transaction is indexed on the fullnode. */
4056
+ isTransactionIndexedOnNode: Scalars['Boolean']['output'];
4026
4057
  /**
4027
4058
  * The latest version of the package at `address`.
4028
4059
  *
@@ -4030,6 +4061,7 @@ export type Query = {
4030
4061
  * its original ID with the package at `address`.
4031
4062
  */
4032
4063
  latestPackage?: Maybe<MovePackage>;
4064
+ moveViewCall: MoveViewResult;
4033
4065
  /**
4034
4066
  * The object corresponding to the given address at the (optionally) given
4035
4067
  * version. When no version is given, the latest version is returned.
@@ -4194,9 +4226,17 @@ export type QueryEventsArgs = {
4194
4226
  first?: InputMaybe<Scalars['Int']['input']>;
4195
4227
  last?: InputMaybe<Scalars['Int']['input']>;
4196
4228
  };
4229
+ export type QueryIsTransactionIndexedOnNodeArgs = {
4230
+ digest: Scalars['String']['input'];
4231
+ };
4197
4232
  export type QueryLatestPackageArgs = {
4198
4233
  address: Scalars['IotaAddress']['input'];
4199
4234
  };
4235
+ export type QueryMoveViewCallArgs = {
4236
+ arguments?: InputMaybe<Array<Scalars['JSON']['input']>>;
4237
+ functionName: Scalars['String']['input'];
4238
+ typeArgs?: InputMaybe<Array<Scalars['String']['input']>>;
4239
+ };
4200
4240
  export type QueryObjectArgs = {
4201
4241
  address: Scalars['IotaAddress']['input'];
4202
4242
  version?: InputMaybe<Scalars['UInt53']['input']>;
@@ -4414,7 +4454,7 @@ export type Shared = {
4414
4454
  export type SharedInput = {
4415
4455
  __typename?: 'SharedInput';
4416
4456
  address: Scalars['IotaAddress']['output'];
4417
- /** The version that this this object was shared at. */
4457
+ /** The version at which this object was shared.​ */
4418
4458
  initialSharedVersion: Scalars['UInt53']['output'];
4419
4459
  /**
4420
4460
  * Controls whether the transaction block can reference the shared object
@@ -4633,14 +4673,13 @@ export type StakedIota = IMoveObject & IObject & IOwner & {
4633
4673
  stakedIotas: StakedIotaConnection;
4634
4674
  /**
4635
4675
  * The current status of the object as read from the off-chain store. The
4636
- * possible states are: NOT_INDEXED, the object is loaded from
4637
- * serialized data, such as the contents of a genesis or system package
4638
- * upgrade transaction. LIVE, the version returned is the most recent for
4639
- * the object, and it is not deleted or wrapped at that version.
4640
- * HISTORICAL, the object was referenced at a specific version or
4641
- * checkpoint, so is fetched from historical tables and may not be the
4642
- * latest version of the object. WRAPPED_OR_DELETED, the object is deleted
4643
- * or wrapped and only partial information can be loaded."
4676
+ * possible states are:
4677
+ * - NOT_INDEXED: The object is loaded from serialized data, such as the
4678
+ * contents of a genesis or system package upgrade transaction.
4679
+ * - INDEXED: The object is retrieved from the off-chain index and
4680
+ * represents the most recent or historical state of the object.
4681
+ * - WRAPPED_OR_DELETED: The object is deleted or wrapped and only partial
4682
+ * information can be loaded.
4644
4683
  */
4645
4684
  status: ObjectKind;
4646
4685
  /**
@@ -4745,7 +4784,7 @@ export type StorageFund = {
4745
4784
  * storage rebates.
4746
4785
  *
4747
4786
  * The system maintains an invariant that the sum of all storage fees into
4748
- * the storage fund is equal to the sum of of all storage rebates out,
4787
+ * the storage fund is equal to the sum of all storage rebates out,
4749
4788
  * the total storage rebates remaining, and the non-refundable balance.
4750
4789
  */
4751
4790
  nonRefundableBalance?: Maybe<Scalars['BigInt']['output']>;
@@ -4817,6 +4856,21 @@ export type TransactionBlock = {
4817
4856
  * transaction block is a sponsored transaction block.
4818
4857
  */
4819
4858
  gasInput?: Maybe<GasInput>;
4859
+ /**
4860
+ * Returns whether the transaction has been indexed on the fullnode.
4861
+ *
4862
+ * This makes a request to the fullnode if the transaction is not part of
4863
+ * a checkpoint to resolve the index status on the node.
4864
+ *
4865
+ * However, as this relies on the transaction data being already
4866
+ * constructed or fetched from the backing database, it only makes
4867
+ * sense to be used with `Mutation.executeTransactionBlock` on the
4868
+ * resulting effects.
4869
+ *
4870
+ * Otherwise, it is recommended that you use
4871
+ * `Query.isTransactionIndexedOnNode` for optimal performance.
4872
+ */
4873
+ indexedOnNode?: Maybe<Scalars['Boolean']['output']>;
4820
4874
  /**
4821
4875
  * The type of this transaction as well as the commands and/or parameters
4822
4876
  * comprising the transaction of this kind.
@@ -5134,14 +5188,17 @@ export type Validator = {
5134
5188
  operationCap?: Maybe<MoveObject>;
5135
5189
  /**
5136
5190
  * Pending pool token withdrawn during the current epoch, emptied at epoch
5137
- * boundaries.
5191
+ * boundaries. Zero for past epochs.
5138
5192
  */
5139
5193
  pendingPoolTokenWithdraw?: Maybe<Scalars['BigInt']['output']>;
5140
- /** Pending stake amount for this epoch. */
5194
+ /**
5195
+ * Pending stake amount for the current epoch, emptied at epoch boundaries.
5196
+ * Zero for past epochs.
5197
+ */
5141
5198
  pendingStake?: Maybe<Scalars['BigInt']['output']>;
5142
5199
  /**
5143
5200
  * Pending stake withdrawn during the current epoch, emptied at epoch
5144
- * boundaries.
5201
+ * boundaries. Zero for past epochs.
5145
5202
  */
5146
5203
  pendingTotalIotaWithdraw?: Maybe<Scalars['BigInt']['output']>;
5147
5204
  /** Total number of pool tokens issued by the pool. */
@@ -6646,6 +6703,13 @@ export type GetTypeLayoutQuery = {
6646
6703
  export type GetDynamicFieldObjectQueryVariables = Exact<{
6647
6704
  parentId: Scalars['IotaAddress']['input'];
6648
6705
  name: DynamicFieldName;
6706
+ showBcs?: InputMaybe<Scalars['Boolean']['input']>;
6707
+ showContent?: InputMaybe<Scalars['Boolean']['input']>;
6708
+ showDisplay?: InputMaybe<Scalars['Boolean']['input']>;
6709
+ showType?: InputMaybe<Scalars['Boolean']['input']>;
6710
+ showOwner?: InputMaybe<Scalars['Boolean']['input']>;
6711
+ showPreviousTransaction?: InputMaybe<Scalars['Boolean']['input']>;
6712
+ showStorageRebate?: InputMaybe<Scalars['Boolean']['input']>;
6649
6713
  }>;
6650
6714
  export type GetDynamicFieldObjectQuery = {
6651
6715
  __typename?: 'Query';
@@ -6667,6 +6731,12 @@ export type GetDynamicFieldObjectQuery = {
6667
6731
  digest?: string | null;
6668
6732
  version: any;
6669
6733
  storageRebate?: any | null;
6734
+ display?: Array<{
6735
+ __typename?: 'DisplayEntry';
6736
+ key: string;
6737
+ value?: string | null;
6738
+ error?: string | null;
6739
+ }> | null;
6670
6740
  owner?: {
6671
6741
  __typename: 'AddressOwner';
6672
6742
  } | {
@@ -6693,6 +6763,7 @@ export type GetDynamicFieldObjectQuery = {
6693
6763
  __typename?: 'MoveType';
6694
6764
  repr: string;
6695
6765
  layout: any;
6766
+ signature: any;
6696
6767
  };
6697
6768
  } | null;
6698
6769
  } | null;
@@ -7567,6 +7638,13 @@ export type ResolveNameServiceNamesQuery = {
7567
7638
  };
7568
7639
  } | null;
7569
7640
  };
7641
+ export type IsTransactionIndexedOnNodeQueryVariables = Exact<{
7642
+ digest: Scalars['String']['input'];
7643
+ }>;
7644
+ export type IsTransactionIndexedOnNodeQuery = {
7645
+ __typename?: 'Query';
7646
+ isTransactionIndexedOnNode: boolean;
7647
+ };
7570
7648
  export type GetOwnedObjectsQueryVariables = Exact<{
7571
7649
  owner: Scalars['IotaAddress']['input'];
7572
7650
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -8976,6 +9054,19 @@ export type Rpc_Transaction_FieldsFragment = {
8976
9054
  };
8977
9055
  } | null;
8978
9056
  };
9057
+ export type ViewQueryVariables = Exact<{
9058
+ functionName: Scalars['String']['input'];
9059
+ typeArgs?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
9060
+ arguments?: InputMaybe<Array<Scalars['JSON']['input']> | Scalars['JSON']['input']>;
9061
+ }>;
9062
+ export type ViewQuery = {
9063
+ __typename?: 'Query';
9064
+ moveViewCall: {
9065
+ __typename?: 'MoveViewResult';
9066
+ error?: string | null;
9067
+ results?: Array<any> | null;
9068
+ };
9069
+ };
8979
9070
  export declare class TypedDocumentString<TResult, TVariables> extends String implements DocumentTypeDecoration<TResult, TVariables> {
8980
9071
  private value;
8981
9072
  __meta__?: Record<string, any> | undefined;
@@ -9028,6 +9119,7 @@ export declare const GetTotalTransactionBlocksDocument: TypedDocumentString<GetT
9028
9119
  export declare const GetValidatorsApyDocument: TypedDocumentString<GetValidatorsApyQuery, GetValidatorsApyQueryVariables>;
9029
9120
  export declare const ResolveNameServiceAddressDocument: TypedDocumentString<ResolveNameServiceAddressQuery, ResolveNameServiceAddressQueryVariables>;
9030
9121
  export declare const ResolveNameServiceNamesDocument: TypedDocumentString<ResolveNameServiceNamesQuery, ResolveNameServiceNamesQueryVariables>;
9122
+ export declare const IsTransactionIndexedOnNodeDocument: TypedDocumentString<IsTransactionIndexedOnNodeQuery, IsTransactionIndexedOnNodeQueryVariables>;
9031
9123
  export declare const GetOwnedObjectsDocument: TypedDocumentString<GetOwnedObjectsQuery, GetOwnedObjectsQueryVariables>;
9032
9124
  export declare const GetObjectDocument: TypedDocumentString<GetObjectQuery, GetObjectQueryVariables>;
9033
9125
  export declare const TryGetPastObjectDocument: TypedDocumentString<TryGetPastObjectQuery, TryGetPastObjectQueryVariables>;
@@ -9039,4 +9131,5 @@ export declare const QueryTransactionBlocksDocument: TypedDocumentString<QueryTr
9039
9131
  export declare const GetTransactionBlockDocument: TypedDocumentString<GetTransactionBlockQuery, GetTransactionBlockQueryVariables>;
9040
9132
  export declare const MultiGetTransactionBlocksDocument: TypedDocumentString<MultiGetTransactionBlocksQuery, MultiGetTransactionBlocksQueryVariables>;
9041
9133
  export declare const PaginateTransactionBlockListsDocument: TypedDocumentString<PaginateTransactionBlockListsQuery, PaginateTransactionBlockListsQueryVariables>;
9134
+ export declare const ViewDocument: TypedDocumentString<ViewQuery, ViewQueryVariables>;
9042
9135
  export {};