@iota/graphql-transport 0.1.2 → 0.2.1

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 (42) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/cjs/generated/queries.d.ts +991 -1444
  3. package/dist/cjs/generated/queries.js +123 -727
  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/checkpint.js +1 -0
  7. package/dist/cjs/mappers/checkpint.js.map +2 -2
  8. package/dist/cjs/mappers/move.js.map +2 -2
  9. package/dist/cjs/mappers/object.js +2 -6
  10. package/dist/cjs/mappers/object.js.map +2 -2
  11. package/dist/cjs/mappers/transaction-block.d.ts +1 -0
  12. package/dist/cjs/mappers/transaction-block.js +316 -146
  13. package/dist/cjs/mappers/transaction-block.js.map +2 -2
  14. package/dist/cjs/mappers/validator.js +4 -6
  15. package/dist/cjs/mappers/validator.js.map +2 -2
  16. package/dist/cjs/methods.js +26 -32
  17. package/dist/cjs/methods.js.map +2 -2
  18. package/dist/cjs/transport.d.ts +1 -1
  19. package/dist/cjs/transport.js +18 -33
  20. package/dist/cjs/transport.js.map +2 -2
  21. package/dist/esm/generated/queries.d.ts +991 -1444
  22. package/dist/esm/generated/queries.js +123 -727
  23. package/dist/esm/generated/queries.js.map +2 -2
  24. package/dist/esm/mappers/bcs.js.map +1 -1
  25. package/dist/esm/mappers/checkpint.js +1 -0
  26. package/dist/esm/mappers/checkpint.js.map +2 -2
  27. package/dist/esm/mappers/move.js.map +2 -2
  28. package/dist/esm/mappers/object.js +2 -6
  29. package/dist/esm/mappers/object.js.map +2 -2
  30. package/dist/esm/mappers/transaction-block.d.ts +1 -0
  31. package/dist/esm/mappers/transaction-block.js +318 -148
  32. package/dist/esm/mappers/transaction-block.js.map +2 -2
  33. package/dist/esm/mappers/validator.js +4 -6
  34. package/dist/esm/mappers/validator.js.map +2 -2
  35. package/dist/esm/methods.js +27 -33
  36. package/dist/esm/methods.js.map +2 -2
  37. package/dist/esm/transport.d.ts +1 -1
  38. package/dist/esm/transport.js +17 -32
  39. package/dist/esm/transport.js.map +2 -2
  40. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  41. package/dist/tsconfig.tsbuildinfo +1 -1
  42. 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;
@@ -70,6 +69,7 @@ const Rpc_Checkpoint_FieldsFragmentDoc = new TypedDocumentString(`
70
69
  }
71
70
  rollingGasSummary {
72
71
  computationCost
72
+ computationCostBurned
73
73
  storageCost
74
74
  storageRebate
75
75
  nonRefundableStorageFee
@@ -132,8 +132,7 @@ const Rpc_Credential_FieldsFragmentDoc = new TypedDocumentString(`
132
132
  networkPubKey
133
133
  p2PAddress
134
134
  primaryAddress
135
- workerPubKey
136
- workerAddress
135
+ authorityPubKey
137
136
  proofOfPossession
138
137
  protocolPubKey
139
138
  }
@@ -187,8 +186,7 @@ const Rpc_Validator_FieldsFragmentDoc = new TypedDocumentString(`
187
186
  networkPubKey
188
187
  p2PAddress
189
188
  primaryAddress
190
- workerPubKey
191
- workerAddress
189
+ authorityPubKey
192
190
  proofOfPossession
193
191
  protocolPubKey
194
192
  }`, { "fragmentName": "RPC_VALIDATOR_FIELDS" });
@@ -324,7 +322,6 @@ const Rpc_Object_FieldsFragmentDoc = new TypedDocumentString(`
324
322
  }
325
323
  }
326
324
  asMoveObject @include(if: $showContent) {
327
- hasPublicTransfer
328
325
  contents {
329
326
  data
330
327
  type {
@@ -335,7 +332,6 @@ const Rpc_Object_FieldsFragmentDoc = new TypedDocumentString(`
335
332
  }
336
333
  }
337
334
  asMoveObject @include(if: $showBcs) {
338
- hasPublicTransfer
339
335
  contents {
340
336
  bcs
341
337
  type {
@@ -388,7 +384,6 @@ const Rpc_Move_Object_FieldsFragmentDoc = new TypedDocumentString(`
388
384
  repr
389
385
  }
390
386
  }
391
- hasPublicTransfer @include(if: $showContent)
392
387
  contents @include(if: $showContent) {
393
388
  data
394
389
  type {
@@ -397,7 +392,6 @@ const Rpc_Move_Object_FieldsFragmentDoc = new TypedDocumentString(`
397
392
  signature
398
393
  }
399
394
  }
400
- hasPublicTransfer @include(if: $showBcs)
401
395
  contents @include(if: $showBcs) {
402
396
  bcs
403
397
  type {
@@ -512,27 +506,15 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
512
506
  amount
513
507
  }
514
508
  }
515
- dependencies(after: $afterDependencies) @include(if: $hasMoreDependencies) {
516
- pageInfo {
517
- hasNextPage
518
- endCursor
519
- }
520
- nodes {
521
- digest
522
- }
523
- }
524
509
  objectChanges(after: $afterObjectChanges) @include(if: $hasMoreObjectChanges) {
525
510
  pageInfo {
526
511
  hasNextPage
527
512
  endCursor
528
513
  }
529
514
  nodes {
530
- idCreated
531
- idDeleted
515
+ address
532
516
  inputState {
533
517
  version
534
- digest
535
- address
536
518
  asMoveObject {
537
519
  contents {
538
520
  type {
@@ -540,14 +522,8 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
540
522
  }
541
523
  }
542
524
  }
543
- owner {
544
- ...RPC_OBJECT_OWNER_FIELDS
545
- }
546
525
  }
547
526
  outputState {
548
- version
549
- digest
550
- address
551
527
  asMoveObject {
552
528
  contents {
553
529
  type {
@@ -555,36 +531,19 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
555
531
  }
556
532
  }
557
533
  }
558
- owner {
559
- ...RPC_OBJECT_OWNER_FIELDS
534
+ asMovePackage {
535
+ modules(first: 10) {
536
+ nodes {
537
+ name
538
+ }
539
+ }
560
540
  }
561
541
  }
562
542
  }
563
543
  }
564
544
  }
565
545
  }
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 {
546
+ fragment RPC_EVENTS_FIELDS on Event {
588
547
  sendingModule {
589
548
  package {
590
549
  address
@@ -611,6 +570,9 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
611
570
  }
612
571
  signatures
613
572
  effects {
573
+ bcs @include(if: $showEffects)
574
+ bcs @include(if: $showObjectChanges)
575
+ bcs @include(if: $showRawEffects)
614
576
  events @include(if: $showEvents) {
615
577
  pageInfo {
616
578
  hasNextPage
@@ -644,70 +606,15 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
644
606
  amount
645
607
  }
646
608
  }
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
609
  objectChanges @include(if: $showObjectChanges) {
700
610
  pageInfo {
701
611
  hasNextPage
702
612
  endCursor
703
613
  }
704
614
  nodes {
705
- idCreated
706
- idDeleted
615
+ address
707
616
  inputState {
708
617
  version
709
- digest
710
- address
711
618
  asMoveObject {
712
619
  contents {
713
620
  type {
@@ -715,14 +622,8 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
715
622
  }
716
623
  }
717
624
  }
718
- owner {
719
- ...RPC_OBJECT_OWNER_FIELDS
720
- }
721
625
  }
722
626
  outputState {
723
- version
724
- digest
725
- address
726
627
  asMoveObject {
727
628
  contents {
728
629
  type {
@@ -730,36 +631,19 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
730
631
  }
731
632
  }
732
633
  }
733
- owner {
734
- ...RPC_OBJECT_OWNER_FIELDS
634
+ asMovePackage {
635
+ modules(first: 10) {
636
+ nodes {
637
+ name
638
+ }
639
+ }
735
640
  }
736
641
  }
737
642
  }
738
643
  }
739
644
  }
740
645
  }
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 {
646
+ fragment RPC_EVENTS_FIELDS on Event {
763
647
  sendingModule {
764
648
  package {
765
649
  address
@@ -789,6 +673,7 @@ const GetCheckpointDocument = new TypedDocumentString(`
789
673
  }
790
674
  rollingGasSummary {
791
675
  computationCost
676
+ computationCostBurned
792
677
  storageCost
793
678
  storageRebate
794
679
  nonRefundableStorageFee
@@ -865,6 +750,7 @@ const GetCheckpointsDocument = new TypedDocumentString(`
865
750
  }
866
751
  rollingGasSummary {
867
752
  computationCost
753
+ computationCostBurned
868
754
  storageCost
869
755
  storageRebate
870
756
  nonRefundableStorageFee
@@ -936,7 +822,7 @@ const PaginateCheckpointTransactionBlocksDocument = new TypedDocumentString(`
936
822
  }
937
823
  `);
938
824
  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) {
825
+ 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
826
  dryRunTransactionBlock(txBytes: $txBytes, txMeta: $txMeta) {
941
827
  error
942
828
  results {
@@ -968,28 +854,7 @@ const DevInspectTransactionBlockDocument = new TypedDocumentString(`
968
854
  }
969
855
  }
970
856
  }
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 {
857
+ fragment RPC_EVENTS_FIELDS on Event {
993
858
  sendingModule {
994
859
  package {
995
860
  address
@@ -1015,6 +880,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1015
880
  }
1016
881
  signatures
1017
882
  effects {
883
+ bcs @include(if: $showEffects)
884
+ bcs @include(if: $showObjectChanges)
885
+ bcs @include(if: $showRawEffects)
1018
886
  events @include(if: $showEvents) {
1019
887
  pageInfo {
1020
888
  hasNextPage
@@ -1048,70 +916,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1048
916
  amount
1049
917
  }
1050
918
  }
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
919
  objectChanges @include(if: $showObjectChanges) {
1104
920
  pageInfo {
1105
921
  hasNextPage
1106
922
  endCursor
1107
923
  }
1108
924
  nodes {
1109
- idCreated
1110
- idDeleted
925
+ address
1111
926
  inputState {
1112
927
  version
1113
- digest
1114
- address
1115
928
  asMoveObject {
1116
929
  contents {
1117
930
  type {
@@ -1119,14 +932,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1119
932
  }
1120
933
  }
1121
934
  }
1122
- owner {
1123
- ...RPC_OBJECT_OWNER_FIELDS
1124
- }
1125
935
  }
1126
936
  outputState {
1127
- version
1128
- digest
1129
- address
1130
937
  asMoveObject {
1131
938
  contents {
1132
939
  type {
@@ -1134,8 +941,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1134
941
  }
1135
942
  }
1136
943
  }
1137
- owner {
1138
- ...RPC_OBJECT_OWNER_FIELDS
944
+ asMovePackage {
945
+ modules(first: 10) {
946
+ nodes {
947
+ name
948
+ }
949
+ }
1139
950
  }
1140
951
  }
1141
952
  }
@@ -1143,7 +954,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1143
954
  }
1144
955
  }`);
1145
956
  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) {
957
+ 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
958
  dryRunTransactionBlock(txBytes: $txBytes) {
1148
959
  error
1149
960
  transaction {
@@ -1151,28 +962,7 @@ const DryRunTransactionBlockDocument = new TypedDocumentString(`
1151
962
  }
1152
963
  }
1153
964
  }
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 {
965
+ fragment RPC_EVENTS_FIELDS on Event {
1176
966
  sendingModule {
1177
967
  package {
1178
968
  address
@@ -1198,6 +988,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1198
988
  }
1199
989
  signatures
1200
990
  effects {
991
+ bcs @include(if: $showEffects)
992
+ bcs @include(if: $showObjectChanges)
993
+ bcs @include(if: $showRawEffects)
1201
994
  events @include(if: $showEvents) {
1202
995
  pageInfo {
1203
996
  hasNextPage
@@ -1231,70 +1024,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1231
1024
  amount
1232
1025
  }
1233
1026
  }
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
1027
  objectChanges @include(if: $showObjectChanges) {
1287
1028
  pageInfo {
1288
1029
  hasNextPage
1289
1030
  endCursor
1290
1031
  }
1291
1032
  nodes {
1292
- idCreated
1293
- idDeleted
1033
+ address
1294
1034
  inputState {
1295
1035
  version
1296
- digest
1297
- address
1298
1036
  asMoveObject {
1299
1037
  contents {
1300
1038
  type {
@@ -1302,14 +1040,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1302
1040
  }
1303
1041
  }
1304
1042
  }
1305
- owner {
1306
- ...RPC_OBJECT_OWNER_FIELDS
1307
- }
1308
1043
  }
1309
1044
  outputState {
1310
- version
1311
- digest
1312
- address
1313
1045
  asMoveObject {
1314
1046
  contents {
1315
1047
  type {
@@ -1317,8 +1049,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1317
1049
  }
1318
1050
  }
1319
1051
  }
1320
- owner {
1321
- ...RPC_OBJECT_OWNER_FIELDS
1052
+ asMovePackage {
1053
+ modules(first: 10) {
1054
+ nodes {
1055
+ name
1056
+ }
1057
+ }
1322
1058
  }
1323
1059
  }
1324
1060
  }
@@ -1326,7 +1062,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1326
1062
  }
1327
1063
  }`);
1328
1064
  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) {
1065
+ 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
1066
  executeTransactionBlock(txBytes: $txBytes, signatures: $signatures) {
1331
1067
  errors
1332
1068
  effects {
@@ -1336,28 +1072,7 @@ const ExecuteTransactionBlockDocument = new TypedDocumentString(`
1336
1072
  }
1337
1073
  }
1338
1074
  }
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 {
1075
+ fragment RPC_EVENTS_FIELDS on Event {
1361
1076
  sendingModule {
1362
1077
  package {
1363
1078
  address
@@ -1383,6 +1098,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1383
1098
  }
1384
1099
  signatures
1385
1100
  effects {
1101
+ bcs @include(if: $showEffects)
1102
+ bcs @include(if: $showObjectChanges)
1103
+ bcs @include(if: $showRawEffects)
1386
1104
  events @include(if: $showEvents) {
1387
1105
  pageInfo {
1388
1106
  hasNextPage
@@ -1416,70 +1134,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1416
1134
  amount
1417
1135
  }
1418
1136
  }
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
1137
  objectChanges @include(if: $showObjectChanges) {
1472
1138
  pageInfo {
1473
1139
  hasNextPage
1474
1140
  endCursor
1475
1141
  }
1476
1142
  nodes {
1477
- idCreated
1478
- idDeleted
1143
+ address
1479
1144
  inputState {
1480
1145
  version
1481
- digest
1482
- address
1483
1146
  asMoveObject {
1484
1147
  contents {
1485
1148
  type {
@@ -1487,14 +1150,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1487
1150
  }
1488
1151
  }
1489
1152
  }
1490
- owner {
1491
- ...RPC_OBJECT_OWNER_FIELDS
1492
- }
1493
1153
  }
1494
1154
  outputState {
1495
- version
1496
- digest
1497
- address
1498
1155
  asMoveObject {
1499
1156
  contents {
1500
1157
  type {
@@ -1502,8 +1159,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1502
1159
  }
1503
1160
  }
1504
1161
  }
1505
- owner {
1506
- ...RPC_OBJECT_OWNER_FIELDS
1162
+ asMovePackage {
1163
+ modules(first: 10) {
1164
+ nodes {
1165
+ name
1166
+ }
1167
+ }
1507
1168
  }
1508
1169
  }
1509
1170
  }
@@ -1587,7 +1248,7 @@ const GetCoinsDocument = new TypedDocumentString(`
1587
1248
  }
1588
1249
  `);
1589
1250
  const GetCommitteeInfoDocument = new TypedDocumentString(`
1590
- query getCommitteeInfo($epochId: Int, $after: String) {
1251
+ query getCommitteeInfo($epochId: UInt53, $after: String) {
1591
1252
  epoch(id: $epochId) {
1592
1253
  epochId
1593
1254
  validatorSet {
@@ -1598,7 +1259,7 @@ const GetCommitteeInfoDocument = new TypedDocumentString(`
1598
1259
  }
1599
1260
  nodes {
1600
1261
  credentials {
1601
- protocolPubKey
1262
+ authorityPubKey
1602
1263
  }
1603
1264
  votingPower
1604
1265
  }
@@ -1622,6 +1283,7 @@ const GetCurrentEpochDocument = new TypedDocumentString(`
1622
1283
  }
1623
1284
  }
1624
1285
  }
1286
+ totalTransactions
1625
1287
  firstCheckpoint: checkpoints(first: 1) {
1626
1288
  nodes {
1627
1289
  sequenceNumber
@@ -1680,13 +1342,12 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
1680
1342
  networkPubKey
1681
1343
  p2PAddress
1682
1344
  primaryAddress
1683
- workerPubKey
1684
- workerAddress
1345
+ authorityPubKey
1685
1346
  proofOfPossession
1686
1347
  protocolPubKey
1687
1348
  }`);
1688
1349
  const PaginateEpochValidatorsDocument = new TypedDocumentString(`
1689
- query paginateEpochValidators($id: Int!, $after: String) {
1350
+ query paginateEpochValidators($id: UInt53!, $after: String) {
1690
1351
  epoch(id: $id) {
1691
1352
  validatorSet {
1692
1353
  activeValidators(after: $after) {
@@ -1749,8 +1410,7 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
1749
1410
  networkPubKey
1750
1411
  p2PAddress
1751
1412
  primaryAddress
1752
- workerPubKey
1753
- workerAddress
1413
+ authorityPubKey
1754
1414
  proofOfPossession
1755
1415
  protocolPubKey
1756
1416
  }`);
@@ -1763,7 +1423,7 @@ const GetTypeLayoutDocument = new TypedDocumentString(`
1763
1423
  `);
1764
1424
  const GetDynamicFieldObjectDocument = new TypedDocumentString(`
1765
1425
  query getDynamicFieldObject($parentId: IotaAddress!, $name: DynamicFieldName!) {
1766
- object(address: $parentId) {
1426
+ owner(address: $parentId) {
1767
1427
  dynamicObjectField(name: $name) {
1768
1428
  value {
1769
1429
  __typename
@@ -1795,7 +1455,6 @@ const GetDynamicFieldObjectDocument = new TypedDocumentString(`
1795
1455
  layout
1796
1456
  }
1797
1457
  }
1798
- hasPublicTransfer
1799
1458
  }
1800
1459
  }
1801
1460
  }
@@ -1808,7 +1467,7 @@ const GetDynamicFieldObjectDocument = new TypedDocumentString(`
1808
1467
  `);
1809
1468
  const GetDynamicFieldsDocument = new TypedDocumentString(`
1810
1469
  query getDynamicFields($parentId: IotaAddress!, $first: Int, $cursor: String) {
1811
- object(address: $parentId) {
1470
+ owner(address: $parentId) {
1812
1471
  dynamicFields(first: $first, after: $cursor) {
1813
1472
  pageInfo {
1814
1473
  hasNextPage
@@ -1866,6 +1525,7 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
1866
1525
  enabled
1867
1526
  gasSummary {
1868
1527
  computationCost
1528
+ computationCostBurned
1869
1529
  nonRefundableStorageFee
1870
1530
  storageCost
1871
1531
  storageRebate
@@ -1877,6 +1537,7 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
1877
1537
  }
1878
1538
  systemStateVersion
1879
1539
  iotaTotalSupply
1540
+ iotaTreasuryCapId
1880
1541
  systemParameters {
1881
1542
  minValidatorCount
1882
1543
  maxValidatorCount
@@ -1905,6 +1566,10 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
1905
1566
  validatorCandidatesSize
1906
1567
  pendingRemovals
1907
1568
  totalStake
1569
+ stakingPoolMappingsId
1570
+ pendingActiveValidatorsId
1571
+ validatorCandidatesId
1572
+ inactivePoolsId
1908
1573
  }
1909
1574
  }
1910
1575
  }
@@ -1956,8 +1621,7 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
1956
1621
  networkPubKey
1957
1622
  p2PAddress
1958
1623
  primaryAddress
1959
- workerPubKey
1960
- workerAddress
1624
+ authorityPubKey
1961
1625
  proofOfPossession
1962
1626
  protocolPubKey
1963
1627
  }`);
@@ -2256,7 +1920,7 @@ const GetNormalizedMoveStructDocument = new TypedDocumentString(`
2256
1920
  }
2257
1921
  }`);
2258
1922
  const GetProtocolConfigDocument = new TypedDocumentString(`
2259
- query getProtocolConfig($protocolVersion: Int) {
1923
+ query getProtocolConfig($protocolVersion: UInt53) {
2260
1924
  protocolConfig(protocolVersion: $protocolVersion) {
2261
1925
  protocolVersion
2262
1926
  configs {
@@ -2335,7 +1999,6 @@ const GetOwnedObjectsDocument = new TypedDocumentString(`
2335
1999
  repr
2336
2000
  }
2337
2001
  }
2338
- hasPublicTransfer @include(if: $showContent)
2339
2002
  contents @include(if: $showContent) {
2340
2003
  data
2341
2004
  type {
@@ -2344,7 +2007,6 @@ const GetOwnedObjectsDocument = new TypedDocumentString(`
2344
2007
  signature
2345
2008
  }
2346
2009
  }
2347
- hasPublicTransfer @include(if: $showBcs)
2348
2010
  contents @include(if: $showBcs) {
2349
2011
  bcs
2350
2012
  type {
@@ -2404,7 +2066,6 @@ const GetObjectDocument = new TypedDocumentString(`
2404
2066
  }
2405
2067
  }
2406
2068
  asMoveObject @include(if: $showContent) {
2407
- hasPublicTransfer
2408
2069
  contents {
2409
2070
  data
2410
2071
  type {
@@ -2415,7 +2076,6 @@ const GetObjectDocument = new TypedDocumentString(`
2415
2076
  }
2416
2077
  }
2417
2078
  asMoveObject @include(if: $showBcs) {
2418
- hasPublicTransfer
2419
2079
  contents {
2420
2080
  bcs
2421
2081
  type {
@@ -2460,7 +2120,7 @@ fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
2460
2120
  }
2461
2121
  }`);
2462
2122
  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) {
2123
+ 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
2124
  current: object(address: $id) {
2465
2125
  address
2466
2126
  version
@@ -2480,7 +2140,6 @@ const TryGetPastObjectDocument = new TypedDocumentString(`
2480
2140
  }
2481
2141
  }
2482
2142
  asMoveObject @include(if: $showContent) {
2483
- hasPublicTransfer
2484
2143
  contents {
2485
2144
  data
2486
2145
  type {
@@ -2491,7 +2150,6 @@ const TryGetPastObjectDocument = new TypedDocumentString(`
2491
2150
  }
2492
2151
  }
2493
2152
  asMoveObject @include(if: $showBcs) {
2494
- hasPublicTransfer
2495
2153
  contents {
2496
2154
  bcs
2497
2155
  type {
@@ -2558,7 +2216,6 @@ const MultiGetObjectsDocument = new TypedDocumentString(`
2558
2216
  }
2559
2217
  }
2560
2218
  asMoveObject @include(if: $showContent) {
2561
- hasPublicTransfer
2562
2219
  contents {
2563
2220
  data
2564
2221
  type {
@@ -2569,7 +2226,6 @@ const MultiGetObjectsDocument = new TypedDocumentString(`
2569
2226
  }
2570
2227
  }
2571
2228
  asMoveObject @include(if: $showBcs) {
2572
- hasPublicTransfer
2573
2229
  contents {
2574
2230
  bcs
2575
2231
  type {
@@ -2719,7 +2375,7 @@ const GetStakesByIdsDocument = new TypedDocumentString(`
2719
2375
  estimatedReward
2720
2376
  }`);
2721
2377
  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) {
2378
+ 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
2379
  transactionBlocks(
2724
2380
  first: $first
2725
2381
  after: $after
@@ -2738,28 +2394,7 @@ const QueryTransactionBlocksDocument = new TypedDocumentString(`
2738
2394
  }
2739
2395
  }
2740
2396
  }
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 {
2397
+ fragment RPC_EVENTS_FIELDS on Event {
2763
2398
  sendingModule {
2764
2399
  package {
2765
2400
  address
@@ -2785,6 +2420,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2785
2420
  }
2786
2421
  signatures
2787
2422
  effects {
2423
+ bcs @include(if: $showEffects)
2424
+ bcs @include(if: $showObjectChanges)
2425
+ bcs @include(if: $showRawEffects)
2788
2426
  events @include(if: $showEvents) {
2789
2427
  pageInfo {
2790
2428
  hasNextPage
@@ -2818,70 +2456,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2818
2456
  amount
2819
2457
  }
2820
2458
  }
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
2459
  objectChanges @include(if: $showObjectChanges) {
2874
2460
  pageInfo {
2875
2461
  hasNextPage
2876
2462
  endCursor
2877
2463
  }
2878
2464
  nodes {
2879
- idCreated
2880
- idDeleted
2465
+ address
2881
2466
  inputState {
2882
2467
  version
2883
- digest
2884
- address
2885
2468
  asMoveObject {
2886
2469
  contents {
2887
2470
  type {
@@ -2889,14 +2472,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2889
2472
  }
2890
2473
  }
2891
2474
  }
2892
- owner {
2893
- ...RPC_OBJECT_OWNER_FIELDS
2894
- }
2895
2475
  }
2896
2476
  outputState {
2897
- version
2898
- digest
2899
- address
2900
2477
  asMoveObject {
2901
2478
  contents {
2902
2479
  type {
@@ -2904,8 +2481,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2904
2481
  }
2905
2482
  }
2906
2483
  }
2907
- owner {
2908
- ...RPC_OBJECT_OWNER_FIELDS
2484
+ asMovePackage {
2485
+ modules(first: 10) {
2486
+ nodes {
2487
+ name
2488
+ }
2489
+ }
2909
2490
  }
2910
2491
  }
2911
2492
  }
@@ -2913,33 +2494,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2913
2494
  }
2914
2495
  }`);
2915
2496
  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) {
2497
+ 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
2498
  transactionBlock(digest: $digest) {
2918
2499
  ...RPC_TRANSACTION_FIELDS
2919
2500
  }
2920
2501
  }
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 {
2502
+ fragment RPC_EVENTS_FIELDS on Event {
2943
2503
  sendingModule {
2944
2504
  package {
2945
2505
  address
@@ -2965,6 +2525,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2965
2525
  }
2966
2526
  signatures
2967
2527
  effects {
2528
+ bcs @include(if: $showEffects)
2529
+ bcs @include(if: $showObjectChanges)
2530
+ bcs @include(if: $showRawEffects)
2968
2531
  events @include(if: $showEvents) {
2969
2532
  pageInfo {
2970
2533
  hasNextPage
@@ -2998,70 +2561,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2998
2561
  amount
2999
2562
  }
3000
2563
  }
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
2564
  objectChanges @include(if: $showObjectChanges) {
3054
2565
  pageInfo {
3055
2566
  hasNextPage
3056
2567
  endCursor
3057
2568
  }
3058
2569
  nodes {
3059
- idCreated
3060
- idDeleted
2570
+ address
3061
2571
  inputState {
3062
2572
  version
3063
- digest
3064
- address
3065
2573
  asMoveObject {
3066
2574
  contents {
3067
2575
  type {
@@ -3069,14 +2577,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3069
2577
  }
3070
2578
  }
3071
2579
  }
3072
- owner {
3073
- ...RPC_OBJECT_OWNER_FIELDS
3074
- }
3075
2580
  }
3076
2581
  outputState {
3077
- version
3078
- digest
3079
- address
3080
2582
  asMoveObject {
3081
2583
  contents {
3082
2584
  type {
@@ -3084,8 +2586,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3084
2586
  }
3085
2587
  }
3086
2588
  }
3087
- owner {
3088
- ...RPC_OBJECT_OWNER_FIELDS
2589
+ asMovePackage {
2590
+ modules(first: 10) {
2591
+ nodes {
2592
+ name
2593
+ }
2594
+ }
3089
2595
  }
3090
2596
  }
3091
2597
  }
@@ -3093,7 +2599,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3093
2599
  }
3094
2600
  }`);
3095
2601
  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) {
2602
+ 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
2603
  transactionBlocks(
3098
2604
  first: $limit
3099
2605
  after: $cursor
@@ -3110,28 +2616,7 @@ const MultiGetTransactionBlocksDocument = new TypedDocumentString(`
3110
2616
  }
3111
2617
  }
3112
2618
  }
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 {
2619
+ fragment RPC_EVENTS_FIELDS on Event {
3135
2620
  sendingModule {
3136
2621
  package {
3137
2622
  address
@@ -3157,6 +2642,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3157
2642
  }
3158
2643
  signatures
3159
2644
  effects {
2645
+ bcs @include(if: $showEffects)
2646
+ bcs @include(if: $showObjectChanges)
2647
+ bcs @include(if: $showRawEffects)
3160
2648
  events @include(if: $showEvents) {
3161
2649
  pageInfo {
3162
2650
  hasNextPage
@@ -3190,70 +2678,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3190
2678
  amount
3191
2679
  }
3192
2680
  }
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
2681
  objectChanges @include(if: $showObjectChanges) {
3246
2682
  pageInfo {
3247
2683
  hasNextPage
3248
2684
  endCursor
3249
2685
  }
3250
2686
  nodes {
3251
- idCreated
3252
- idDeleted
2687
+ address
3253
2688
  inputState {
3254
2689
  version
3255
- digest
3256
- address
3257
2690
  asMoveObject {
3258
2691
  contents {
3259
2692
  type {
@@ -3261,14 +2694,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3261
2694
  }
3262
2695
  }
3263
2696
  }
3264
- owner {
3265
- ...RPC_OBJECT_OWNER_FIELDS
3266
- }
3267
2697
  }
3268
2698
  outputState {
3269
- version
3270
- digest
3271
- address
3272
2699
  asMoveObject {
3273
2700
  contents {
3274
2701
  type {
@@ -3276,8 +2703,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3276
2703
  }
3277
2704
  }
3278
2705
  }
3279
- owner {
3280
- ...RPC_OBJECT_OWNER_FIELDS
2706
+ asMovePackage {
2707
+ modules(first: 10) {
2708
+ nodes {
2709
+ name
2710
+ }
2711
+ }
3281
2712
  }
3282
2713
  }
3283
2714
  }
@@ -3285,33 +2716,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3285
2716
  }
3286
2717
  }`);
3287
2718
  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) {
2719
+ query paginateTransactionBlockLists($digest: String!, $hasMoreEvents: Boolean!, $hasMoreBalanceChanges: Boolean!, $hasMoreObjectChanges: Boolean!, $afterEvents: String, $afterBalanceChanges: String, $afterObjectChanges: String) {
3289
2720
  transactionBlock(digest: $digest) {
3290
2721
  ...PAGINATE_TRANSACTION_LISTS
3291
2722
  }
3292
2723
  }
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 {
2724
+ fragment RPC_EVENTS_FIELDS on Event {
3315
2725
  sendingModule {
3316
2726
  package {
3317
2727
  address
@@ -3359,27 +2769,15 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
3359
2769
  amount
3360
2770
  }
3361
2771
  }
3362
- dependencies(after: $afterDependencies) @include(if: $hasMoreDependencies) {
3363
- pageInfo {
3364
- hasNextPage
3365
- endCursor
3366
- }
3367
- nodes {
3368
- digest
3369
- }
3370
- }
3371
2772
  objectChanges(after: $afterObjectChanges) @include(if: $hasMoreObjectChanges) {
3372
2773
  pageInfo {
3373
2774
  hasNextPage
3374
2775
  endCursor
3375
2776
  }
3376
2777
  nodes {
3377
- idCreated
3378
- idDeleted
2778
+ address
3379
2779
  inputState {
3380
2780
  version
3381
- digest
3382
- address
3383
2781
  asMoveObject {
3384
2782
  contents {
3385
2783
  type {
@@ -3387,14 +2785,8 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
3387
2785
  }
3388
2786
  }
3389
2787
  }
3390
- owner {
3391
- ...RPC_OBJECT_OWNER_FIELDS
3392
- }
3393
2788
  }
3394
2789
  outputState {
3395
- version
3396
- digest
3397
- address
3398
2790
  asMoveObject {
3399
2791
  contents {
3400
2792
  type {
@@ -3402,8 +2794,12 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
3402
2794
  }
3403
2795
  }
3404
2796
  }
3405
- owner {
3406
- ...RPC_OBJECT_OWNER_FIELDS
2797
+ asMovePackage {
2798
+ modules(first: 10) {
2799
+ nodes {
2800
+ name
2801
+ }
2802
+ }
3407
2803
  }
3408
2804
  }
3409
2805
  }