@iota/graphql-transport 0.1.2 → 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 (34) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/cjs/generated/queries.d.ts +973 -1395
  3. package/dist/cjs/generated/queries.js +119 -714
  4. package/dist/cjs/generated/queries.js.map +2 -2
  5. package/dist/cjs/mappers/bcs.js.map +1 -1
  6. package/dist/cjs/mappers/move.js.map +2 -2
  7. package/dist/cjs/mappers/transaction-block.d.ts +1 -0
  8. package/dist/cjs/mappers/transaction-block.js +316 -146
  9. package/dist/cjs/mappers/transaction-block.js.map +2 -2
  10. package/dist/cjs/mappers/validator.js +4 -6
  11. package/dist/cjs/mappers/validator.js.map +2 -2
  12. package/dist/cjs/methods.js +25 -30
  13. package/dist/cjs/methods.js.map +2 -2
  14. package/dist/cjs/transport.d.ts +1 -1
  15. package/dist/cjs/transport.js +18 -33
  16. package/dist/cjs/transport.js.map +2 -2
  17. package/dist/esm/generated/queries.d.ts +973 -1395
  18. package/dist/esm/generated/queries.js +119 -714
  19. package/dist/esm/generated/queries.js.map +2 -2
  20. package/dist/esm/mappers/bcs.js.map +1 -1
  21. package/dist/esm/mappers/move.js.map +2 -2
  22. package/dist/esm/mappers/transaction-block.d.ts +1 -0
  23. package/dist/esm/mappers/transaction-block.js +318 -148
  24. package/dist/esm/mappers/transaction-block.js.map +2 -2
  25. package/dist/esm/mappers/validator.js +4 -6
  26. package/dist/esm/mappers/validator.js.map +2 -2
  27. package/dist/esm/methods.js +26 -31
  28. package/dist/esm/methods.js.map +2 -2
  29. package/dist/esm/transport.d.ts +1 -1
  30. package/dist/esm/transport.js +17 -32
  31. package/dist/esm/transport.js.map +2 -2
  32. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  33. package/dist/tsconfig.tsbuildinfo +1 -1
  34. package/package.json +16 -16
@@ -30,8 +30,7 @@ var MoveVisibility = /* @__PURE__ */ ((MoveVisibility2) => {
30
30
  return MoveVisibility2;
31
31
  })(MoveVisibility || {});
32
32
  var ObjectKind = /* @__PURE__ */ ((ObjectKind2) => {
33
- ObjectKind2["Historical"] = "HISTORICAL";
34
- ObjectKind2["Live"] = "LIVE";
33
+ ObjectKind2["Indexed"] = "INDEXED";
35
34
  ObjectKind2["NotIndexed"] = "NOT_INDEXED";
36
35
  ObjectKind2["WrappedOrDeleted"] = "WRAPPED_OR_DELETED";
37
36
  return ObjectKind2;
@@ -132,8 +131,7 @@ const Rpc_Credential_FieldsFragmentDoc = new TypedDocumentString(`
132
131
  networkPubKey
133
132
  p2PAddress
134
133
  primaryAddress
135
- workerPubKey
136
- workerAddress
134
+ authorityPubKey
137
135
  proofOfPossession
138
136
  protocolPubKey
139
137
  }
@@ -187,8 +185,7 @@ const Rpc_Validator_FieldsFragmentDoc = new TypedDocumentString(`
187
185
  networkPubKey
188
186
  p2PAddress
189
187
  primaryAddress
190
- workerPubKey
191
- workerAddress
188
+ authorityPubKey
192
189
  proofOfPossession
193
190
  protocolPubKey
194
191
  }`, { "fragmentName": "RPC_VALIDATOR_FIELDS" });
@@ -512,27 +509,15 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
512
509
  amount
513
510
  }
514
511
  }
515
- dependencies(after: $afterDependencies) @include(if: $hasMoreDependencies) {
516
- pageInfo {
517
- hasNextPage
518
- endCursor
519
- }
520
- nodes {
521
- digest
522
- }
523
- }
524
512
  objectChanges(after: $afterObjectChanges) @include(if: $hasMoreObjectChanges) {
525
513
  pageInfo {
526
514
  hasNextPage
527
515
  endCursor
528
516
  }
529
517
  nodes {
530
- idCreated
531
- idDeleted
518
+ address
532
519
  inputState {
533
520
  version
534
- digest
535
- address
536
521
  asMoveObject {
537
522
  contents {
538
523
  type {
@@ -540,14 +525,8 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
540
525
  }
541
526
  }
542
527
  }
543
- owner {
544
- ...RPC_OBJECT_OWNER_FIELDS
545
- }
546
528
  }
547
529
  outputState {
548
- version
549
- digest
550
- address
551
530
  asMoveObject {
552
531
  contents {
553
532
  type {
@@ -555,36 +534,19 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
555
534
  }
556
535
  }
557
536
  }
558
- owner {
559
- ...RPC_OBJECT_OWNER_FIELDS
537
+ asMovePackage {
538
+ modules(first: 10) {
539
+ nodes {
540
+ name
541
+ }
542
+ }
560
543
  }
561
544
  }
562
545
  }
563
546
  }
564
547
  }
565
548
  }
566
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
567
- __typename
568
- ... on AddressOwner {
569
- owner {
570
- asObject {
571
- address
572
- }
573
- asAddress {
574
- address
575
- }
576
- }
577
- }
578
- ... on Parent {
579
- parent {
580
- address
581
- }
582
- }
583
- ... on Shared {
584
- initialSharedVersion
585
- }
586
- }
587
- fragment RPC_EVENTS_FIELDS on Event {
549
+ fragment RPC_EVENTS_FIELDS on Event {
588
550
  sendingModule {
589
551
  package {
590
552
  address
@@ -611,6 +573,9 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
611
573
  }
612
574
  signatures
613
575
  effects {
576
+ bcs @include(if: $showEffects)
577
+ bcs @include(if: $showObjectChanges)
578
+ bcs @include(if: $showRawEffects)
614
579
  events @include(if: $showEvents) {
615
580
  pageInfo {
616
581
  hasNextPage
@@ -644,70 +609,15 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
644
609
  amount
645
610
  }
646
611
  }
647
- dependencies @include(if: $showEffects) {
648
- pageInfo {
649
- hasNextPage
650
- endCursor
651
- }
652
- nodes {
653
- digest
654
- }
655
- }
656
- status @include(if: $showEffects)
657
- gasEffects @include(if: $showEffects) {
658
- gasObject {
659
- owner {
660
- ...RPC_OBJECT_OWNER_FIELDS
661
- }
662
- digest
663
- version
664
- address
665
- }
666
- gasSummary {
667
- storageCost
668
- storageRebate
669
- nonRefundableStorageFee
670
- computationCost
671
- }
672
- }
673
- executedEpoch: epoch @include(if: $showEffects) {
674
- epochId
675
- }
676
- objectChanges @include(if: $showEffects) {
677
- pageInfo {
678
- hasNextPage
679
- endCursor
680
- }
681
- nodes {
682
- idCreated
683
- idDeleted
684
- inputState {
685
- version
686
- digest
687
- address
688
- }
689
- outputState {
690
- version
691
- digest
692
- address
693
- owner {
694
- ...RPC_OBJECT_OWNER_FIELDS
695
- }
696
- }
697
- }
698
- }
699
612
  objectChanges @include(if: $showObjectChanges) {
700
613
  pageInfo {
701
614
  hasNextPage
702
615
  endCursor
703
616
  }
704
617
  nodes {
705
- idCreated
706
- idDeleted
618
+ address
707
619
  inputState {
708
620
  version
709
- digest
710
- address
711
621
  asMoveObject {
712
622
  contents {
713
623
  type {
@@ -715,14 +625,8 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
715
625
  }
716
626
  }
717
627
  }
718
- owner {
719
- ...RPC_OBJECT_OWNER_FIELDS
720
- }
721
628
  }
722
629
  outputState {
723
- version
724
- digest
725
- address
726
630
  asMoveObject {
727
631
  contents {
728
632
  type {
@@ -730,36 +634,19 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
730
634
  }
731
635
  }
732
636
  }
733
- owner {
734
- ...RPC_OBJECT_OWNER_FIELDS
637
+ asMovePackage {
638
+ modules(first: 10) {
639
+ nodes {
640
+ name
641
+ }
642
+ }
735
643
  }
736
644
  }
737
645
  }
738
646
  }
739
647
  }
740
648
  }
741
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
742
- __typename
743
- ... on AddressOwner {
744
- owner {
745
- asObject {
746
- address
747
- }
748
- asAddress {
749
- address
750
- }
751
- }
752
- }
753
- ... on Parent {
754
- parent {
755
- address
756
- }
757
- }
758
- ... on Shared {
759
- initialSharedVersion
760
- }
761
- }
762
- fragment RPC_EVENTS_FIELDS on Event {
649
+ fragment RPC_EVENTS_FIELDS on Event {
763
650
  sendingModule {
764
651
  package {
765
652
  address
@@ -936,7 +823,7 @@ const PaginateCheckpointTransactionBlocksDocument = new TypedDocumentString(`
936
823
  }
937
824
  `);
938
825
  const DevInspectTransactionBlockDocument = new TypedDocumentString(`
939
- query devInspectTransactionBlock($txBytes: String!, $txMeta: TransactionMetadata!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
826
+ 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) {
940
827
  dryRunTransactionBlock(txBytes: $txBytes, txMeta: $txMeta) {
941
828
  error
942
829
  results {
@@ -968,28 +855,7 @@ const DevInspectTransactionBlockDocument = new TypedDocumentString(`
968
855
  }
969
856
  }
970
857
  }
971
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
972
- __typename
973
- ... on AddressOwner {
974
- owner {
975
- asObject {
976
- address
977
- }
978
- asAddress {
979
- address
980
- }
981
- }
982
- }
983
- ... on Parent {
984
- parent {
985
- address
986
- }
987
- }
988
- ... on Shared {
989
- initialSharedVersion
990
- }
991
- }
992
- fragment RPC_EVENTS_FIELDS on Event {
858
+ fragment RPC_EVENTS_FIELDS on Event {
993
859
  sendingModule {
994
860
  package {
995
861
  address
@@ -1015,6 +881,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1015
881
  }
1016
882
  signatures
1017
883
  effects {
884
+ bcs @include(if: $showEffects)
885
+ bcs @include(if: $showObjectChanges)
886
+ bcs @include(if: $showRawEffects)
1018
887
  events @include(if: $showEvents) {
1019
888
  pageInfo {
1020
889
  hasNextPage
@@ -1048,70 +917,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1048
917
  amount
1049
918
  }
1050
919
  }
1051
- dependencies @include(if: $showEffects) {
1052
- pageInfo {
1053
- hasNextPage
1054
- endCursor
1055
- }
1056
- nodes {
1057
- digest
1058
- }
1059
- }
1060
- status @include(if: $showEffects)
1061
- gasEffects @include(if: $showEffects) {
1062
- gasObject {
1063
- owner {
1064
- ...RPC_OBJECT_OWNER_FIELDS
1065
- }
1066
- digest
1067
- version
1068
- address
1069
- }
1070
- gasSummary {
1071
- storageCost
1072
- storageRebate
1073
- nonRefundableStorageFee
1074
- computationCost
1075
- }
1076
- }
1077
- executedEpoch: epoch @include(if: $showEffects) {
1078
- epochId
1079
- }
1080
- objectChanges @include(if: $showEffects) {
1081
- pageInfo {
1082
- hasNextPage
1083
- endCursor
1084
- }
1085
- nodes {
1086
- idCreated
1087
- idDeleted
1088
- inputState {
1089
- version
1090
- digest
1091
- address
1092
- }
1093
- outputState {
1094
- version
1095
- digest
1096
- address
1097
- owner {
1098
- ...RPC_OBJECT_OWNER_FIELDS
1099
- }
1100
- }
1101
- }
1102
- }
1103
920
  objectChanges @include(if: $showObjectChanges) {
1104
921
  pageInfo {
1105
922
  hasNextPage
1106
923
  endCursor
1107
924
  }
1108
925
  nodes {
1109
- idCreated
1110
- idDeleted
926
+ address
1111
927
  inputState {
1112
928
  version
1113
- digest
1114
- address
1115
929
  asMoveObject {
1116
930
  contents {
1117
931
  type {
@@ -1119,14 +933,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1119
933
  }
1120
934
  }
1121
935
  }
1122
- owner {
1123
- ...RPC_OBJECT_OWNER_FIELDS
1124
- }
1125
936
  }
1126
937
  outputState {
1127
- version
1128
- digest
1129
- address
1130
938
  asMoveObject {
1131
939
  contents {
1132
940
  type {
@@ -1134,8 +942,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1134
942
  }
1135
943
  }
1136
944
  }
1137
- owner {
1138
- ...RPC_OBJECT_OWNER_FIELDS
945
+ asMovePackage {
946
+ modules(first: 10) {
947
+ nodes {
948
+ name
949
+ }
950
+ }
1139
951
  }
1140
952
  }
1141
953
  }
@@ -1143,7 +955,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1143
955
  }
1144
956
  }`);
1145
957
  const DryRunTransactionBlockDocument = new TypedDocumentString(`
1146
- query dryRunTransactionBlock($txBytes: String!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
958
+ 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) {
1147
959
  dryRunTransactionBlock(txBytes: $txBytes) {
1148
960
  error
1149
961
  transaction {
@@ -1151,28 +963,7 @@ const DryRunTransactionBlockDocument = new TypedDocumentString(`
1151
963
  }
1152
964
  }
1153
965
  }
1154
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
1155
- __typename
1156
- ... on AddressOwner {
1157
- owner {
1158
- asObject {
1159
- address
1160
- }
1161
- asAddress {
1162
- address
1163
- }
1164
- }
1165
- }
1166
- ... on Parent {
1167
- parent {
1168
- address
1169
- }
1170
- }
1171
- ... on Shared {
1172
- initialSharedVersion
1173
- }
1174
- }
1175
- fragment RPC_EVENTS_FIELDS on Event {
966
+ fragment RPC_EVENTS_FIELDS on Event {
1176
967
  sendingModule {
1177
968
  package {
1178
969
  address
@@ -1198,6 +989,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1198
989
  }
1199
990
  signatures
1200
991
  effects {
992
+ bcs @include(if: $showEffects)
993
+ bcs @include(if: $showObjectChanges)
994
+ bcs @include(if: $showRawEffects)
1201
995
  events @include(if: $showEvents) {
1202
996
  pageInfo {
1203
997
  hasNextPage
@@ -1231,70 +1025,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1231
1025
  amount
1232
1026
  }
1233
1027
  }
1234
- dependencies @include(if: $showEffects) {
1235
- pageInfo {
1236
- hasNextPage
1237
- endCursor
1238
- }
1239
- nodes {
1240
- digest
1241
- }
1242
- }
1243
- status @include(if: $showEffects)
1244
- gasEffects @include(if: $showEffects) {
1245
- gasObject {
1246
- owner {
1247
- ...RPC_OBJECT_OWNER_FIELDS
1248
- }
1249
- digest
1250
- version
1251
- address
1252
- }
1253
- gasSummary {
1254
- storageCost
1255
- storageRebate
1256
- nonRefundableStorageFee
1257
- computationCost
1258
- }
1259
- }
1260
- executedEpoch: epoch @include(if: $showEffects) {
1261
- epochId
1262
- }
1263
- objectChanges @include(if: $showEffects) {
1264
- pageInfo {
1265
- hasNextPage
1266
- endCursor
1267
- }
1268
- nodes {
1269
- idCreated
1270
- idDeleted
1271
- inputState {
1272
- version
1273
- digest
1274
- address
1275
- }
1276
- outputState {
1277
- version
1278
- digest
1279
- address
1280
- owner {
1281
- ...RPC_OBJECT_OWNER_FIELDS
1282
- }
1283
- }
1284
- }
1285
- }
1286
1028
  objectChanges @include(if: $showObjectChanges) {
1287
1029
  pageInfo {
1288
1030
  hasNextPage
1289
1031
  endCursor
1290
1032
  }
1291
1033
  nodes {
1292
- idCreated
1293
- idDeleted
1034
+ address
1294
1035
  inputState {
1295
1036
  version
1296
- digest
1297
- address
1298
1037
  asMoveObject {
1299
1038
  contents {
1300
1039
  type {
@@ -1302,14 +1041,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1302
1041
  }
1303
1042
  }
1304
1043
  }
1305
- owner {
1306
- ...RPC_OBJECT_OWNER_FIELDS
1307
- }
1308
1044
  }
1309
1045
  outputState {
1310
- version
1311
- digest
1312
- address
1313
1046
  asMoveObject {
1314
1047
  contents {
1315
1048
  type {
@@ -1317,8 +1050,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1317
1050
  }
1318
1051
  }
1319
1052
  }
1320
- owner {
1321
- ...RPC_OBJECT_OWNER_FIELDS
1053
+ asMovePackage {
1054
+ modules(first: 10) {
1055
+ nodes {
1056
+ name
1057
+ }
1058
+ }
1322
1059
  }
1323
1060
  }
1324
1061
  }
@@ -1326,7 +1063,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1326
1063
  }
1327
1064
  }`);
1328
1065
  const ExecuteTransactionBlockDocument = new TypedDocumentString(`
1329
- mutation executeTransactionBlock($txBytes: String!, $signatures: [String!]!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
1066
+ 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) {
1330
1067
  executeTransactionBlock(txBytes: $txBytes, signatures: $signatures) {
1331
1068
  errors
1332
1069
  effects {
@@ -1336,28 +1073,7 @@ const ExecuteTransactionBlockDocument = new TypedDocumentString(`
1336
1073
  }
1337
1074
  }
1338
1075
  }
1339
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
1340
- __typename
1341
- ... on AddressOwner {
1342
- owner {
1343
- asObject {
1344
- address
1345
- }
1346
- asAddress {
1347
- address
1348
- }
1349
- }
1350
- }
1351
- ... on Parent {
1352
- parent {
1353
- address
1354
- }
1355
- }
1356
- ... on Shared {
1357
- initialSharedVersion
1358
- }
1359
- }
1360
- fragment RPC_EVENTS_FIELDS on Event {
1076
+ fragment RPC_EVENTS_FIELDS on Event {
1361
1077
  sendingModule {
1362
1078
  package {
1363
1079
  address
@@ -1383,6 +1099,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1383
1099
  }
1384
1100
  signatures
1385
1101
  effects {
1102
+ bcs @include(if: $showEffects)
1103
+ bcs @include(if: $showObjectChanges)
1104
+ bcs @include(if: $showRawEffects)
1386
1105
  events @include(if: $showEvents) {
1387
1106
  pageInfo {
1388
1107
  hasNextPage
@@ -1416,70 +1135,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1416
1135
  amount
1417
1136
  }
1418
1137
  }
1419
- dependencies @include(if: $showEffects) {
1420
- pageInfo {
1421
- hasNextPage
1422
- endCursor
1423
- }
1424
- nodes {
1425
- digest
1426
- }
1427
- }
1428
- status @include(if: $showEffects)
1429
- gasEffects @include(if: $showEffects) {
1430
- gasObject {
1431
- owner {
1432
- ...RPC_OBJECT_OWNER_FIELDS
1433
- }
1434
- digest
1435
- version
1436
- address
1437
- }
1438
- gasSummary {
1439
- storageCost
1440
- storageRebate
1441
- nonRefundableStorageFee
1442
- computationCost
1443
- }
1444
- }
1445
- executedEpoch: epoch @include(if: $showEffects) {
1446
- epochId
1447
- }
1448
- objectChanges @include(if: $showEffects) {
1449
- pageInfo {
1450
- hasNextPage
1451
- endCursor
1452
- }
1453
- nodes {
1454
- idCreated
1455
- idDeleted
1456
- inputState {
1457
- version
1458
- digest
1459
- address
1460
- }
1461
- outputState {
1462
- version
1463
- digest
1464
- address
1465
- owner {
1466
- ...RPC_OBJECT_OWNER_FIELDS
1467
- }
1468
- }
1469
- }
1470
- }
1471
1138
  objectChanges @include(if: $showObjectChanges) {
1472
1139
  pageInfo {
1473
1140
  hasNextPage
1474
1141
  endCursor
1475
1142
  }
1476
1143
  nodes {
1477
- idCreated
1478
- idDeleted
1144
+ address
1479
1145
  inputState {
1480
1146
  version
1481
- digest
1482
- address
1483
1147
  asMoveObject {
1484
1148
  contents {
1485
1149
  type {
@@ -1487,14 +1151,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1487
1151
  }
1488
1152
  }
1489
1153
  }
1490
- owner {
1491
- ...RPC_OBJECT_OWNER_FIELDS
1492
- }
1493
1154
  }
1494
1155
  outputState {
1495
- version
1496
- digest
1497
- address
1498
1156
  asMoveObject {
1499
1157
  contents {
1500
1158
  type {
@@ -1502,8 +1160,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1502
1160
  }
1503
1161
  }
1504
1162
  }
1505
- owner {
1506
- ...RPC_OBJECT_OWNER_FIELDS
1163
+ asMovePackage {
1164
+ modules(first: 10) {
1165
+ nodes {
1166
+ name
1167
+ }
1168
+ }
1507
1169
  }
1508
1170
  }
1509
1171
  }
@@ -1587,7 +1249,7 @@ const GetCoinsDocument = new TypedDocumentString(`
1587
1249
  }
1588
1250
  `);
1589
1251
  const GetCommitteeInfoDocument = new TypedDocumentString(`
1590
- query getCommitteeInfo($epochId: Int, $after: String) {
1252
+ query getCommitteeInfo($epochId: UInt53, $after: String) {
1591
1253
  epoch(id: $epochId) {
1592
1254
  epochId
1593
1255
  validatorSet {
@@ -1598,7 +1260,7 @@ const GetCommitteeInfoDocument = new TypedDocumentString(`
1598
1260
  }
1599
1261
  nodes {
1600
1262
  credentials {
1601
- protocolPubKey
1263
+ authorityPubKey
1602
1264
  }
1603
1265
  votingPower
1604
1266
  }
@@ -1622,6 +1284,7 @@ const GetCurrentEpochDocument = new TypedDocumentString(`
1622
1284
  }
1623
1285
  }
1624
1286
  }
1287
+ totalTransactions
1625
1288
  firstCheckpoint: checkpoints(first: 1) {
1626
1289
  nodes {
1627
1290
  sequenceNumber
@@ -1680,13 +1343,12 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
1680
1343
  networkPubKey
1681
1344
  p2PAddress
1682
1345
  primaryAddress
1683
- workerPubKey
1684
- workerAddress
1346
+ authorityPubKey
1685
1347
  proofOfPossession
1686
1348
  protocolPubKey
1687
1349
  }`);
1688
1350
  const PaginateEpochValidatorsDocument = new TypedDocumentString(`
1689
- query paginateEpochValidators($id: Int!, $after: String) {
1351
+ query paginateEpochValidators($id: UInt53!, $after: String) {
1690
1352
  epoch(id: $id) {
1691
1353
  validatorSet {
1692
1354
  activeValidators(after: $after) {
@@ -1749,8 +1411,7 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
1749
1411
  networkPubKey
1750
1412
  p2PAddress
1751
1413
  primaryAddress
1752
- workerPubKey
1753
- workerAddress
1414
+ authorityPubKey
1754
1415
  proofOfPossession
1755
1416
  protocolPubKey
1756
1417
  }`);
@@ -1763,7 +1424,7 @@ const GetTypeLayoutDocument = new TypedDocumentString(`
1763
1424
  `);
1764
1425
  const GetDynamicFieldObjectDocument = new TypedDocumentString(`
1765
1426
  query getDynamicFieldObject($parentId: IotaAddress!, $name: DynamicFieldName!) {
1766
- object(address: $parentId) {
1427
+ owner(address: $parentId) {
1767
1428
  dynamicObjectField(name: $name) {
1768
1429
  value {
1769
1430
  __typename
@@ -1808,7 +1469,7 @@ const GetDynamicFieldObjectDocument = new TypedDocumentString(`
1808
1469
  `);
1809
1470
  const GetDynamicFieldsDocument = new TypedDocumentString(`
1810
1471
  query getDynamicFields($parentId: IotaAddress!, $first: Int, $cursor: String) {
1811
- object(address: $parentId) {
1472
+ owner(address: $parentId) {
1812
1473
  dynamicFields(first: $first, after: $cursor) {
1813
1474
  pageInfo {
1814
1475
  hasNextPage
@@ -1877,6 +1538,7 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
1877
1538
  }
1878
1539
  systemStateVersion
1879
1540
  iotaTotalSupply
1541
+ iotaTreasuryCapId
1880
1542
  systemParameters {
1881
1543
  minValidatorCount
1882
1544
  maxValidatorCount
@@ -1905,6 +1567,10 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
1905
1567
  validatorCandidatesSize
1906
1568
  pendingRemovals
1907
1569
  totalStake
1570
+ stakingPoolMappingsId
1571
+ pendingActiveValidatorsId
1572
+ validatorCandidatesId
1573
+ inactivePoolsId
1908
1574
  }
1909
1575
  }
1910
1576
  }
@@ -1956,8 +1622,7 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
1956
1622
  networkPubKey
1957
1623
  p2PAddress
1958
1624
  primaryAddress
1959
- workerPubKey
1960
- workerAddress
1625
+ authorityPubKey
1961
1626
  proofOfPossession
1962
1627
  protocolPubKey
1963
1628
  }`);
@@ -2256,7 +1921,7 @@ const GetNormalizedMoveStructDocument = new TypedDocumentString(`
2256
1921
  }
2257
1922
  }`);
2258
1923
  const GetProtocolConfigDocument = new TypedDocumentString(`
2259
- query getProtocolConfig($protocolVersion: Int) {
1924
+ query getProtocolConfig($protocolVersion: UInt53) {
2260
1925
  protocolConfig(protocolVersion: $protocolVersion) {
2261
1926
  protocolVersion
2262
1927
  configs {
@@ -2460,7 +2125,7 @@ fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
2460
2125
  }
2461
2126
  }`);
2462
2127
  const TryGetPastObjectDocument = new TypedDocumentString(`
2463
- 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) {
2128
+ 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) {
2464
2129
  current: object(address: $id) {
2465
2130
  address
2466
2131
  version
@@ -2719,7 +2384,7 @@ const GetStakesByIdsDocument = new TypedDocumentString(`
2719
2384
  estimatedReward
2720
2385
  }`);
2721
2386
  const QueryTransactionBlocksDocument = new TypedDocumentString(`
2722
- 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) {
2387
+ 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) {
2723
2388
  transactionBlocks(
2724
2389
  first: $first
2725
2390
  after: $after
@@ -2738,28 +2403,7 @@ const QueryTransactionBlocksDocument = new TypedDocumentString(`
2738
2403
  }
2739
2404
  }
2740
2405
  }
2741
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
2742
- __typename
2743
- ... on AddressOwner {
2744
- owner {
2745
- asObject {
2746
- address
2747
- }
2748
- asAddress {
2749
- address
2750
- }
2751
- }
2752
- }
2753
- ... on Parent {
2754
- parent {
2755
- address
2756
- }
2757
- }
2758
- ... on Shared {
2759
- initialSharedVersion
2760
- }
2761
- }
2762
- fragment RPC_EVENTS_FIELDS on Event {
2406
+ fragment RPC_EVENTS_FIELDS on Event {
2763
2407
  sendingModule {
2764
2408
  package {
2765
2409
  address
@@ -2785,6 +2429,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2785
2429
  }
2786
2430
  signatures
2787
2431
  effects {
2432
+ bcs @include(if: $showEffects)
2433
+ bcs @include(if: $showObjectChanges)
2434
+ bcs @include(if: $showRawEffects)
2788
2435
  events @include(if: $showEvents) {
2789
2436
  pageInfo {
2790
2437
  hasNextPage
@@ -2818,70 +2465,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2818
2465
  amount
2819
2466
  }
2820
2467
  }
2821
- dependencies @include(if: $showEffects) {
2822
- pageInfo {
2823
- hasNextPage
2824
- endCursor
2825
- }
2826
- nodes {
2827
- digest
2828
- }
2829
- }
2830
- status @include(if: $showEffects)
2831
- gasEffects @include(if: $showEffects) {
2832
- gasObject {
2833
- owner {
2834
- ...RPC_OBJECT_OWNER_FIELDS
2835
- }
2836
- digest
2837
- version
2838
- address
2839
- }
2840
- gasSummary {
2841
- storageCost
2842
- storageRebate
2843
- nonRefundableStorageFee
2844
- computationCost
2845
- }
2846
- }
2847
- executedEpoch: epoch @include(if: $showEffects) {
2848
- epochId
2849
- }
2850
- objectChanges @include(if: $showEffects) {
2851
- pageInfo {
2852
- hasNextPage
2853
- endCursor
2854
- }
2855
- nodes {
2856
- idCreated
2857
- idDeleted
2858
- inputState {
2859
- version
2860
- digest
2861
- address
2862
- }
2863
- outputState {
2864
- version
2865
- digest
2866
- address
2867
- owner {
2868
- ...RPC_OBJECT_OWNER_FIELDS
2869
- }
2870
- }
2871
- }
2872
- }
2873
2468
  objectChanges @include(if: $showObjectChanges) {
2874
2469
  pageInfo {
2875
2470
  hasNextPage
2876
2471
  endCursor
2877
2472
  }
2878
2473
  nodes {
2879
- idCreated
2880
- idDeleted
2474
+ address
2881
2475
  inputState {
2882
2476
  version
2883
- digest
2884
- address
2885
2477
  asMoveObject {
2886
2478
  contents {
2887
2479
  type {
@@ -2889,14 +2481,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2889
2481
  }
2890
2482
  }
2891
2483
  }
2892
- owner {
2893
- ...RPC_OBJECT_OWNER_FIELDS
2894
- }
2895
2484
  }
2896
2485
  outputState {
2897
- version
2898
- digest
2899
- address
2900
2486
  asMoveObject {
2901
2487
  contents {
2902
2488
  type {
@@ -2904,8 +2490,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2904
2490
  }
2905
2491
  }
2906
2492
  }
2907
- owner {
2908
- ...RPC_OBJECT_OWNER_FIELDS
2493
+ asMovePackage {
2494
+ modules(first: 10) {
2495
+ nodes {
2496
+ name
2497
+ }
2498
+ }
2909
2499
  }
2910
2500
  }
2911
2501
  }
@@ -2913,33 +2503,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2913
2503
  }
2914
2504
  }`);
2915
2505
  const GetTransactionBlockDocument = new TypedDocumentString(`
2916
- query getTransactionBlock($digest: String!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
2506
+ 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) {
2917
2507
  transactionBlock(digest: $digest) {
2918
2508
  ...RPC_TRANSACTION_FIELDS
2919
2509
  }
2920
2510
  }
2921
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
2922
- __typename
2923
- ... on AddressOwner {
2924
- owner {
2925
- asObject {
2926
- address
2927
- }
2928
- asAddress {
2929
- address
2930
- }
2931
- }
2932
- }
2933
- ... on Parent {
2934
- parent {
2935
- address
2936
- }
2937
- }
2938
- ... on Shared {
2939
- initialSharedVersion
2940
- }
2941
- }
2942
- fragment RPC_EVENTS_FIELDS on Event {
2511
+ fragment RPC_EVENTS_FIELDS on Event {
2943
2512
  sendingModule {
2944
2513
  package {
2945
2514
  address
@@ -2965,6 +2534,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2965
2534
  }
2966
2535
  signatures
2967
2536
  effects {
2537
+ bcs @include(if: $showEffects)
2538
+ bcs @include(if: $showObjectChanges)
2539
+ bcs @include(if: $showRawEffects)
2968
2540
  events @include(if: $showEvents) {
2969
2541
  pageInfo {
2970
2542
  hasNextPage
@@ -2998,70 +2570,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2998
2570
  amount
2999
2571
  }
3000
2572
  }
3001
- dependencies @include(if: $showEffects) {
3002
- pageInfo {
3003
- hasNextPage
3004
- endCursor
3005
- }
3006
- nodes {
3007
- digest
3008
- }
3009
- }
3010
- status @include(if: $showEffects)
3011
- gasEffects @include(if: $showEffects) {
3012
- gasObject {
3013
- owner {
3014
- ...RPC_OBJECT_OWNER_FIELDS
3015
- }
3016
- digest
3017
- version
3018
- address
3019
- }
3020
- gasSummary {
3021
- storageCost
3022
- storageRebate
3023
- nonRefundableStorageFee
3024
- computationCost
3025
- }
3026
- }
3027
- executedEpoch: epoch @include(if: $showEffects) {
3028
- epochId
3029
- }
3030
- objectChanges @include(if: $showEffects) {
3031
- pageInfo {
3032
- hasNextPage
3033
- endCursor
3034
- }
3035
- nodes {
3036
- idCreated
3037
- idDeleted
3038
- inputState {
3039
- version
3040
- digest
3041
- address
3042
- }
3043
- outputState {
3044
- version
3045
- digest
3046
- address
3047
- owner {
3048
- ...RPC_OBJECT_OWNER_FIELDS
3049
- }
3050
- }
3051
- }
3052
- }
3053
2573
  objectChanges @include(if: $showObjectChanges) {
3054
2574
  pageInfo {
3055
2575
  hasNextPage
3056
2576
  endCursor
3057
2577
  }
3058
2578
  nodes {
3059
- idCreated
3060
- idDeleted
2579
+ address
3061
2580
  inputState {
3062
2581
  version
3063
- digest
3064
- address
3065
2582
  asMoveObject {
3066
2583
  contents {
3067
2584
  type {
@@ -3069,14 +2586,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3069
2586
  }
3070
2587
  }
3071
2588
  }
3072
- owner {
3073
- ...RPC_OBJECT_OWNER_FIELDS
3074
- }
3075
2589
  }
3076
2590
  outputState {
3077
- version
3078
- digest
3079
- address
3080
2591
  asMoveObject {
3081
2592
  contents {
3082
2593
  type {
@@ -3084,8 +2595,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3084
2595
  }
3085
2596
  }
3086
2597
  }
3087
- owner {
3088
- ...RPC_OBJECT_OWNER_FIELDS
2598
+ asMovePackage {
2599
+ modules(first: 10) {
2600
+ nodes {
2601
+ name
2602
+ }
2603
+ }
3089
2604
  }
3090
2605
  }
3091
2606
  }
@@ -3093,7 +2608,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3093
2608
  }
3094
2609
  }`);
3095
2610
  const MultiGetTransactionBlocksDocument = new TypedDocumentString(`
3096
- 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) {
2611
+ 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) {
3097
2612
  transactionBlocks(
3098
2613
  first: $limit
3099
2614
  after: $cursor
@@ -3110,28 +2625,7 @@ const MultiGetTransactionBlocksDocument = new TypedDocumentString(`
3110
2625
  }
3111
2626
  }
3112
2627
  }
3113
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
3114
- __typename
3115
- ... on AddressOwner {
3116
- owner {
3117
- asObject {
3118
- address
3119
- }
3120
- asAddress {
3121
- address
3122
- }
3123
- }
3124
- }
3125
- ... on Parent {
3126
- parent {
3127
- address
3128
- }
3129
- }
3130
- ... on Shared {
3131
- initialSharedVersion
3132
- }
3133
- }
3134
- fragment RPC_EVENTS_FIELDS on Event {
2628
+ fragment RPC_EVENTS_FIELDS on Event {
3135
2629
  sendingModule {
3136
2630
  package {
3137
2631
  address
@@ -3157,6 +2651,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3157
2651
  }
3158
2652
  signatures
3159
2653
  effects {
2654
+ bcs @include(if: $showEffects)
2655
+ bcs @include(if: $showObjectChanges)
2656
+ bcs @include(if: $showRawEffects)
3160
2657
  events @include(if: $showEvents) {
3161
2658
  pageInfo {
3162
2659
  hasNextPage
@@ -3190,70 +2687,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3190
2687
  amount
3191
2688
  }
3192
2689
  }
3193
- dependencies @include(if: $showEffects) {
3194
- pageInfo {
3195
- hasNextPage
3196
- endCursor
3197
- }
3198
- nodes {
3199
- digest
3200
- }
3201
- }
3202
- status @include(if: $showEffects)
3203
- gasEffects @include(if: $showEffects) {
3204
- gasObject {
3205
- owner {
3206
- ...RPC_OBJECT_OWNER_FIELDS
3207
- }
3208
- digest
3209
- version
3210
- address
3211
- }
3212
- gasSummary {
3213
- storageCost
3214
- storageRebate
3215
- nonRefundableStorageFee
3216
- computationCost
3217
- }
3218
- }
3219
- executedEpoch: epoch @include(if: $showEffects) {
3220
- epochId
3221
- }
3222
- objectChanges @include(if: $showEffects) {
3223
- pageInfo {
3224
- hasNextPage
3225
- endCursor
3226
- }
3227
- nodes {
3228
- idCreated
3229
- idDeleted
3230
- inputState {
3231
- version
3232
- digest
3233
- address
3234
- }
3235
- outputState {
3236
- version
3237
- digest
3238
- address
3239
- owner {
3240
- ...RPC_OBJECT_OWNER_FIELDS
3241
- }
3242
- }
3243
- }
3244
- }
3245
2690
  objectChanges @include(if: $showObjectChanges) {
3246
2691
  pageInfo {
3247
2692
  hasNextPage
3248
2693
  endCursor
3249
2694
  }
3250
2695
  nodes {
3251
- idCreated
3252
- idDeleted
2696
+ address
3253
2697
  inputState {
3254
2698
  version
3255
- digest
3256
- address
3257
2699
  asMoveObject {
3258
2700
  contents {
3259
2701
  type {
@@ -3261,14 +2703,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3261
2703
  }
3262
2704
  }
3263
2705
  }
3264
- owner {
3265
- ...RPC_OBJECT_OWNER_FIELDS
3266
- }
3267
2706
  }
3268
2707
  outputState {
3269
- version
3270
- digest
3271
- address
3272
2708
  asMoveObject {
3273
2709
  contents {
3274
2710
  type {
@@ -3276,8 +2712,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3276
2712
  }
3277
2713
  }
3278
2714
  }
3279
- owner {
3280
- ...RPC_OBJECT_OWNER_FIELDS
2715
+ asMovePackage {
2716
+ modules(first: 10) {
2717
+ nodes {
2718
+ name
2719
+ }
2720
+ }
3281
2721
  }
3282
2722
  }
3283
2723
  }
@@ -3285,33 +2725,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3285
2725
  }
3286
2726
  }`);
3287
2727
  const PaginateTransactionBlockListsDocument = new TypedDocumentString(`
3288
- query paginateTransactionBlockLists($digest: String!, $hasMoreEvents: Boolean!, $hasMoreBalanceChanges: Boolean!, $hasMoreObjectChanges: Boolean!, $hasMoreDependencies: Boolean!, $afterEvents: String, $afterBalanceChanges: String, $afterObjectChanges: String, $afterDependencies: String) {
2728
+ query paginateTransactionBlockLists($digest: String!, $hasMoreEvents: Boolean!, $hasMoreBalanceChanges: Boolean!, $hasMoreObjectChanges: Boolean!, $afterEvents: String, $afterBalanceChanges: String, $afterObjectChanges: String) {
3289
2729
  transactionBlock(digest: $digest) {
3290
2730
  ...PAGINATE_TRANSACTION_LISTS
3291
2731
  }
3292
2732
  }
3293
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
3294
- __typename
3295
- ... on AddressOwner {
3296
- owner {
3297
- asObject {
3298
- address
3299
- }
3300
- asAddress {
3301
- address
3302
- }
3303
- }
3304
- }
3305
- ... on Parent {
3306
- parent {
3307
- address
3308
- }
3309
- }
3310
- ... on Shared {
3311
- initialSharedVersion
3312
- }
3313
- }
3314
- fragment RPC_EVENTS_FIELDS on Event {
2733
+ fragment RPC_EVENTS_FIELDS on Event {
3315
2734
  sendingModule {
3316
2735
  package {
3317
2736
  address
@@ -3359,27 +2778,15 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
3359
2778
  amount
3360
2779
  }
3361
2780
  }
3362
- dependencies(after: $afterDependencies) @include(if: $hasMoreDependencies) {
3363
- pageInfo {
3364
- hasNextPage
3365
- endCursor
3366
- }
3367
- nodes {
3368
- digest
3369
- }
3370
- }
3371
2781
  objectChanges(after: $afterObjectChanges) @include(if: $hasMoreObjectChanges) {
3372
2782
  pageInfo {
3373
2783
  hasNextPage
3374
2784
  endCursor
3375
2785
  }
3376
2786
  nodes {
3377
- idCreated
3378
- idDeleted
2787
+ address
3379
2788
  inputState {
3380
2789
  version
3381
- digest
3382
- address
3383
2790
  asMoveObject {
3384
2791
  contents {
3385
2792
  type {
@@ -3387,14 +2794,8 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
3387
2794
  }
3388
2795
  }
3389
2796
  }
3390
- owner {
3391
- ...RPC_OBJECT_OWNER_FIELDS
3392
- }
3393
2797
  }
3394
2798
  outputState {
3395
- version
3396
- digest
3397
- address
3398
2799
  asMoveObject {
3399
2800
  contents {
3400
2801
  type {
@@ -3402,8 +2803,12 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
3402
2803
  }
3403
2804
  }
3404
2805
  }
3405
- owner {
3406
- ...RPC_OBJECT_OWNER_FIELDS
2806
+ asMovePackage {
2807
+ modules(first: 10) {
2808
+ nodes {
2809
+ name
2810
+ }
2811
+ }
3407
2812
  }
3408
2813
  }
3409
2814
  }