@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.
@@ -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
  };
@@ -42,7 +42,12 @@ var StakeStatus = /* @__PURE__ */ ((StakeStatus2) => {
42
42
  return StakeStatus2;
43
43
  })(StakeStatus || {});
44
44
  var TransactionBlockKindInput = /* @__PURE__ */ ((TransactionBlockKindInput2) => {
45
+ TransactionBlockKindInput2["AuthenticatorStateUpdateV1"] = "AUTHENTICATOR_STATE_UPDATE_V1";
46
+ TransactionBlockKindInput2["ConsensusCommitPrologueV1"] = "CONSENSUS_COMMIT_PROLOGUE_V1";
47
+ TransactionBlockKindInput2["EndOfEpochTx"] = "END_OF_EPOCH_TX";
48
+ TransactionBlockKindInput2["Genesis"] = "GENESIS";
45
49
  TransactionBlockKindInput2["ProgrammableTx"] = "PROGRAMMABLE_TX";
50
+ TransactionBlockKindInput2["RandomnessStateUpdate"] = "RANDOMNESS_STATE_UPDATE";
46
51
  TransactionBlockKindInput2["SystemTx"] = "SYSTEM_TX";
47
52
  return TransactionBlockKindInput2;
48
53
  })(TransactionBlockKindInput || {});
@@ -88,7 +93,7 @@ const Rpc_Checkpoint_FieldsFragmentDoc = new TypedDocumentString(`
88
93
  digest
89
94
  }
90
95
  }
91
- endOfEpoch: transactionBlocks(last: 1, filter: {kind: SYSTEM_TX}) {
96
+ endOfEpoch: transactionBlocks(last: 1, filter: {kind: END_OF_EPOCH_TX}) {
92
97
  nodes {
93
98
  kind {
94
99
  __typename
@@ -96,7 +101,7 @@ const Rpc_Checkpoint_FieldsFragmentDoc = new TypedDocumentString(`
96
101
  transactions(last: 1) {
97
102
  nodes {
98
103
  __typename
99
- ... on ChangeEpochTransaction {
104
+ ... on ChangeEpochTransactionV2 {
100
105
  epoch {
101
106
  validatorSet {
102
107
  activeValidators {
@@ -106,7 +111,19 @@ const Rpc_Checkpoint_FieldsFragmentDoc = new TypedDocumentString(`
106
111
  }
107
112
  nodes {
108
113
  credentials {
109
- protocolPubKey
114
+ authorityPubKey
115
+ }
116
+ votingPower
117
+ }
118
+ }
119
+ committeeMembers {
120
+ pageInfo {
121
+ hasNextPage
122
+ endCursor
123
+ }
124
+ nodes {
125
+ credentials {
126
+ authorityPubKey
110
127
  }
111
128
  votingPower
112
129
  }
@@ -692,7 +709,7 @@ const GetCheckpointDocument = new TypedDocumentString(`
692
709
  digest
693
710
  }
694
711
  }
695
- endOfEpoch: transactionBlocks(last: 1, filter: {kind: SYSTEM_TX}) {
712
+ endOfEpoch: transactionBlocks(last: 1, filter: {kind: END_OF_EPOCH_TX}) {
696
713
  nodes {
697
714
  kind {
698
715
  __typename
@@ -700,7 +717,7 @@ const GetCheckpointDocument = new TypedDocumentString(`
700
717
  transactions(last: 1) {
701
718
  nodes {
702
719
  __typename
703
- ... on ChangeEpochTransaction {
720
+ ... on ChangeEpochTransactionV2 {
704
721
  epoch {
705
722
  validatorSet {
706
723
  activeValidators {
@@ -710,7 +727,19 @@ const GetCheckpointDocument = new TypedDocumentString(`
710
727
  }
711
728
  nodes {
712
729
  credentials {
713
- protocolPubKey
730
+ authorityPubKey
731
+ }
732
+ votingPower
733
+ }
734
+ }
735
+ committeeMembers {
736
+ pageInfo {
737
+ hasNextPage
738
+ endCursor
739
+ }
740
+ nodes {
741
+ credentials {
742
+ authorityPubKey
714
743
  }
715
744
  votingPower
716
745
  }
@@ -769,7 +798,7 @@ const GetCheckpointsDocument = new TypedDocumentString(`
769
798
  digest
770
799
  }
771
800
  }
772
- endOfEpoch: transactionBlocks(last: 1, filter: {kind: SYSTEM_TX}) {
801
+ endOfEpoch: transactionBlocks(last: 1, filter: {kind: END_OF_EPOCH_TX}) {
773
802
  nodes {
774
803
  kind {
775
804
  __typename
@@ -777,7 +806,7 @@ const GetCheckpointsDocument = new TypedDocumentString(`
777
806
  transactions(last: 1) {
778
807
  nodes {
779
808
  __typename
780
- ... on ChangeEpochTransaction {
809
+ ... on ChangeEpochTransactionV2 {
781
810
  epoch {
782
811
  validatorSet {
783
812
  activeValidators {
@@ -787,7 +816,19 @@ const GetCheckpointsDocument = new TypedDocumentString(`
787
816
  }
788
817
  nodes {
789
818
  credentials {
790
- protocolPubKey
819
+ authorityPubKey
820
+ }
821
+ votingPower
822
+ }
823
+ }
824
+ committeeMembers {
825
+ pageInfo {
826
+ hasNextPage
827
+ endCursor
828
+ }
829
+ nodes {
830
+ credentials {
831
+ authorityPubKey
791
832
  }
792
833
  votingPower
793
834
  }
@@ -1252,7 +1293,7 @@ const GetCommitteeInfoDocument = new TypedDocumentString(`
1252
1293
  epoch(id: $epochId) {
1253
1294
  epochId
1254
1295
  validatorSet {
1255
- activeValidators(after: $after) {
1296
+ committeeMembers(after: $after) {
1256
1297
  pageInfo {
1257
1298
  hasNextPage
1258
1299
  endCursor
@@ -1282,6 +1323,15 @@ const GetCurrentEpochDocument = new TypedDocumentString(`
1282
1323
  ...RPC_VALIDATOR_FIELDS
1283
1324
  }
1284
1325
  }
1326
+ committeeMembers {
1327
+ pageInfo {
1328
+ hasNextPage
1329
+ endCursor
1330
+ }
1331
+ nodes {
1332
+ ...RPC_VALIDATOR_FIELDS
1333
+ }
1334
+ }
1285
1335
  }
1286
1336
  totalTransactions
1287
1337
  firstCheckpoint: checkpoints(first: 1) {
@@ -1359,6 +1409,15 @@ const PaginateEpochValidatorsDocument = new TypedDocumentString(`
1359
1409
  ...RPC_VALIDATOR_FIELDS
1360
1410
  }
1361
1411
  }
1412
+ committeeMembers(after: $after) {
1413
+ pageInfo {
1414
+ hasNextPage
1415
+ endCursor
1416
+ }
1417
+ nodes {
1418
+ ...RPC_VALIDATOR_FIELDS
1419
+ }
1420
+ }
1362
1421
  }
1363
1422
  }
1364
1423
  }
@@ -1560,6 +1619,15 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
1560
1619
  ...RPC_VALIDATOR_FIELDS
1561
1620
  }
1562
1621
  }
1622
+ committeeMembers {
1623
+ pageInfo {
1624
+ hasNextPage
1625
+ endCursor
1626
+ }
1627
+ nodes {
1628
+ ...RPC_VALIDATOR_FIELDS
1629
+ }
1630
+ }
1563
1631
  inactivePoolsSize
1564
1632
  pendingActiveValidatorsSize
1565
1633
  stakingPoolMappingsSize