@iota/graphql-transport 0.2.4 → 0.5.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,57 @@
1
1
  # @iota/graphql-transport
2
2
 
3
+ ## 0.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 864fd32: Rename `getLatestIotaSystemState` to `getLatestIotaSystemStateV1` and add a new
8
+ backwards-compatible and future-proof `getLatestIotaSystemState` method that dynamically calls
9
+ ``getLatestIotaSystemStateV1`or`getLatestIotaSystemStateV2` based on the protocol version of the
10
+ node.
11
+
12
+ ### Patch Changes
13
+
14
+ - f5d40a4: Added type mapping for consensus_gc_depth field of ProtocolConfig
15
+ - Updated dependencies [f4d75c7]
16
+ - Updated dependencies [daa968f]
17
+ - Updated dependencies [864fd32]
18
+ - @iota/iota-sdk@1.0.0
19
+ - @iota/bcs@1.0.0
20
+
21
+ ## 0.4.0
22
+
23
+ ### Minor Changes
24
+
25
+ - bdb736e: Update clients after RPC updates to base64
26
+
27
+ ### Patch Changes
28
+
29
+ - 1ad39f9: Update dependencies
30
+ - Updated dependencies [42898f1]
31
+ - Updated dependencies [1ad39f9]
32
+ - Updated dependencies [bdb736e]
33
+ - Updated dependencies [65a0900]
34
+ - @iota/iota-sdk@0.7.0
35
+
36
+ ## 0.3.0
37
+
38
+ ### Minor Changes
39
+
40
+ - 1a4505b: Update clients to support committee selection protocol changes
41
+ - e629a39: Aligns the Typescript SDK for the "fixed gas price" protocol changes:
42
+
43
+ - Add typing support for IotaChangeEpochV2 (computationCharge, computationChargeBurned).
44
+ - Add Typescript SDK client support for versioned IotaSystemStateSummary.
45
+
46
+ ### Patch Changes
47
+
48
+ - Updated dependencies [1a4505b]
49
+ - Updated dependencies [e629a39]
50
+ - Updated dependencies [2717145]
51
+ - Updated dependencies [3fe0747]
52
+ - Updated dependencies [e213517]
53
+ - @iota/iota-sdk@0.6.0
54
+
3
55
  ## 0.2.4
4
56
 
5
57
  ### Patch Changes
package/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  `@iota/graphql-transport` is part of the **IOTA Rebased SDK**, designed specifically for interacting with the IOTA Rebased protocol.
4
4
 
5
- > **Note**: This package is currently supported **only in Testnet and Devnet**, it is **not yet supported in Mainnet**.
6
-
7
5
  This package provides a `IotaTransport` that enables `IotaClient` to make requests using the RPC 2.0
8
6
  (GraphQL) API instead of the JSON RPC API.
9
7
 
@@ -45,6 +43,9 @@ error, or fallback to the JSON RPC API if a `fallbackFullNodeUrl` is provided:
45
43
  - `dryRunTransactionBlock`
46
44
  - `devInspectTransactionBlock`
47
45
  - `executeTransactionBlock`
46
+ - `getParticipationMetrics`
47
+ - `getCirculatingSupply`
48
+ - `getDynamicFieldObjectV2`
48
49
 
49
50
  ### Unsupported parameters
50
51
 
@@ -67,7 +68,7 @@ If an unsupported parameter is used, the request will error, or fallback to JSON
67
68
  - missing `id` for `events`
68
69
  - `getStakes` and `getStakesByIds`
69
70
  - missing `validatorAddress`
70
- - `getLatestIotaSystemState`
71
+ - `getLatestIotaSystemState` and `getLatestIotaSystemStateV2`
71
72
  - missing `stakingPoolMappingsId`, `inactivePoolsId`, `pendingActiveValidatorsId`,
72
73
  `validatorCandidatesId`
73
74
  - missing `reportRecords` on validators
@@ -95,7 +96,7 @@ Some may require multiple requests to properly resolve:
95
96
  - may require additional requests to load all `friends`, `functions`, and `structs`
96
97
  - `getCheckpoint` and `getCheckpoints`,
97
98
  - may require additional requests to load all `transactionBlocks` and `validators`
98
- - `getLatestIotaSystemState`, `getCurrentEpoch`, `getValidatorsApy` and `getCommitteeInfo`:
99
+ - `getLatestIotaSystemState`,`getLatestIotaSystemStateV2`, `getCurrentEpoch`, `getValidatorsApy` and `getCommitteeInfo`:
99
100
  - may require additional requests to load all `validators`
100
101
 
101
102
  ### Pagination
@@ -528,6 +528,64 @@ export type ChangeEpochTransactionSystemPackagesArgs = {
528
528
  first?: InputMaybe<Scalars['Int']['input']>;
529
529
  last?: InputMaybe<Scalars['Int']['input']>;
530
530
  };
531
+ /**
532
+ * A system transaction that updates epoch information on-chain (increments the
533
+ * current epoch). Executed by the system once per epoch, without using gas.
534
+ * Epoch change transactions cannot be submitted by users, because validators
535
+ * will refuse to sign them.
536
+ */
537
+ export type ChangeEpochTransactionV2 = {
538
+ __typename?: 'ChangeEpochTransactionV2';
539
+ /**
540
+ * The total amount of gas charged for computation during the previous
541
+ * epoch (in NANOS).
542
+ */
543
+ computationCharge: Scalars['BigInt']['output'];
544
+ /**
545
+ * The total amount of gas burned for computation during the previous
546
+ * epoch (in NANOS).
547
+ */
548
+ computationChargeBurned: Scalars['BigInt']['output'];
549
+ /** The next (to become) epoch. */
550
+ epoch?: Maybe<Epoch>;
551
+ /**
552
+ * The total gas retained from storage fees, that will not be returned by
553
+ * storage rebates when the relevant objects are cleaned up (in NANOS).
554
+ */
555
+ nonRefundableStorageFee: Scalars['BigInt']['output'];
556
+ /** The protocol version in effect in the new epoch. */
557
+ protocolVersion: Scalars['UInt53']['output'];
558
+ /** Time at which the next epoch will start. */
559
+ startTimestamp: Scalars['DateTime']['output'];
560
+ /**
561
+ * The total amount of gas charged for storage during the previous epoch
562
+ * (in NANOS).
563
+ */
564
+ storageCharge: Scalars['BigInt']['output'];
565
+ /**
566
+ * The IOTA returned to transaction senders for cleaning up objects (in
567
+ * NANOS).
568
+ */
569
+ storageRebate: Scalars['BigInt']['output'];
570
+ /**
571
+ * System packages (specifically framework and move stdlib) that are
572
+ * written before the new epoch starts, to upgrade them on-chain.
573
+ * Validators write these packages out when running the transaction.
574
+ */
575
+ systemPackages: MovePackageConnection;
576
+ };
577
+ /**
578
+ * A system transaction that updates epoch information on-chain (increments the
579
+ * current epoch). Executed by the system once per epoch, without using gas.
580
+ * Epoch change transactions cannot be submitted by users, because validators
581
+ * will refuse to sign them.
582
+ */
583
+ export type ChangeEpochTransactionV2SystemPackagesArgs = {
584
+ after?: InputMaybe<Scalars['String']['input']>;
585
+ before?: InputMaybe<Scalars['String']['input']>;
586
+ first?: InputMaybe<Scalars['Int']['input']>;
587
+ last?: InputMaybe<Scalars['Int']['input']>;
588
+ };
531
589
  /**
532
590
  * Checkpoints contain finalized transactions and are used for node
533
591
  * synchronization and global transaction ordering.
@@ -1186,7 +1244,7 @@ export type EndOfEpochTransactionTransactionsArgs = {
1186
1244
  first?: InputMaybe<Scalars['Int']['input']>;
1187
1245
  last?: InputMaybe<Scalars['Int']['input']>;
1188
1246
  };
1189
- export type EndOfEpochTransactionKind = AuthenticatorStateCreateTransaction | AuthenticatorStateExpireTransaction | BridgeCommitteeInitTransaction | BridgeStateCreateTransaction | ChangeEpochTransaction;
1247
+ export type EndOfEpochTransactionKind = AuthenticatorStateCreateTransaction | AuthenticatorStateExpireTransaction | BridgeCommitteeInitTransaction | BridgeStateCreateTransaction | ChangeEpochTransaction | ChangeEpochTransactionV2;
1190
1248
  export type EndOfEpochTransactionKindConnection = {
1191
1249
  __typename?: 'EndOfEpochTransactionKindConnection';
1192
1250
  /** A list of edges. */
@@ -1491,7 +1549,7 @@ export type GasCostSummary = {
1491
1549
  __typename?: 'GasCostSummary';
1492
1550
  /** Gas paid for executing this transaction (in NANOS). */
1493
1551
  computationCost?: Maybe<Scalars['BigInt']['output']>;
1494
- /** Gas burned for executing this transactions (in NANOS). */
1552
+ /** Gas burned for executing this transaction (in NANOS). */
1495
1553
  computationCostBurned?: Maybe<Scalars['BigInt']['output']>;
1496
1554
  /**
1497
1555
  * Part of storage cost that is not reclaimed when data created by this
@@ -3883,7 +3941,7 @@ export type ServiceConfig = {
3883
3941
  maxTypeNodes: Scalars['Int']['output'];
3884
3942
  /**
3885
3943
  * Maximum time in milliseconds spent waiting for a response from fullnode
3886
- * after issuing a a transaction to execute. Note that the transaction
3944
+ * after issuing a transaction to execute. Note that the transaction
3887
3945
  * may still succeed even in the case of a timeout. Transactions are
3888
3946
  * idempotent, so a transaction that times out should be resubmitted
3889
3947
  * until the network returns a definite response (success or failure, not
@@ -4436,8 +4494,18 @@ export type TransactionBlockFilter = {
4436
4494
  export type TransactionBlockKind = AuthenticatorStateUpdateTransaction | ConsensusCommitPrologueTransaction | EndOfEpochTransaction | GenesisTransaction | ProgrammableTransactionBlock | RandomnessStateUpdateTransaction;
4437
4495
  /** An input filter selecting for either system or programmable transactions. */
4438
4496
  export declare enum TransactionBlockKindInput {
4497
+ /** The authenticator state update transaction block. */
4498
+ AuthenticatorStateUpdateV1 = "AUTHENTICATOR_STATE_UPDATE_V1",
4499
+ /** The consensus commit prologue transaction block. */
4500
+ ConsensusCommitPrologueV1 = "CONSENSUS_COMMIT_PROLOGUE_V1",
4501
+ /** The end of epoch transaction block. */
4502
+ EndOfEpochTx = "END_OF_EPOCH_TX",
4503
+ /** The genesis transaction block. */
4504
+ Genesis = "GENESIS",
4439
4505
  /** A user submitted transaction block. */
4440
4506
  ProgrammableTx = "PROGRAMMABLE_TX",
4507
+ /** The randomness state update transaction block. */
4508
+ RandomnessStateUpdate = "RANDOMNESS_STATE_UPDATE",
4441
4509
  /**
4442
4510
  * A system transaction can be one of several types of transactions.
4443
4511
  * See [unions/transaction-block-kind] for more details.
@@ -4676,6 +4744,8 @@ export type ValidatorSet = {
4676
4744
  __typename?: 'ValidatorSet';
4677
4745
  /** The current set of active validators. */
4678
4746
  activeValidators: ValidatorConnection;
4747
+ /** The current set of committee members. */
4748
+ committeeMembers: ValidatorConnection;
4679
4749
  /** Object ID of the `Table` storing the inactive staking pools. */
4680
4750
  inactivePoolsId?: Maybe<Scalars['IotaAddress']['output']>;
4681
4751
  /** Size of the inactive pools `Table`. */
@@ -4718,6 +4788,13 @@ export type ValidatorSetActiveValidatorsArgs = {
4718
4788
  first?: InputMaybe<Scalars['Int']['input']>;
4719
4789
  last?: InputMaybe<Scalars['Int']['input']>;
4720
4790
  };
4791
+ /** Representation of `0x3::validator_set::ValidatorSet`. */
4792
+ export type ValidatorSetCommitteeMembersArgs = {
4793
+ after?: InputMaybe<Scalars['String']['input']>;
4794
+ before?: InputMaybe<Scalars['String']['input']>;
4795
+ first?: InputMaybe<Scalars['Int']['input']>;
4796
+ last?: InputMaybe<Scalars['Int']['input']>;
4797
+ };
4721
4798
  /**
4722
4799
  * An enum that specifies the intent scope to be used to parse the bytes for
4723
4800
  * signature verification.
@@ -4795,6 +4872,8 @@ export type GetCheckpointQuery = {
4795
4872
  __typename: 'BridgeStateCreateTransaction';
4796
4873
  } | {
4797
4874
  __typename: 'ChangeEpochTransaction';
4875
+ } | {
4876
+ __typename: 'ChangeEpochTransactionV2';
4798
4877
  epoch?: {
4799
4878
  __typename?: 'Epoch';
4800
4879
  epochId: any;
@@ -4812,7 +4891,23 @@ export type GetCheckpointQuery = {
4812
4891
  votingPower?: number | null;
4813
4892
  credentials?: {
4814
4893
  __typename?: 'ValidatorCredentials';
4815
- protocolPubKey?: any | null;
4894
+ authorityPubKey?: any | null;
4895
+ } | null;
4896
+ }>;
4897
+ };
4898
+ committeeMembers: {
4899
+ __typename?: 'ValidatorConnection';
4900
+ pageInfo: {
4901
+ __typename?: 'PageInfo';
4902
+ hasNextPage: boolean;
4903
+ endCursor?: string | null;
4904
+ };
4905
+ nodes: Array<{
4906
+ __typename?: 'Validator';
4907
+ votingPower?: number | null;
4908
+ credentials?: {
4909
+ __typename?: 'ValidatorCredentials';
4910
+ authorityPubKey?: any | null;
4816
4911
  } | null;
4817
4912
  }>;
4818
4913
  };
@@ -4906,6 +5001,8 @@ export type GetCheckpointsQuery = {
4906
5001
  __typename: 'BridgeStateCreateTransaction';
4907
5002
  } | {
4908
5003
  __typename: 'ChangeEpochTransaction';
5004
+ } | {
5005
+ __typename: 'ChangeEpochTransactionV2';
4909
5006
  epoch?: {
4910
5007
  __typename?: 'Epoch';
4911
5008
  epochId: any;
@@ -4923,7 +5020,23 @@ export type GetCheckpointsQuery = {
4923
5020
  votingPower?: number | null;
4924
5021
  credentials?: {
4925
5022
  __typename?: 'ValidatorCredentials';
4926
- protocolPubKey?: any | null;
5023
+ authorityPubKey?: any | null;
5024
+ } | null;
5025
+ }>;
5026
+ };
5027
+ committeeMembers: {
5028
+ __typename?: 'ValidatorConnection';
5029
+ pageInfo: {
5030
+ __typename?: 'PageInfo';
5031
+ hasNextPage: boolean;
5032
+ endCursor?: string | null;
5033
+ };
5034
+ nodes: Array<{
5035
+ __typename?: 'Validator';
5036
+ votingPower?: number | null;
5037
+ credentials?: {
5038
+ __typename?: 'ValidatorCredentials';
5039
+ authorityPubKey?: any | null;
4927
5040
  } | null;
4928
5041
  }>;
4929
5042
  };
@@ -5023,6 +5136,8 @@ export type Rpc_Checkpoint_FieldsFragment = {
5023
5136
  __typename: 'BridgeStateCreateTransaction';
5024
5137
  } | {
5025
5138
  __typename: 'ChangeEpochTransaction';
5139
+ } | {
5140
+ __typename: 'ChangeEpochTransactionV2';
5026
5141
  epoch?: {
5027
5142
  __typename?: 'Epoch';
5028
5143
  epochId: any;
@@ -5040,7 +5155,23 @@ export type Rpc_Checkpoint_FieldsFragment = {
5040
5155
  votingPower?: number | null;
5041
5156
  credentials?: {
5042
5157
  __typename?: 'ValidatorCredentials';
5043
- protocolPubKey?: any | null;
5158
+ authorityPubKey?: any | null;
5159
+ } | null;
5160
+ }>;
5161
+ };
5162
+ committeeMembers: {
5163
+ __typename?: 'ValidatorConnection';
5164
+ pageInfo: {
5165
+ __typename?: 'PageInfo';
5166
+ hasNextPage: boolean;
5167
+ endCursor?: string | null;
5168
+ };
5169
+ nodes: Array<{
5170
+ __typename?: 'Validator';
5171
+ votingPower?: number | null;
5172
+ credentials?: {
5173
+ __typename?: 'ValidatorCredentials';
5174
+ authorityPubKey?: any | null;
5044
5175
  } | null;
5045
5176
  }>;
5046
5177
  };
@@ -5641,7 +5772,7 @@ export type GetCommitteeInfoQuery = {
5641
5772
  epochId: any;
5642
5773
  validatorSet?: {
5643
5774
  __typename?: 'ValidatorSet';
5644
- activeValidators: {
5775
+ committeeMembers: {
5645
5776
  __typename?: 'ValidatorConnection';
5646
5777
  pageInfo: {
5647
5778
  __typename?: 'PageInfo';
@@ -5744,6 +5875,76 @@ export type GetCurrentEpochQuery = {
5744
5875
  };
5745
5876
  }>;
5746
5877
  };
5878
+ committeeMembers: {
5879
+ __typename?: 'ValidatorConnection';
5880
+ pageInfo: {
5881
+ __typename?: 'PageInfo';
5882
+ hasNextPage: boolean;
5883
+ endCursor?: string | null;
5884
+ };
5885
+ nodes: Array<{
5886
+ __typename?: 'Validator';
5887
+ atRisk?: any | null;
5888
+ commissionRate?: number | null;
5889
+ exchangeRatesSize?: any | null;
5890
+ description?: string | null;
5891
+ gasPrice?: any | null;
5892
+ imageUrl?: string | null;
5893
+ name?: string | null;
5894
+ nextEpochCommissionRate?: number | null;
5895
+ nextEpochGasPrice?: any | null;
5896
+ nextEpochStake?: any | null;
5897
+ pendingPoolTokenWithdraw?: any | null;
5898
+ pendingStake?: any | null;
5899
+ pendingTotalIotaWithdraw?: any | null;
5900
+ poolTokenBalance?: any | null;
5901
+ projectUrl?: string | null;
5902
+ rewardsPool?: any | null;
5903
+ stakingPoolActivationEpoch?: any | null;
5904
+ stakingPoolIotaBalance?: any | null;
5905
+ votingPower?: number | null;
5906
+ exchangeRates?: {
5907
+ __typename?: 'MoveObject';
5908
+ address: any;
5909
+ contents?: {
5910
+ __typename?: 'MoveValue';
5911
+ json: any;
5912
+ } | null;
5913
+ } | null;
5914
+ credentials?: {
5915
+ __typename?: 'ValidatorCredentials';
5916
+ netAddress?: string | null;
5917
+ networkPubKey?: any | null;
5918
+ p2PAddress?: string | null;
5919
+ primaryAddress?: string | null;
5920
+ authorityPubKey?: any | null;
5921
+ proofOfPossession?: any | null;
5922
+ protocolPubKey?: any | null;
5923
+ } | null;
5924
+ nextEpochCredentials?: {
5925
+ __typename?: 'ValidatorCredentials';
5926
+ netAddress?: string | null;
5927
+ networkPubKey?: any | null;
5928
+ p2PAddress?: string | null;
5929
+ primaryAddress?: string | null;
5930
+ authorityPubKey?: any | null;
5931
+ proofOfPossession?: any | null;
5932
+ protocolPubKey?: any | null;
5933
+ } | null;
5934
+ operationCap?: {
5935
+ __typename?: 'MoveObject';
5936
+ address: any;
5937
+ } | null;
5938
+ stakingPool?: {
5939
+ __typename?: 'MoveObject';
5940
+ address: any;
5941
+ } | null;
5942
+ address: {
5943
+ __typename?: 'Address';
5944
+ address: any;
5945
+ };
5946
+ }>;
5947
+ };
5747
5948
  } | null;
5748
5949
  firstCheckpoint: {
5749
5950
  __typename?: 'CheckpointConnection';
@@ -5834,6 +6035,76 @@ export type PaginateEpochValidatorsQuery = {
5834
6035
  };
5835
6036
  }>;
5836
6037
  };
6038
+ committeeMembers: {
6039
+ __typename?: 'ValidatorConnection';
6040
+ pageInfo: {
6041
+ __typename?: 'PageInfo';
6042
+ hasNextPage: boolean;
6043
+ endCursor?: string | null;
6044
+ };
6045
+ nodes: Array<{
6046
+ __typename?: 'Validator';
6047
+ atRisk?: any | null;
6048
+ commissionRate?: number | null;
6049
+ exchangeRatesSize?: any | null;
6050
+ description?: string | null;
6051
+ gasPrice?: any | null;
6052
+ imageUrl?: string | null;
6053
+ name?: string | null;
6054
+ nextEpochCommissionRate?: number | null;
6055
+ nextEpochGasPrice?: any | null;
6056
+ nextEpochStake?: any | null;
6057
+ pendingPoolTokenWithdraw?: any | null;
6058
+ pendingStake?: any | null;
6059
+ pendingTotalIotaWithdraw?: any | null;
6060
+ poolTokenBalance?: any | null;
6061
+ projectUrl?: string | null;
6062
+ rewardsPool?: any | null;
6063
+ stakingPoolActivationEpoch?: any | null;
6064
+ stakingPoolIotaBalance?: any | null;
6065
+ votingPower?: number | null;
6066
+ exchangeRates?: {
6067
+ __typename?: 'MoveObject';
6068
+ address: any;
6069
+ contents?: {
6070
+ __typename?: 'MoveValue';
6071
+ json: any;
6072
+ } | null;
6073
+ } | null;
6074
+ credentials?: {
6075
+ __typename?: 'ValidatorCredentials';
6076
+ netAddress?: string | null;
6077
+ networkPubKey?: any | null;
6078
+ p2PAddress?: string | null;
6079
+ primaryAddress?: string | null;
6080
+ authorityPubKey?: any | null;
6081
+ proofOfPossession?: any | null;
6082
+ protocolPubKey?: any | null;
6083
+ } | null;
6084
+ nextEpochCredentials?: {
6085
+ __typename?: 'ValidatorCredentials';
6086
+ netAddress?: string | null;
6087
+ networkPubKey?: any | null;
6088
+ p2PAddress?: string | null;
6089
+ primaryAddress?: string | null;
6090
+ authorityPubKey?: any | null;
6091
+ proofOfPossession?: any | null;
6092
+ protocolPubKey?: any | null;
6093
+ } | null;
6094
+ operationCap?: {
6095
+ __typename?: 'MoveObject';
6096
+ address: any;
6097
+ } | null;
6098
+ stakingPool?: {
6099
+ __typename?: 'MoveObject';
6100
+ address: any;
6101
+ } | null;
6102
+ address: {
6103
+ __typename?: 'Address';
6104
+ address: any;
6105
+ };
6106
+ }>;
6107
+ };
5837
6108
  } | null;
5838
6109
  } | null;
5839
6110
  };
@@ -6172,6 +6443,76 @@ export type GetLatestIotaSystemStateQuery = {
6172
6443
  };
6173
6444
  }>;
6174
6445
  };
6446
+ committeeMembers: {
6447
+ __typename?: 'ValidatorConnection';
6448
+ pageInfo: {
6449
+ __typename?: 'PageInfo';
6450
+ hasNextPage: boolean;
6451
+ endCursor?: string | null;
6452
+ };
6453
+ nodes: Array<{
6454
+ __typename?: 'Validator';
6455
+ atRisk?: any | null;
6456
+ commissionRate?: number | null;
6457
+ exchangeRatesSize?: any | null;
6458
+ description?: string | null;
6459
+ gasPrice?: any | null;
6460
+ imageUrl?: string | null;
6461
+ name?: string | null;
6462
+ nextEpochCommissionRate?: number | null;
6463
+ nextEpochGasPrice?: any | null;
6464
+ nextEpochStake?: any | null;
6465
+ pendingPoolTokenWithdraw?: any | null;
6466
+ pendingStake?: any | null;
6467
+ pendingTotalIotaWithdraw?: any | null;
6468
+ poolTokenBalance?: any | null;
6469
+ projectUrl?: string | null;
6470
+ rewardsPool?: any | null;
6471
+ stakingPoolActivationEpoch?: any | null;
6472
+ stakingPoolIotaBalance?: any | null;
6473
+ votingPower?: number | null;
6474
+ exchangeRates?: {
6475
+ __typename?: 'MoveObject';
6476
+ address: any;
6477
+ contents?: {
6478
+ __typename?: 'MoveValue';
6479
+ json: any;
6480
+ } | null;
6481
+ } | null;
6482
+ credentials?: {
6483
+ __typename?: 'ValidatorCredentials';
6484
+ netAddress?: string | null;
6485
+ networkPubKey?: any | null;
6486
+ p2PAddress?: string | null;
6487
+ primaryAddress?: string | null;
6488
+ authorityPubKey?: any | null;
6489
+ proofOfPossession?: any | null;
6490
+ protocolPubKey?: any | null;
6491
+ } | null;
6492
+ nextEpochCredentials?: {
6493
+ __typename?: 'ValidatorCredentials';
6494
+ netAddress?: string | null;
6495
+ networkPubKey?: any | null;
6496
+ p2PAddress?: string | null;
6497
+ primaryAddress?: string | null;
6498
+ authorityPubKey?: any | null;
6499
+ proofOfPossession?: any | null;
6500
+ protocolPubKey?: any | null;
6501
+ } | null;
6502
+ operationCap?: {
6503
+ __typename?: 'MoveObject';
6504
+ address: any;
6505
+ } | null;
6506
+ stakingPool?: {
6507
+ __typename?: 'MoveObject';
6508
+ address: any;
6509
+ } | null;
6510
+ address: {
6511
+ __typename?: 'Address';
6512
+ address: any;
6513
+ };
6514
+ }>;
6515
+ };
6175
6516
  } | null;
6176
6517
  } | null;
6177
6518
  };