@iota/graphql-transport 0.1.1 → 0.2.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +1 -1
  3. package/dist/cjs/generated/queries.d.ts +1054 -1944
  4. package/dist/cjs/generated/queries.js +126 -752
  5. package/dist/cjs/generated/queries.js.map +3 -3
  6. package/dist/cjs/mappers/bcs.js.map +1 -1
  7. package/dist/cjs/mappers/move.js.map +2 -2
  8. package/dist/cjs/mappers/transaction-block.d.ts +1 -0
  9. package/dist/cjs/mappers/transaction-block.js +316 -146
  10. package/dist/cjs/mappers/transaction-block.js.map +2 -2
  11. package/dist/cjs/mappers/validator.js +4 -6
  12. package/dist/cjs/mappers/validator.js.map +2 -2
  13. package/dist/cjs/methods.js +26 -58
  14. package/dist/cjs/methods.js.map +2 -2
  15. package/dist/cjs/transport.d.ts +1 -1
  16. package/dist/cjs/transport.js +18 -33
  17. package/dist/cjs/transport.js.map +2 -2
  18. package/dist/esm/generated/queries.d.ts +1054 -1944
  19. package/dist/esm/generated/queries.js +126 -752
  20. package/dist/esm/generated/queries.js.map +3 -3
  21. package/dist/esm/mappers/bcs.js.map +1 -1
  22. package/dist/esm/mappers/move.js.map +2 -2
  23. package/dist/esm/mappers/transaction-block.d.ts +1 -0
  24. package/dist/esm/mappers/transaction-block.js +318 -148
  25. package/dist/esm/mappers/transaction-block.js.map +2 -2
  26. package/dist/esm/mappers/validator.js +4 -6
  27. package/dist/esm/mappers/validator.js.map +2 -2
  28. package/dist/esm/methods.js +27 -61
  29. package/dist/esm/methods.js.map +2 -2
  30. package/dist/esm/transport.d.ts +1 -1
  31. package/dist/esm/transport.js +17 -32
  32. package/dist/esm/transport.js.map +2 -2
  33. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  34. package/dist/tsconfig.tsbuildinfo +1 -1
  35. package/package.json +16 -16
@@ -20,7 +20,6 @@ var queries_exports = {};
20
20
  __export(queries_exports, {
21
21
  AddressTransactionBlockRelationship: () => AddressTransactionBlockRelationship,
22
22
  DevInspectTransactionBlockDocument: () => DevInspectTransactionBlockDocument,
23
- DomainFormat: () => DomainFormat,
24
23
  DryRunTransactionBlockDocument: () => DryRunTransactionBlockDocument,
25
24
  ExecuteTransactionBlockDocument: () => ExecuteTransactionBlockDocument,
26
25
  ExecutionStatus: () => ExecutionStatus,
@@ -66,8 +65,6 @@ __export(queries_exports, {
66
65
  Paginate_Transaction_ListsFragmentDoc: () => Paginate_Transaction_ListsFragmentDoc,
67
66
  QueryEventsDocument: () => QueryEventsDocument,
68
67
  QueryTransactionBlocksDocument: () => QueryTransactionBlocksDocument,
69
- ResolveNameServiceAddressDocument: () => ResolveNameServiceAddressDocument,
70
- ResolveNameServiceNamesDocument: () => ResolveNameServiceNamesDocument,
71
68
  Rpc_Checkpoint_FieldsFragmentDoc: () => Rpc_Checkpoint_FieldsFragmentDoc,
72
69
  Rpc_Credential_FieldsFragmentDoc: () => Rpc_Credential_FieldsFragmentDoc,
73
70
  Rpc_Events_FieldsFragmentDoc: () => Rpc_Events_FieldsFragmentDoc,
@@ -92,11 +89,6 @@ var AddressTransactionBlockRelationship = /* @__PURE__ */ ((AddressTransactionBl
92
89
  AddressTransactionBlockRelationship2["Sign"] = "SIGN";
93
90
  return AddressTransactionBlockRelationship2;
94
91
  })(AddressTransactionBlockRelationship || {});
95
- var DomainFormat = /* @__PURE__ */ ((DomainFormat2) => {
96
- DomainFormat2["At"] = "AT";
97
- DomainFormat2["Dot"] = "DOT";
98
- return DomainFormat2;
99
- })(DomainFormat || {});
100
92
  var ExecutionStatus = /* @__PURE__ */ ((ExecutionStatus2) => {
101
93
  ExecutionStatus2["Failure"] = "FAILURE";
102
94
  ExecutionStatus2["Success"] = "SUCCESS";
@@ -106,7 +98,6 @@ var Feature = /* @__PURE__ */ ((Feature2) => {
106
98
  Feature2["Analytics"] = "ANALYTICS";
107
99
  Feature2["Coins"] = "COINS";
108
100
  Feature2["DynamicFields"] = "DYNAMIC_FIELDS";
109
- Feature2["NameService"] = "NAME_SERVICE";
110
101
  Feature2["Subscriptions"] = "SUBSCRIPTIONS";
111
102
  Feature2["SystemState"] = "SYSTEM_STATE";
112
103
  return Feature2;
@@ -125,8 +116,7 @@ var MoveVisibility = /* @__PURE__ */ ((MoveVisibility2) => {
125
116
  return MoveVisibility2;
126
117
  })(MoveVisibility || {});
127
118
  var ObjectKind = /* @__PURE__ */ ((ObjectKind2) => {
128
- ObjectKind2["Historical"] = "HISTORICAL";
129
- ObjectKind2["Live"] = "LIVE";
119
+ ObjectKind2["Indexed"] = "INDEXED";
130
120
  ObjectKind2["NotIndexed"] = "NOT_INDEXED";
131
121
  ObjectKind2["WrappedOrDeleted"] = "WRAPPED_OR_DELETED";
132
122
  return ObjectKind2;
@@ -227,8 +217,7 @@ const Rpc_Credential_FieldsFragmentDoc = new TypedDocumentString(`
227
217
  networkPubKey
228
218
  p2PAddress
229
219
  primaryAddress
230
- workerPubKey
231
- workerAddress
220
+ authorityPubKey
232
221
  proofOfPossession
233
222
  protocolPubKey
234
223
  }
@@ -282,8 +271,7 @@ const Rpc_Validator_FieldsFragmentDoc = new TypedDocumentString(`
282
271
  networkPubKey
283
272
  p2PAddress
284
273
  primaryAddress
285
- workerPubKey
286
- workerAddress
274
+ authorityPubKey
287
275
  proofOfPossession
288
276
  protocolPubKey
289
277
  }`, { "fragmentName": "RPC_VALIDATOR_FIELDS" });
@@ -607,27 +595,15 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
607
595
  amount
608
596
  }
609
597
  }
610
- dependencies(after: $afterDependencies) @include(if: $hasMoreDependencies) {
611
- pageInfo {
612
- hasNextPage
613
- endCursor
614
- }
615
- nodes {
616
- digest
617
- }
618
- }
619
598
  objectChanges(after: $afterObjectChanges) @include(if: $hasMoreObjectChanges) {
620
599
  pageInfo {
621
600
  hasNextPage
622
601
  endCursor
623
602
  }
624
603
  nodes {
625
- idCreated
626
- idDeleted
604
+ address
627
605
  inputState {
628
606
  version
629
- digest
630
- address
631
607
  asMoveObject {
632
608
  contents {
633
609
  type {
@@ -635,14 +611,8 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
635
611
  }
636
612
  }
637
613
  }
638
- owner {
639
- ...RPC_OBJECT_OWNER_FIELDS
640
- }
641
614
  }
642
615
  outputState {
643
- version
644
- digest
645
- address
646
616
  asMoveObject {
647
617
  contents {
648
618
  type {
@@ -650,36 +620,19 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
650
620
  }
651
621
  }
652
622
  }
653
- owner {
654
- ...RPC_OBJECT_OWNER_FIELDS
623
+ asMovePackage {
624
+ modules(first: 10) {
625
+ nodes {
626
+ name
627
+ }
628
+ }
655
629
  }
656
630
  }
657
631
  }
658
632
  }
659
633
  }
660
634
  }
661
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
662
- __typename
663
- ... on AddressOwner {
664
- owner {
665
- asObject {
666
- address
667
- }
668
- asAddress {
669
- address
670
- }
671
- }
672
- }
673
- ... on Parent {
674
- parent {
675
- address
676
- }
677
- }
678
- ... on Shared {
679
- initialSharedVersion
680
- }
681
- }
682
- fragment RPC_EVENTS_FIELDS on Event {
635
+ fragment RPC_EVENTS_FIELDS on Event {
683
636
  sendingModule {
684
637
  package {
685
638
  address
@@ -706,6 +659,9 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
706
659
  }
707
660
  signatures
708
661
  effects {
662
+ bcs @include(if: $showEffects)
663
+ bcs @include(if: $showObjectChanges)
664
+ bcs @include(if: $showRawEffects)
709
665
  events @include(if: $showEvents) {
710
666
  pageInfo {
711
667
  hasNextPage
@@ -739,70 +695,15 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
739
695
  amount
740
696
  }
741
697
  }
742
- dependencies @include(if: $showEffects) {
743
- pageInfo {
744
- hasNextPage
745
- endCursor
746
- }
747
- nodes {
748
- digest
749
- }
750
- }
751
- status @include(if: $showEffects)
752
- gasEffects @include(if: $showEffects) {
753
- gasObject {
754
- owner {
755
- ...RPC_OBJECT_OWNER_FIELDS
756
- }
757
- digest
758
- version
759
- address
760
- }
761
- gasSummary {
762
- storageCost
763
- storageRebate
764
- nonRefundableStorageFee
765
- computationCost
766
- }
767
- }
768
- executedEpoch: epoch @include(if: $showEffects) {
769
- epochId
770
- }
771
- objectChanges @include(if: $showEffects) {
772
- pageInfo {
773
- hasNextPage
774
- endCursor
775
- }
776
- nodes {
777
- idCreated
778
- idDeleted
779
- inputState {
780
- version
781
- digest
782
- address
783
- }
784
- outputState {
785
- version
786
- digest
787
- address
788
- owner {
789
- ...RPC_OBJECT_OWNER_FIELDS
790
- }
791
- }
792
- }
793
- }
794
698
  objectChanges @include(if: $showObjectChanges) {
795
699
  pageInfo {
796
700
  hasNextPage
797
701
  endCursor
798
702
  }
799
703
  nodes {
800
- idCreated
801
- idDeleted
704
+ address
802
705
  inputState {
803
706
  version
804
- digest
805
- address
806
707
  asMoveObject {
807
708
  contents {
808
709
  type {
@@ -810,14 +711,8 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
810
711
  }
811
712
  }
812
713
  }
813
- owner {
814
- ...RPC_OBJECT_OWNER_FIELDS
815
- }
816
714
  }
817
715
  outputState {
818
- version
819
- digest
820
- address
821
716
  asMoveObject {
822
717
  contents {
823
718
  type {
@@ -825,36 +720,19 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
825
720
  }
826
721
  }
827
722
  }
828
- owner {
829
- ...RPC_OBJECT_OWNER_FIELDS
723
+ asMovePackage {
724
+ modules(first: 10) {
725
+ nodes {
726
+ name
727
+ }
728
+ }
830
729
  }
831
730
  }
832
731
  }
833
732
  }
834
733
  }
835
734
  }
836
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
837
- __typename
838
- ... on AddressOwner {
839
- owner {
840
- asObject {
841
- address
842
- }
843
- asAddress {
844
- address
845
- }
846
- }
847
- }
848
- ... on Parent {
849
- parent {
850
- address
851
- }
852
- }
853
- ... on Shared {
854
- initialSharedVersion
855
- }
856
- }
857
- fragment RPC_EVENTS_FIELDS on Event {
735
+ fragment RPC_EVENTS_FIELDS on Event {
858
736
  sendingModule {
859
737
  package {
860
738
  address
@@ -1031,7 +909,7 @@ const PaginateCheckpointTransactionBlocksDocument = new TypedDocumentString(`
1031
909
  }
1032
910
  `);
1033
911
  const DevInspectTransactionBlockDocument = new TypedDocumentString(`
1034
- query devInspectTransactionBlock($txBytes: String!, $txMeta: TransactionMetadata!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
912
+ query devInspectTransactionBlock($txBytes: String!, $txMeta: TransactionMetadata!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
1035
913
  dryRunTransactionBlock(txBytes: $txBytes, txMeta: $txMeta) {
1036
914
  error
1037
915
  results {
@@ -1063,28 +941,7 @@ const DevInspectTransactionBlockDocument = new TypedDocumentString(`
1063
941
  }
1064
942
  }
1065
943
  }
1066
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
1067
- __typename
1068
- ... on AddressOwner {
1069
- owner {
1070
- asObject {
1071
- address
1072
- }
1073
- asAddress {
1074
- address
1075
- }
1076
- }
1077
- }
1078
- ... on Parent {
1079
- parent {
1080
- address
1081
- }
1082
- }
1083
- ... on Shared {
1084
- initialSharedVersion
1085
- }
1086
- }
1087
- fragment RPC_EVENTS_FIELDS on Event {
944
+ fragment RPC_EVENTS_FIELDS on Event {
1088
945
  sendingModule {
1089
946
  package {
1090
947
  address
@@ -1110,6 +967,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1110
967
  }
1111
968
  signatures
1112
969
  effects {
970
+ bcs @include(if: $showEffects)
971
+ bcs @include(if: $showObjectChanges)
972
+ bcs @include(if: $showRawEffects)
1113
973
  events @include(if: $showEvents) {
1114
974
  pageInfo {
1115
975
  hasNextPage
@@ -1143,70 +1003,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1143
1003
  amount
1144
1004
  }
1145
1005
  }
1146
- dependencies @include(if: $showEffects) {
1147
- pageInfo {
1148
- hasNextPage
1149
- endCursor
1150
- }
1151
- nodes {
1152
- digest
1153
- }
1154
- }
1155
- status @include(if: $showEffects)
1156
- gasEffects @include(if: $showEffects) {
1157
- gasObject {
1158
- owner {
1159
- ...RPC_OBJECT_OWNER_FIELDS
1160
- }
1161
- digest
1162
- version
1163
- address
1164
- }
1165
- gasSummary {
1166
- storageCost
1167
- storageRebate
1168
- nonRefundableStorageFee
1169
- computationCost
1170
- }
1171
- }
1172
- executedEpoch: epoch @include(if: $showEffects) {
1173
- epochId
1174
- }
1175
- objectChanges @include(if: $showEffects) {
1176
- pageInfo {
1177
- hasNextPage
1178
- endCursor
1179
- }
1180
- nodes {
1181
- idCreated
1182
- idDeleted
1183
- inputState {
1184
- version
1185
- digest
1186
- address
1187
- }
1188
- outputState {
1189
- version
1190
- digest
1191
- address
1192
- owner {
1193
- ...RPC_OBJECT_OWNER_FIELDS
1194
- }
1195
- }
1196
- }
1197
- }
1198
1006
  objectChanges @include(if: $showObjectChanges) {
1199
1007
  pageInfo {
1200
1008
  hasNextPage
1201
1009
  endCursor
1202
1010
  }
1203
1011
  nodes {
1204
- idCreated
1205
- idDeleted
1012
+ address
1206
1013
  inputState {
1207
1014
  version
1208
- digest
1209
- address
1210
1015
  asMoveObject {
1211
1016
  contents {
1212
1017
  type {
@@ -1214,14 +1019,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1214
1019
  }
1215
1020
  }
1216
1021
  }
1217
- owner {
1218
- ...RPC_OBJECT_OWNER_FIELDS
1219
- }
1220
1022
  }
1221
1023
  outputState {
1222
- version
1223
- digest
1224
- address
1225
1024
  asMoveObject {
1226
1025
  contents {
1227
1026
  type {
@@ -1229,8 +1028,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1229
1028
  }
1230
1029
  }
1231
1030
  }
1232
- owner {
1233
- ...RPC_OBJECT_OWNER_FIELDS
1031
+ asMovePackage {
1032
+ modules(first: 10) {
1033
+ nodes {
1034
+ name
1035
+ }
1036
+ }
1234
1037
  }
1235
1038
  }
1236
1039
  }
@@ -1238,7 +1041,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1238
1041
  }
1239
1042
  }`);
1240
1043
  const DryRunTransactionBlockDocument = new TypedDocumentString(`
1241
- query dryRunTransactionBlock($txBytes: String!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
1044
+ query dryRunTransactionBlock($txBytes: String!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
1242
1045
  dryRunTransactionBlock(txBytes: $txBytes) {
1243
1046
  error
1244
1047
  transaction {
@@ -1246,28 +1049,7 @@ const DryRunTransactionBlockDocument = new TypedDocumentString(`
1246
1049
  }
1247
1050
  }
1248
1051
  }
1249
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
1250
- __typename
1251
- ... on AddressOwner {
1252
- owner {
1253
- asObject {
1254
- address
1255
- }
1256
- asAddress {
1257
- address
1258
- }
1259
- }
1260
- }
1261
- ... on Parent {
1262
- parent {
1263
- address
1264
- }
1265
- }
1266
- ... on Shared {
1267
- initialSharedVersion
1268
- }
1269
- }
1270
- fragment RPC_EVENTS_FIELDS on Event {
1052
+ fragment RPC_EVENTS_FIELDS on Event {
1271
1053
  sendingModule {
1272
1054
  package {
1273
1055
  address
@@ -1293,6 +1075,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1293
1075
  }
1294
1076
  signatures
1295
1077
  effects {
1078
+ bcs @include(if: $showEffects)
1079
+ bcs @include(if: $showObjectChanges)
1080
+ bcs @include(if: $showRawEffects)
1296
1081
  events @include(if: $showEvents) {
1297
1082
  pageInfo {
1298
1083
  hasNextPage
@@ -1326,70 +1111,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1326
1111
  amount
1327
1112
  }
1328
1113
  }
1329
- dependencies @include(if: $showEffects) {
1330
- pageInfo {
1331
- hasNextPage
1332
- endCursor
1333
- }
1334
- nodes {
1335
- digest
1336
- }
1337
- }
1338
- status @include(if: $showEffects)
1339
- gasEffects @include(if: $showEffects) {
1340
- gasObject {
1341
- owner {
1342
- ...RPC_OBJECT_OWNER_FIELDS
1343
- }
1344
- digest
1345
- version
1346
- address
1347
- }
1348
- gasSummary {
1349
- storageCost
1350
- storageRebate
1351
- nonRefundableStorageFee
1352
- computationCost
1353
- }
1354
- }
1355
- executedEpoch: epoch @include(if: $showEffects) {
1356
- epochId
1357
- }
1358
- objectChanges @include(if: $showEffects) {
1359
- pageInfo {
1360
- hasNextPage
1361
- endCursor
1362
- }
1363
- nodes {
1364
- idCreated
1365
- idDeleted
1366
- inputState {
1367
- version
1368
- digest
1369
- address
1370
- }
1371
- outputState {
1372
- version
1373
- digest
1374
- address
1375
- owner {
1376
- ...RPC_OBJECT_OWNER_FIELDS
1377
- }
1378
- }
1379
- }
1380
- }
1381
1114
  objectChanges @include(if: $showObjectChanges) {
1382
1115
  pageInfo {
1383
1116
  hasNextPage
1384
1117
  endCursor
1385
1118
  }
1386
1119
  nodes {
1387
- idCreated
1388
- idDeleted
1120
+ address
1389
1121
  inputState {
1390
1122
  version
1391
- digest
1392
- address
1393
1123
  asMoveObject {
1394
1124
  contents {
1395
1125
  type {
@@ -1397,14 +1127,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1397
1127
  }
1398
1128
  }
1399
1129
  }
1400
- owner {
1401
- ...RPC_OBJECT_OWNER_FIELDS
1402
- }
1403
1130
  }
1404
1131
  outputState {
1405
- version
1406
- digest
1407
- address
1408
1132
  asMoveObject {
1409
1133
  contents {
1410
1134
  type {
@@ -1412,8 +1136,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1412
1136
  }
1413
1137
  }
1414
1138
  }
1415
- owner {
1416
- ...RPC_OBJECT_OWNER_FIELDS
1139
+ asMovePackage {
1140
+ modules(first: 10) {
1141
+ nodes {
1142
+ name
1143
+ }
1144
+ }
1417
1145
  }
1418
1146
  }
1419
1147
  }
@@ -1421,7 +1149,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1421
1149
  }
1422
1150
  }`);
1423
1151
  const ExecuteTransactionBlockDocument = new TypedDocumentString(`
1424
- mutation executeTransactionBlock($txBytes: String!, $signatures: [String!]!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
1152
+ mutation executeTransactionBlock($txBytes: String!, $signatures: [String!]!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
1425
1153
  executeTransactionBlock(txBytes: $txBytes, signatures: $signatures) {
1426
1154
  errors
1427
1155
  effects {
@@ -1431,28 +1159,7 @@ const ExecuteTransactionBlockDocument = new TypedDocumentString(`
1431
1159
  }
1432
1160
  }
1433
1161
  }
1434
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
1435
- __typename
1436
- ... on AddressOwner {
1437
- owner {
1438
- asObject {
1439
- address
1440
- }
1441
- asAddress {
1442
- address
1443
- }
1444
- }
1445
- }
1446
- ... on Parent {
1447
- parent {
1448
- address
1449
- }
1450
- }
1451
- ... on Shared {
1452
- initialSharedVersion
1453
- }
1454
- }
1455
- fragment RPC_EVENTS_FIELDS on Event {
1162
+ fragment RPC_EVENTS_FIELDS on Event {
1456
1163
  sendingModule {
1457
1164
  package {
1458
1165
  address
@@ -1478,6 +1185,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1478
1185
  }
1479
1186
  signatures
1480
1187
  effects {
1188
+ bcs @include(if: $showEffects)
1189
+ bcs @include(if: $showObjectChanges)
1190
+ bcs @include(if: $showRawEffects)
1481
1191
  events @include(if: $showEvents) {
1482
1192
  pageInfo {
1483
1193
  hasNextPage
@@ -1511,70 +1221,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1511
1221
  amount
1512
1222
  }
1513
1223
  }
1514
- dependencies @include(if: $showEffects) {
1515
- pageInfo {
1516
- hasNextPage
1517
- endCursor
1518
- }
1519
- nodes {
1520
- digest
1521
- }
1522
- }
1523
- status @include(if: $showEffects)
1524
- gasEffects @include(if: $showEffects) {
1525
- gasObject {
1526
- owner {
1527
- ...RPC_OBJECT_OWNER_FIELDS
1528
- }
1529
- digest
1530
- version
1531
- address
1532
- }
1533
- gasSummary {
1534
- storageCost
1535
- storageRebate
1536
- nonRefundableStorageFee
1537
- computationCost
1538
- }
1539
- }
1540
- executedEpoch: epoch @include(if: $showEffects) {
1541
- epochId
1542
- }
1543
- objectChanges @include(if: $showEffects) {
1544
- pageInfo {
1545
- hasNextPage
1546
- endCursor
1547
- }
1548
- nodes {
1549
- idCreated
1550
- idDeleted
1551
- inputState {
1552
- version
1553
- digest
1554
- address
1555
- }
1556
- outputState {
1557
- version
1558
- digest
1559
- address
1560
- owner {
1561
- ...RPC_OBJECT_OWNER_FIELDS
1562
- }
1563
- }
1564
- }
1565
- }
1566
1224
  objectChanges @include(if: $showObjectChanges) {
1567
1225
  pageInfo {
1568
1226
  hasNextPage
1569
1227
  endCursor
1570
1228
  }
1571
1229
  nodes {
1572
- idCreated
1573
- idDeleted
1230
+ address
1574
1231
  inputState {
1575
1232
  version
1576
- digest
1577
- address
1578
1233
  asMoveObject {
1579
1234
  contents {
1580
1235
  type {
@@ -1582,14 +1237,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1582
1237
  }
1583
1238
  }
1584
1239
  }
1585
- owner {
1586
- ...RPC_OBJECT_OWNER_FIELDS
1587
- }
1588
1240
  }
1589
1241
  outputState {
1590
- version
1591
- digest
1592
- address
1593
1242
  asMoveObject {
1594
1243
  contents {
1595
1244
  type {
@@ -1597,8 +1246,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1597
1246
  }
1598
1247
  }
1599
1248
  }
1600
- owner {
1601
- ...RPC_OBJECT_OWNER_FIELDS
1249
+ asMovePackage {
1250
+ modules(first: 10) {
1251
+ nodes {
1252
+ name
1253
+ }
1254
+ }
1602
1255
  }
1603
1256
  }
1604
1257
  }
@@ -1682,7 +1335,7 @@ const GetCoinsDocument = new TypedDocumentString(`
1682
1335
  }
1683
1336
  `);
1684
1337
  const GetCommitteeInfoDocument = new TypedDocumentString(`
1685
- query getCommitteeInfo($epochId: Int, $after: String) {
1338
+ query getCommitteeInfo($epochId: UInt53, $after: String) {
1686
1339
  epoch(id: $epochId) {
1687
1340
  epochId
1688
1341
  validatorSet {
@@ -1693,7 +1346,7 @@ const GetCommitteeInfoDocument = new TypedDocumentString(`
1693
1346
  }
1694
1347
  nodes {
1695
1348
  credentials {
1696
- protocolPubKey
1349
+ authorityPubKey
1697
1350
  }
1698
1351
  votingPower
1699
1352
  }
@@ -1717,6 +1370,7 @@ const GetCurrentEpochDocument = new TypedDocumentString(`
1717
1370
  }
1718
1371
  }
1719
1372
  }
1373
+ totalTransactions
1720
1374
  firstCheckpoint: checkpoints(first: 1) {
1721
1375
  nodes {
1722
1376
  sequenceNumber
@@ -1775,13 +1429,12 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
1775
1429
  networkPubKey
1776
1430
  p2PAddress
1777
1431
  primaryAddress
1778
- workerPubKey
1779
- workerAddress
1432
+ authorityPubKey
1780
1433
  proofOfPossession
1781
1434
  protocolPubKey
1782
1435
  }`);
1783
1436
  const PaginateEpochValidatorsDocument = new TypedDocumentString(`
1784
- query paginateEpochValidators($id: Int!, $after: String) {
1437
+ query paginateEpochValidators($id: UInt53!, $after: String) {
1785
1438
  epoch(id: $id) {
1786
1439
  validatorSet {
1787
1440
  activeValidators(after: $after) {
@@ -1844,8 +1497,7 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
1844
1497
  networkPubKey
1845
1498
  p2PAddress
1846
1499
  primaryAddress
1847
- workerPubKey
1848
- workerAddress
1500
+ authorityPubKey
1849
1501
  proofOfPossession
1850
1502
  protocolPubKey
1851
1503
  }`);
@@ -1858,7 +1510,7 @@ const GetTypeLayoutDocument = new TypedDocumentString(`
1858
1510
  `);
1859
1511
  const GetDynamicFieldObjectDocument = new TypedDocumentString(`
1860
1512
  query getDynamicFieldObject($parentId: IotaAddress!, $name: DynamicFieldName!) {
1861
- object(address: $parentId) {
1513
+ owner(address: $parentId) {
1862
1514
  dynamicObjectField(name: $name) {
1863
1515
  value {
1864
1516
  __typename
@@ -1903,7 +1555,7 @@ const GetDynamicFieldObjectDocument = new TypedDocumentString(`
1903
1555
  `);
1904
1556
  const GetDynamicFieldsDocument = new TypedDocumentString(`
1905
1557
  query getDynamicFields($parentId: IotaAddress!, $first: Int, $cursor: String) {
1906
- object(address: $parentId) {
1558
+ owner(address: $parentId) {
1907
1559
  dynamicFields(first: $first, after: $cursor) {
1908
1560
  pageInfo {
1909
1561
  hasNextPage
@@ -1972,6 +1624,7 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
1972
1624
  }
1973
1625
  systemStateVersion
1974
1626
  iotaTotalSupply
1627
+ iotaTreasuryCapId
1975
1628
  systemParameters {
1976
1629
  minValidatorCount
1977
1630
  maxValidatorCount
@@ -2000,6 +1653,10 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
2000
1653
  validatorCandidatesSize
2001
1654
  pendingRemovals
2002
1655
  totalStake
1656
+ stakingPoolMappingsId
1657
+ pendingActiveValidatorsId
1658
+ validatorCandidatesId
1659
+ inactivePoolsId
2003
1660
  }
2004
1661
  }
2005
1662
  }
@@ -2051,8 +1708,7 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
2051
1708
  networkPubKey
2052
1709
  p2PAddress
2053
1710
  primaryAddress
2054
- workerPubKey
2055
- workerAddress
1711
+ authorityPubKey
2056
1712
  proofOfPossession
2057
1713
  protocolPubKey
2058
1714
  }`);
@@ -2351,7 +2007,7 @@ const GetNormalizedMoveStructDocument = new TypedDocumentString(`
2351
2007
  }
2352
2008
  }`);
2353
2009
  const GetProtocolConfigDocument = new TypedDocumentString(`
2354
- query getProtocolConfig($protocolVersion: Int) {
2010
+ query getProtocolConfig($protocolVersion: UInt53) {
2355
2011
  protocolConfig(protocolVersion: $protocolVersion) {
2356
2012
  protocolVersion
2357
2013
  configs {
@@ -2396,35 +2052,13 @@ const GetValidatorsApyDocument = new TypedDocumentString(`
2396
2052
  pageInfo {
2397
2053
  hasNextPage
2398
2054
  endCursor
2399
- }
2400
- nodes {
2401
- address {
2402
- address
2403
- }
2404
- apy
2405
- }
2406
- }
2407
- }
2408
- }
2409
- }
2410
- `);
2411
- const ResolveNameServiceAddressDocument = new TypedDocumentString(`
2412
- query resolveNameServiceAddress($domain: String!) {
2413
- resolveIotansAddress(domain: $domain) {
2414
- address
2415
- }
2416
- }
2417
- `);
2418
- const ResolveNameServiceNamesDocument = new TypedDocumentString(`
2419
- query resolveNameServiceNames($address: IotaAddress!, $limit: Int, $cursor: String) {
2420
- address(address: $address) {
2421
- iotansRegistrations(first: $limit, after: $cursor) {
2422
- pageInfo {
2423
- hasNextPage
2424
- endCursor
2425
- }
2426
- nodes {
2427
- domain
2055
+ }
2056
+ nodes {
2057
+ address {
2058
+ address
2059
+ }
2060
+ apy
2061
+ }
2428
2062
  }
2429
2063
  }
2430
2064
  }
@@ -2577,7 +2211,7 @@ fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
2577
2211
  }
2578
2212
  }`);
2579
2213
  const TryGetPastObjectDocument = new TypedDocumentString(`
2580
- query tryGetPastObject($id: IotaAddress!, $version: Int, $showBcs: Boolean = false, $showOwner: Boolean = false, $showPreviousTransaction: Boolean = false, $showContent: Boolean = false, $showDisplay: Boolean = false, $showType: Boolean = false, $showStorageRebate: Boolean = false) {
2214
+ query tryGetPastObject($id: IotaAddress!, $version: UInt53, $showBcs: Boolean = false, $showOwner: Boolean = false, $showPreviousTransaction: Boolean = false, $showContent: Boolean = false, $showDisplay: Boolean = false, $showType: Boolean = false, $showStorageRebate: Boolean = false) {
2581
2215
  current: object(address: $id) {
2582
2216
  address
2583
2217
  version
@@ -2836,7 +2470,7 @@ const GetStakesByIdsDocument = new TypedDocumentString(`
2836
2470
  estimatedReward
2837
2471
  }`);
2838
2472
  const QueryTransactionBlocksDocument = new TypedDocumentString(`
2839
- query queryTransactionBlocks($first: Int, $last: Int, $before: String, $after: String, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false, $filter: TransactionBlockFilter) {
2473
+ query queryTransactionBlocks($first: Int, $last: Int, $before: String, $after: String, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false, $filter: TransactionBlockFilter) {
2840
2474
  transactionBlocks(
2841
2475
  first: $first
2842
2476
  after: $after
@@ -2855,28 +2489,7 @@ const QueryTransactionBlocksDocument = new TypedDocumentString(`
2855
2489
  }
2856
2490
  }
2857
2491
  }
2858
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
2859
- __typename
2860
- ... on AddressOwner {
2861
- owner {
2862
- asObject {
2863
- address
2864
- }
2865
- asAddress {
2866
- address
2867
- }
2868
- }
2869
- }
2870
- ... on Parent {
2871
- parent {
2872
- address
2873
- }
2874
- }
2875
- ... on Shared {
2876
- initialSharedVersion
2877
- }
2878
- }
2879
- fragment RPC_EVENTS_FIELDS on Event {
2492
+ fragment RPC_EVENTS_FIELDS on Event {
2880
2493
  sendingModule {
2881
2494
  package {
2882
2495
  address
@@ -2902,6 +2515,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2902
2515
  }
2903
2516
  signatures
2904
2517
  effects {
2518
+ bcs @include(if: $showEffects)
2519
+ bcs @include(if: $showObjectChanges)
2520
+ bcs @include(if: $showRawEffects)
2905
2521
  events @include(if: $showEvents) {
2906
2522
  pageInfo {
2907
2523
  hasNextPage
@@ -2935,70 +2551,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2935
2551
  amount
2936
2552
  }
2937
2553
  }
2938
- dependencies @include(if: $showEffects) {
2939
- pageInfo {
2940
- hasNextPage
2941
- endCursor
2942
- }
2943
- nodes {
2944
- digest
2945
- }
2946
- }
2947
- status @include(if: $showEffects)
2948
- gasEffects @include(if: $showEffects) {
2949
- gasObject {
2950
- owner {
2951
- ...RPC_OBJECT_OWNER_FIELDS
2952
- }
2953
- digest
2954
- version
2955
- address
2956
- }
2957
- gasSummary {
2958
- storageCost
2959
- storageRebate
2960
- nonRefundableStorageFee
2961
- computationCost
2962
- }
2963
- }
2964
- executedEpoch: epoch @include(if: $showEffects) {
2965
- epochId
2966
- }
2967
- objectChanges @include(if: $showEffects) {
2968
- pageInfo {
2969
- hasNextPage
2970
- endCursor
2971
- }
2972
- nodes {
2973
- idCreated
2974
- idDeleted
2975
- inputState {
2976
- version
2977
- digest
2978
- address
2979
- }
2980
- outputState {
2981
- version
2982
- digest
2983
- address
2984
- owner {
2985
- ...RPC_OBJECT_OWNER_FIELDS
2986
- }
2987
- }
2988
- }
2989
- }
2990
2554
  objectChanges @include(if: $showObjectChanges) {
2991
2555
  pageInfo {
2992
2556
  hasNextPage
2993
2557
  endCursor
2994
2558
  }
2995
2559
  nodes {
2996
- idCreated
2997
- idDeleted
2560
+ address
2998
2561
  inputState {
2999
2562
  version
3000
- digest
3001
- address
3002
2563
  asMoveObject {
3003
2564
  contents {
3004
2565
  type {
@@ -3006,14 +2567,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3006
2567
  }
3007
2568
  }
3008
2569
  }
3009
- owner {
3010
- ...RPC_OBJECT_OWNER_FIELDS
3011
- }
3012
2570
  }
3013
2571
  outputState {
3014
- version
3015
- digest
3016
- address
3017
2572
  asMoveObject {
3018
2573
  contents {
3019
2574
  type {
@@ -3021,8 +2576,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3021
2576
  }
3022
2577
  }
3023
2578
  }
3024
- owner {
3025
- ...RPC_OBJECT_OWNER_FIELDS
2579
+ asMovePackage {
2580
+ modules(first: 10) {
2581
+ nodes {
2582
+ name
2583
+ }
2584
+ }
3026
2585
  }
3027
2586
  }
3028
2587
  }
@@ -3030,33 +2589,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3030
2589
  }
3031
2590
  }`);
3032
2591
  const GetTransactionBlockDocument = new TypedDocumentString(`
3033
- query getTransactionBlock($digest: String!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
2592
+ query getTransactionBlock($digest: String!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
3034
2593
  transactionBlock(digest: $digest) {
3035
2594
  ...RPC_TRANSACTION_FIELDS
3036
2595
  }
3037
2596
  }
3038
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
3039
- __typename
3040
- ... on AddressOwner {
3041
- owner {
3042
- asObject {
3043
- address
3044
- }
3045
- asAddress {
3046
- address
3047
- }
3048
- }
3049
- }
3050
- ... on Parent {
3051
- parent {
3052
- address
3053
- }
3054
- }
3055
- ... on Shared {
3056
- initialSharedVersion
3057
- }
3058
- }
3059
- fragment RPC_EVENTS_FIELDS on Event {
2597
+ fragment RPC_EVENTS_FIELDS on Event {
3060
2598
  sendingModule {
3061
2599
  package {
3062
2600
  address
@@ -3082,6 +2620,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3082
2620
  }
3083
2621
  signatures
3084
2622
  effects {
2623
+ bcs @include(if: $showEffects)
2624
+ bcs @include(if: $showObjectChanges)
2625
+ bcs @include(if: $showRawEffects)
3085
2626
  events @include(if: $showEvents) {
3086
2627
  pageInfo {
3087
2628
  hasNextPage
@@ -3115,70 +2656,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3115
2656
  amount
3116
2657
  }
3117
2658
  }
3118
- dependencies @include(if: $showEffects) {
3119
- pageInfo {
3120
- hasNextPage
3121
- endCursor
3122
- }
3123
- nodes {
3124
- digest
3125
- }
3126
- }
3127
- status @include(if: $showEffects)
3128
- gasEffects @include(if: $showEffects) {
3129
- gasObject {
3130
- owner {
3131
- ...RPC_OBJECT_OWNER_FIELDS
3132
- }
3133
- digest
3134
- version
3135
- address
3136
- }
3137
- gasSummary {
3138
- storageCost
3139
- storageRebate
3140
- nonRefundableStorageFee
3141
- computationCost
3142
- }
3143
- }
3144
- executedEpoch: epoch @include(if: $showEffects) {
3145
- epochId
3146
- }
3147
- objectChanges @include(if: $showEffects) {
3148
- pageInfo {
3149
- hasNextPage
3150
- endCursor
3151
- }
3152
- nodes {
3153
- idCreated
3154
- idDeleted
3155
- inputState {
3156
- version
3157
- digest
3158
- address
3159
- }
3160
- outputState {
3161
- version
3162
- digest
3163
- address
3164
- owner {
3165
- ...RPC_OBJECT_OWNER_FIELDS
3166
- }
3167
- }
3168
- }
3169
- }
3170
2659
  objectChanges @include(if: $showObjectChanges) {
3171
2660
  pageInfo {
3172
2661
  hasNextPage
3173
2662
  endCursor
3174
2663
  }
3175
2664
  nodes {
3176
- idCreated
3177
- idDeleted
2665
+ address
3178
2666
  inputState {
3179
2667
  version
3180
- digest
3181
- address
3182
2668
  asMoveObject {
3183
2669
  contents {
3184
2670
  type {
@@ -3186,14 +2672,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3186
2672
  }
3187
2673
  }
3188
2674
  }
3189
- owner {
3190
- ...RPC_OBJECT_OWNER_FIELDS
3191
- }
3192
2675
  }
3193
2676
  outputState {
3194
- version
3195
- digest
3196
- address
3197
2677
  asMoveObject {
3198
2678
  contents {
3199
2679
  type {
@@ -3201,8 +2681,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3201
2681
  }
3202
2682
  }
3203
2683
  }
3204
- owner {
3205
- ...RPC_OBJECT_OWNER_FIELDS
2684
+ asMovePackage {
2685
+ modules(first: 10) {
2686
+ nodes {
2687
+ name
2688
+ }
2689
+ }
3206
2690
  }
3207
2691
  }
3208
2692
  }
@@ -3210,7 +2694,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3210
2694
  }
3211
2695
  }`);
3212
2696
  const MultiGetTransactionBlocksDocument = new TypedDocumentString(`
3213
- query multiGetTransactionBlocks($digests: [String!]!, $limit: Int, $cursor: String, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
2697
+ query multiGetTransactionBlocks($digests: [String!]!, $limit: Int, $cursor: String, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
3214
2698
  transactionBlocks(
3215
2699
  first: $limit
3216
2700
  after: $cursor
@@ -3227,28 +2711,7 @@ const MultiGetTransactionBlocksDocument = new TypedDocumentString(`
3227
2711
  }
3228
2712
  }
3229
2713
  }
3230
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
3231
- __typename
3232
- ... on AddressOwner {
3233
- owner {
3234
- asObject {
3235
- address
3236
- }
3237
- asAddress {
3238
- address
3239
- }
3240
- }
3241
- }
3242
- ... on Parent {
3243
- parent {
3244
- address
3245
- }
3246
- }
3247
- ... on Shared {
3248
- initialSharedVersion
3249
- }
3250
- }
3251
- fragment RPC_EVENTS_FIELDS on Event {
2714
+ fragment RPC_EVENTS_FIELDS on Event {
3252
2715
  sendingModule {
3253
2716
  package {
3254
2717
  address
@@ -3274,6 +2737,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3274
2737
  }
3275
2738
  signatures
3276
2739
  effects {
2740
+ bcs @include(if: $showEffects)
2741
+ bcs @include(if: $showObjectChanges)
2742
+ bcs @include(if: $showRawEffects)
3277
2743
  events @include(if: $showEvents) {
3278
2744
  pageInfo {
3279
2745
  hasNextPage
@@ -3307,70 +2773,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3307
2773
  amount
3308
2774
  }
3309
2775
  }
3310
- dependencies @include(if: $showEffects) {
3311
- pageInfo {
3312
- hasNextPage
3313
- endCursor
3314
- }
3315
- nodes {
3316
- digest
3317
- }
3318
- }
3319
- status @include(if: $showEffects)
3320
- gasEffects @include(if: $showEffects) {
3321
- gasObject {
3322
- owner {
3323
- ...RPC_OBJECT_OWNER_FIELDS
3324
- }
3325
- digest
3326
- version
3327
- address
3328
- }
3329
- gasSummary {
3330
- storageCost
3331
- storageRebate
3332
- nonRefundableStorageFee
3333
- computationCost
3334
- }
3335
- }
3336
- executedEpoch: epoch @include(if: $showEffects) {
3337
- epochId
3338
- }
3339
- objectChanges @include(if: $showEffects) {
3340
- pageInfo {
3341
- hasNextPage
3342
- endCursor
3343
- }
3344
- nodes {
3345
- idCreated
3346
- idDeleted
3347
- inputState {
3348
- version
3349
- digest
3350
- address
3351
- }
3352
- outputState {
3353
- version
3354
- digest
3355
- address
3356
- owner {
3357
- ...RPC_OBJECT_OWNER_FIELDS
3358
- }
3359
- }
3360
- }
3361
- }
3362
2776
  objectChanges @include(if: $showObjectChanges) {
3363
2777
  pageInfo {
3364
2778
  hasNextPage
3365
2779
  endCursor
3366
2780
  }
3367
2781
  nodes {
3368
- idCreated
3369
- idDeleted
2782
+ address
3370
2783
  inputState {
3371
2784
  version
3372
- digest
3373
- address
3374
2785
  asMoveObject {
3375
2786
  contents {
3376
2787
  type {
@@ -3378,14 +2789,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3378
2789
  }
3379
2790
  }
3380
2791
  }
3381
- owner {
3382
- ...RPC_OBJECT_OWNER_FIELDS
3383
- }
3384
2792
  }
3385
2793
  outputState {
3386
- version
3387
- digest
3388
- address
3389
2794
  asMoveObject {
3390
2795
  contents {
3391
2796
  type {
@@ -3393,8 +2798,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3393
2798
  }
3394
2799
  }
3395
2800
  }
3396
- owner {
3397
- ...RPC_OBJECT_OWNER_FIELDS
2801
+ asMovePackage {
2802
+ modules(first: 10) {
2803
+ nodes {
2804
+ name
2805
+ }
2806
+ }
3398
2807
  }
3399
2808
  }
3400
2809
  }
@@ -3402,33 +2811,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3402
2811
  }
3403
2812
  }`);
3404
2813
  const PaginateTransactionBlockListsDocument = new TypedDocumentString(`
3405
- query paginateTransactionBlockLists($digest: String!, $hasMoreEvents: Boolean!, $hasMoreBalanceChanges: Boolean!, $hasMoreObjectChanges: Boolean!, $hasMoreDependencies: Boolean!, $afterEvents: String, $afterBalanceChanges: String, $afterObjectChanges: String, $afterDependencies: String) {
2814
+ query paginateTransactionBlockLists($digest: String!, $hasMoreEvents: Boolean!, $hasMoreBalanceChanges: Boolean!, $hasMoreObjectChanges: Boolean!, $afterEvents: String, $afterBalanceChanges: String, $afterObjectChanges: String) {
3406
2815
  transactionBlock(digest: $digest) {
3407
2816
  ...PAGINATE_TRANSACTION_LISTS
3408
2817
  }
3409
2818
  }
3410
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
3411
- __typename
3412
- ... on AddressOwner {
3413
- owner {
3414
- asObject {
3415
- address
3416
- }
3417
- asAddress {
3418
- address
3419
- }
3420
- }
3421
- }
3422
- ... on Parent {
3423
- parent {
3424
- address
3425
- }
3426
- }
3427
- ... on Shared {
3428
- initialSharedVersion
3429
- }
3430
- }
3431
- fragment RPC_EVENTS_FIELDS on Event {
2819
+ fragment RPC_EVENTS_FIELDS on Event {
3432
2820
  sendingModule {
3433
2821
  package {
3434
2822
  address
@@ -3476,27 +2864,15 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
3476
2864
  amount
3477
2865
  }
3478
2866
  }
3479
- dependencies(after: $afterDependencies) @include(if: $hasMoreDependencies) {
3480
- pageInfo {
3481
- hasNextPage
3482
- endCursor
3483
- }
3484
- nodes {
3485
- digest
3486
- }
3487
- }
3488
2867
  objectChanges(after: $afterObjectChanges) @include(if: $hasMoreObjectChanges) {
3489
2868
  pageInfo {
3490
2869
  hasNextPage
3491
2870
  endCursor
3492
2871
  }
3493
2872
  nodes {
3494
- idCreated
3495
- idDeleted
2873
+ address
3496
2874
  inputState {
3497
2875
  version
3498
- digest
3499
- address
3500
2876
  asMoveObject {
3501
2877
  contents {
3502
2878
  type {
@@ -3504,14 +2880,8 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
3504
2880
  }
3505
2881
  }
3506
2882
  }
3507
- owner {
3508
- ...RPC_OBJECT_OWNER_FIELDS
3509
- }
3510
2883
  }
3511
2884
  outputState {
3512
- version
3513
- digest
3514
- address
3515
2885
  asMoveObject {
3516
2886
  contents {
3517
2887
  type {
@@ -3519,8 +2889,12 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
3519
2889
  }
3520
2890
  }
3521
2891
  }
3522
- owner {
3523
- ...RPC_OBJECT_OWNER_FIELDS
2892
+ asMovePackage {
2893
+ modules(first: 10) {
2894
+ nodes {
2895
+ name
2896
+ }
2897
+ }
3524
2898
  }
3525
2899
  }
3526
2900
  }