@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
@@ -116,8 +116,7 @@ var MoveVisibility = /* @__PURE__ */ ((MoveVisibility2) => {
116
116
  return MoveVisibility2;
117
117
  })(MoveVisibility || {});
118
118
  var ObjectKind = /* @__PURE__ */ ((ObjectKind2) => {
119
- ObjectKind2["Historical"] = "HISTORICAL";
120
- ObjectKind2["Live"] = "LIVE";
119
+ ObjectKind2["Indexed"] = "INDEXED";
121
120
  ObjectKind2["NotIndexed"] = "NOT_INDEXED";
122
121
  ObjectKind2["WrappedOrDeleted"] = "WRAPPED_OR_DELETED";
123
122
  return ObjectKind2;
@@ -156,6 +155,7 @@ const Rpc_Checkpoint_FieldsFragmentDoc = new TypedDocumentString(`
156
155
  }
157
156
  rollingGasSummary {
158
157
  computationCost
158
+ computationCostBurned
159
159
  storageCost
160
160
  storageRebate
161
161
  nonRefundableStorageFee
@@ -218,8 +218,7 @@ const Rpc_Credential_FieldsFragmentDoc = new TypedDocumentString(`
218
218
  networkPubKey
219
219
  p2PAddress
220
220
  primaryAddress
221
- workerPubKey
222
- workerAddress
221
+ authorityPubKey
223
222
  proofOfPossession
224
223
  protocolPubKey
225
224
  }
@@ -273,8 +272,7 @@ const Rpc_Validator_FieldsFragmentDoc = new TypedDocumentString(`
273
272
  networkPubKey
274
273
  p2PAddress
275
274
  primaryAddress
276
- workerPubKey
277
- workerAddress
275
+ authorityPubKey
278
276
  proofOfPossession
279
277
  protocolPubKey
280
278
  }`, { "fragmentName": "RPC_VALIDATOR_FIELDS" });
@@ -410,7 +408,6 @@ const Rpc_Object_FieldsFragmentDoc = new TypedDocumentString(`
410
408
  }
411
409
  }
412
410
  asMoveObject @include(if: $showContent) {
413
- hasPublicTransfer
414
411
  contents {
415
412
  data
416
413
  type {
@@ -421,7 +418,6 @@ const Rpc_Object_FieldsFragmentDoc = new TypedDocumentString(`
421
418
  }
422
419
  }
423
420
  asMoveObject @include(if: $showBcs) {
424
- hasPublicTransfer
425
421
  contents {
426
422
  bcs
427
423
  type {
@@ -474,7 +470,6 @@ const Rpc_Move_Object_FieldsFragmentDoc = new TypedDocumentString(`
474
470
  repr
475
471
  }
476
472
  }
477
- hasPublicTransfer @include(if: $showContent)
478
473
  contents @include(if: $showContent) {
479
474
  data
480
475
  type {
@@ -483,7 +478,6 @@ const Rpc_Move_Object_FieldsFragmentDoc = new TypedDocumentString(`
483
478
  signature
484
479
  }
485
480
  }
486
- hasPublicTransfer @include(if: $showBcs)
487
481
  contents @include(if: $showBcs) {
488
482
  bcs
489
483
  type {
@@ -598,27 +592,15 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
598
592
  amount
599
593
  }
600
594
  }
601
- dependencies(after: $afterDependencies) @include(if: $hasMoreDependencies) {
602
- pageInfo {
603
- hasNextPage
604
- endCursor
605
- }
606
- nodes {
607
- digest
608
- }
609
- }
610
595
  objectChanges(after: $afterObjectChanges) @include(if: $hasMoreObjectChanges) {
611
596
  pageInfo {
612
597
  hasNextPage
613
598
  endCursor
614
599
  }
615
600
  nodes {
616
- idCreated
617
- idDeleted
601
+ address
618
602
  inputState {
619
603
  version
620
- digest
621
- address
622
604
  asMoveObject {
623
605
  contents {
624
606
  type {
@@ -626,14 +608,8 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
626
608
  }
627
609
  }
628
610
  }
629
- owner {
630
- ...RPC_OBJECT_OWNER_FIELDS
631
- }
632
611
  }
633
612
  outputState {
634
- version
635
- digest
636
- address
637
613
  asMoveObject {
638
614
  contents {
639
615
  type {
@@ -641,36 +617,19 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
641
617
  }
642
618
  }
643
619
  }
644
- owner {
645
- ...RPC_OBJECT_OWNER_FIELDS
620
+ asMovePackage {
621
+ modules(first: 10) {
622
+ nodes {
623
+ name
624
+ }
625
+ }
646
626
  }
647
627
  }
648
628
  }
649
629
  }
650
630
  }
651
631
  }
652
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
653
- __typename
654
- ... on AddressOwner {
655
- owner {
656
- asObject {
657
- address
658
- }
659
- asAddress {
660
- address
661
- }
662
- }
663
- }
664
- ... on Parent {
665
- parent {
666
- address
667
- }
668
- }
669
- ... on Shared {
670
- initialSharedVersion
671
- }
672
- }
673
- fragment RPC_EVENTS_FIELDS on Event {
632
+ fragment RPC_EVENTS_FIELDS on Event {
674
633
  sendingModule {
675
634
  package {
676
635
  address
@@ -697,6 +656,9 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
697
656
  }
698
657
  signatures
699
658
  effects {
659
+ bcs @include(if: $showEffects)
660
+ bcs @include(if: $showObjectChanges)
661
+ bcs @include(if: $showRawEffects)
700
662
  events @include(if: $showEvents) {
701
663
  pageInfo {
702
664
  hasNextPage
@@ -730,70 +692,15 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
730
692
  amount
731
693
  }
732
694
  }
733
- dependencies @include(if: $showEffects) {
734
- pageInfo {
735
- hasNextPage
736
- endCursor
737
- }
738
- nodes {
739
- digest
740
- }
741
- }
742
- status @include(if: $showEffects)
743
- gasEffects @include(if: $showEffects) {
744
- gasObject {
745
- owner {
746
- ...RPC_OBJECT_OWNER_FIELDS
747
- }
748
- digest
749
- version
750
- address
751
- }
752
- gasSummary {
753
- storageCost
754
- storageRebate
755
- nonRefundableStorageFee
756
- computationCost
757
- }
758
- }
759
- executedEpoch: epoch @include(if: $showEffects) {
760
- epochId
761
- }
762
- objectChanges @include(if: $showEffects) {
763
- pageInfo {
764
- hasNextPage
765
- endCursor
766
- }
767
- nodes {
768
- idCreated
769
- idDeleted
770
- inputState {
771
- version
772
- digest
773
- address
774
- }
775
- outputState {
776
- version
777
- digest
778
- address
779
- owner {
780
- ...RPC_OBJECT_OWNER_FIELDS
781
- }
782
- }
783
- }
784
- }
785
695
  objectChanges @include(if: $showObjectChanges) {
786
696
  pageInfo {
787
697
  hasNextPage
788
698
  endCursor
789
699
  }
790
700
  nodes {
791
- idCreated
792
- idDeleted
701
+ address
793
702
  inputState {
794
703
  version
795
- digest
796
- address
797
704
  asMoveObject {
798
705
  contents {
799
706
  type {
@@ -801,14 +708,8 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
801
708
  }
802
709
  }
803
710
  }
804
- owner {
805
- ...RPC_OBJECT_OWNER_FIELDS
806
- }
807
711
  }
808
712
  outputState {
809
- version
810
- digest
811
- address
812
713
  asMoveObject {
813
714
  contents {
814
715
  type {
@@ -816,36 +717,19 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
816
717
  }
817
718
  }
818
719
  }
819
- owner {
820
- ...RPC_OBJECT_OWNER_FIELDS
720
+ asMovePackage {
721
+ modules(first: 10) {
722
+ nodes {
723
+ name
724
+ }
725
+ }
821
726
  }
822
727
  }
823
728
  }
824
729
  }
825
730
  }
826
731
  }
827
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
828
- __typename
829
- ... on AddressOwner {
830
- owner {
831
- asObject {
832
- address
833
- }
834
- asAddress {
835
- address
836
- }
837
- }
838
- }
839
- ... on Parent {
840
- parent {
841
- address
842
- }
843
- }
844
- ... on Shared {
845
- initialSharedVersion
846
- }
847
- }
848
- fragment RPC_EVENTS_FIELDS on Event {
732
+ fragment RPC_EVENTS_FIELDS on Event {
849
733
  sendingModule {
850
734
  package {
851
735
  address
@@ -875,6 +759,7 @@ const GetCheckpointDocument = new TypedDocumentString(`
875
759
  }
876
760
  rollingGasSummary {
877
761
  computationCost
762
+ computationCostBurned
878
763
  storageCost
879
764
  storageRebate
880
765
  nonRefundableStorageFee
@@ -951,6 +836,7 @@ const GetCheckpointsDocument = new TypedDocumentString(`
951
836
  }
952
837
  rollingGasSummary {
953
838
  computationCost
839
+ computationCostBurned
954
840
  storageCost
955
841
  storageRebate
956
842
  nonRefundableStorageFee
@@ -1022,7 +908,7 @@ const PaginateCheckpointTransactionBlocksDocument = new TypedDocumentString(`
1022
908
  }
1023
909
  `);
1024
910
  const DevInspectTransactionBlockDocument = new TypedDocumentString(`
1025
- query devInspectTransactionBlock($txBytes: String!, $txMeta: TransactionMetadata!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
911
+ 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) {
1026
912
  dryRunTransactionBlock(txBytes: $txBytes, txMeta: $txMeta) {
1027
913
  error
1028
914
  results {
@@ -1054,28 +940,7 @@ const DevInspectTransactionBlockDocument = new TypedDocumentString(`
1054
940
  }
1055
941
  }
1056
942
  }
1057
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
1058
- __typename
1059
- ... on AddressOwner {
1060
- owner {
1061
- asObject {
1062
- address
1063
- }
1064
- asAddress {
1065
- address
1066
- }
1067
- }
1068
- }
1069
- ... on Parent {
1070
- parent {
1071
- address
1072
- }
1073
- }
1074
- ... on Shared {
1075
- initialSharedVersion
1076
- }
1077
- }
1078
- fragment RPC_EVENTS_FIELDS on Event {
943
+ fragment RPC_EVENTS_FIELDS on Event {
1079
944
  sendingModule {
1080
945
  package {
1081
946
  address
@@ -1101,6 +966,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1101
966
  }
1102
967
  signatures
1103
968
  effects {
969
+ bcs @include(if: $showEffects)
970
+ bcs @include(if: $showObjectChanges)
971
+ bcs @include(if: $showRawEffects)
1104
972
  events @include(if: $showEvents) {
1105
973
  pageInfo {
1106
974
  hasNextPage
@@ -1134,70 +1002,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1134
1002
  amount
1135
1003
  }
1136
1004
  }
1137
- dependencies @include(if: $showEffects) {
1138
- pageInfo {
1139
- hasNextPage
1140
- endCursor
1141
- }
1142
- nodes {
1143
- digest
1144
- }
1145
- }
1146
- status @include(if: $showEffects)
1147
- gasEffects @include(if: $showEffects) {
1148
- gasObject {
1149
- owner {
1150
- ...RPC_OBJECT_OWNER_FIELDS
1151
- }
1152
- digest
1153
- version
1154
- address
1155
- }
1156
- gasSummary {
1157
- storageCost
1158
- storageRebate
1159
- nonRefundableStorageFee
1160
- computationCost
1161
- }
1162
- }
1163
- executedEpoch: epoch @include(if: $showEffects) {
1164
- epochId
1165
- }
1166
- objectChanges @include(if: $showEffects) {
1167
- pageInfo {
1168
- hasNextPage
1169
- endCursor
1170
- }
1171
- nodes {
1172
- idCreated
1173
- idDeleted
1174
- inputState {
1175
- version
1176
- digest
1177
- address
1178
- }
1179
- outputState {
1180
- version
1181
- digest
1182
- address
1183
- owner {
1184
- ...RPC_OBJECT_OWNER_FIELDS
1185
- }
1186
- }
1187
- }
1188
- }
1189
1005
  objectChanges @include(if: $showObjectChanges) {
1190
1006
  pageInfo {
1191
1007
  hasNextPage
1192
1008
  endCursor
1193
1009
  }
1194
1010
  nodes {
1195
- idCreated
1196
- idDeleted
1011
+ address
1197
1012
  inputState {
1198
1013
  version
1199
- digest
1200
- address
1201
1014
  asMoveObject {
1202
1015
  contents {
1203
1016
  type {
@@ -1205,14 +1018,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1205
1018
  }
1206
1019
  }
1207
1020
  }
1208
- owner {
1209
- ...RPC_OBJECT_OWNER_FIELDS
1210
- }
1211
1021
  }
1212
1022
  outputState {
1213
- version
1214
- digest
1215
- address
1216
1023
  asMoveObject {
1217
1024
  contents {
1218
1025
  type {
@@ -1220,8 +1027,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1220
1027
  }
1221
1028
  }
1222
1029
  }
1223
- owner {
1224
- ...RPC_OBJECT_OWNER_FIELDS
1030
+ asMovePackage {
1031
+ modules(first: 10) {
1032
+ nodes {
1033
+ name
1034
+ }
1035
+ }
1225
1036
  }
1226
1037
  }
1227
1038
  }
@@ -1229,7 +1040,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1229
1040
  }
1230
1041
  }`);
1231
1042
  const DryRunTransactionBlockDocument = new TypedDocumentString(`
1232
- query dryRunTransactionBlock($txBytes: String!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
1043
+ 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) {
1233
1044
  dryRunTransactionBlock(txBytes: $txBytes) {
1234
1045
  error
1235
1046
  transaction {
@@ -1237,28 +1048,7 @@ const DryRunTransactionBlockDocument = new TypedDocumentString(`
1237
1048
  }
1238
1049
  }
1239
1050
  }
1240
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
1241
- __typename
1242
- ... on AddressOwner {
1243
- owner {
1244
- asObject {
1245
- address
1246
- }
1247
- asAddress {
1248
- address
1249
- }
1250
- }
1251
- }
1252
- ... on Parent {
1253
- parent {
1254
- address
1255
- }
1256
- }
1257
- ... on Shared {
1258
- initialSharedVersion
1259
- }
1260
- }
1261
- fragment RPC_EVENTS_FIELDS on Event {
1051
+ fragment RPC_EVENTS_FIELDS on Event {
1262
1052
  sendingModule {
1263
1053
  package {
1264
1054
  address
@@ -1284,6 +1074,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1284
1074
  }
1285
1075
  signatures
1286
1076
  effects {
1077
+ bcs @include(if: $showEffects)
1078
+ bcs @include(if: $showObjectChanges)
1079
+ bcs @include(if: $showRawEffects)
1287
1080
  events @include(if: $showEvents) {
1288
1081
  pageInfo {
1289
1082
  hasNextPage
@@ -1317,70 +1110,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1317
1110
  amount
1318
1111
  }
1319
1112
  }
1320
- dependencies @include(if: $showEffects) {
1321
- pageInfo {
1322
- hasNextPage
1323
- endCursor
1324
- }
1325
- nodes {
1326
- digest
1327
- }
1328
- }
1329
- status @include(if: $showEffects)
1330
- gasEffects @include(if: $showEffects) {
1331
- gasObject {
1332
- owner {
1333
- ...RPC_OBJECT_OWNER_FIELDS
1334
- }
1335
- digest
1336
- version
1337
- address
1338
- }
1339
- gasSummary {
1340
- storageCost
1341
- storageRebate
1342
- nonRefundableStorageFee
1343
- computationCost
1344
- }
1345
- }
1346
- executedEpoch: epoch @include(if: $showEffects) {
1347
- epochId
1348
- }
1349
- objectChanges @include(if: $showEffects) {
1350
- pageInfo {
1351
- hasNextPage
1352
- endCursor
1353
- }
1354
- nodes {
1355
- idCreated
1356
- idDeleted
1357
- inputState {
1358
- version
1359
- digest
1360
- address
1361
- }
1362
- outputState {
1363
- version
1364
- digest
1365
- address
1366
- owner {
1367
- ...RPC_OBJECT_OWNER_FIELDS
1368
- }
1369
- }
1370
- }
1371
- }
1372
1113
  objectChanges @include(if: $showObjectChanges) {
1373
1114
  pageInfo {
1374
1115
  hasNextPage
1375
1116
  endCursor
1376
1117
  }
1377
1118
  nodes {
1378
- idCreated
1379
- idDeleted
1119
+ address
1380
1120
  inputState {
1381
1121
  version
1382
- digest
1383
- address
1384
1122
  asMoveObject {
1385
1123
  contents {
1386
1124
  type {
@@ -1388,14 +1126,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1388
1126
  }
1389
1127
  }
1390
1128
  }
1391
- owner {
1392
- ...RPC_OBJECT_OWNER_FIELDS
1393
- }
1394
1129
  }
1395
1130
  outputState {
1396
- version
1397
- digest
1398
- address
1399
1131
  asMoveObject {
1400
1132
  contents {
1401
1133
  type {
@@ -1403,8 +1135,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1403
1135
  }
1404
1136
  }
1405
1137
  }
1406
- owner {
1407
- ...RPC_OBJECT_OWNER_FIELDS
1138
+ asMovePackage {
1139
+ modules(first: 10) {
1140
+ nodes {
1141
+ name
1142
+ }
1143
+ }
1408
1144
  }
1409
1145
  }
1410
1146
  }
@@ -1412,7 +1148,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1412
1148
  }
1413
1149
  }`);
1414
1150
  const ExecuteTransactionBlockDocument = new TypedDocumentString(`
1415
- mutation executeTransactionBlock($txBytes: String!, $signatures: [String!]!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
1151
+ 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) {
1416
1152
  executeTransactionBlock(txBytes: $txBytes, signatures: $signatures) {
1417
1153
  errors
1418
1154
  effects {
@@ -1422,28 +1158,7 @@ const ExecuteTransactionBlockDocument = new TypedDocumentString(`
1422
1158
  }
1423
1159
  }
1424
1160
  }
1425
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
1426
- __typename
1427
- ... on AddressOwner {
1428
- owner {
1429
- asObject {
1430
- address
1431
- }
1432
- asAddress {
1433
- address
1434
- }
1435
- }
1436
- }
1437
- ... on Parent {
1438
- parent {
1439
- address
1440
- }
1441
- }
1442
- ... on Shared {
1443
- initialSharedVersion
1444
- }
1445
- }
1446
- fragment RPC_EVENTS_FIELDS on Event {
1161
+ fragment RPC_EVENTS_FIELDS on Event {
1447
1162
  sendingModule {
1448
1163
  package {
1449
1164
  address
@@ -1469,6 +1184,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1469
1184
  }
1470
1185
  signatures
1471
1186
  effects {
1187
+ bcs @include(if: $showEffects)
1188
+ bcs @include(if: $showObjectChanges)
1189
+ bcs @include(if: $showRawEffects)
1472
1190
  events @include(if: $showEvents) {
1473
1191
  pageInfo {
1474
1192
  hasNextPage
@@ -1502,70 +1220,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1502
1220
  amount
1503
1221
  }
1504
1222
  }
1505
- dependencies @include(if: $showEffects) {
1506
- pageInfo {
1507
- hasNextPage
1508
- endCursor
1509
- }
1510
- nodes {
1511
- digest
1512
- }
1513
- }
1514
- status @include(if: $showEffects)
1515
- gasEffects @include(if: $showEffects) {
1516
- gasObject {
1517
- owner {
1518
- ...RPC_OBJECT_OWNER_FIELDS
1519
- }
1520
- digest
1521
- version
1522
- address
1523
- }
1524
- gasSummary {
1525
- storageCost
1526
- storageRebate
1527
- nonRefundableStorageFee
1528
- computationCost
1529
- }
1530
- }
1531
- executedEpoch: epoch @include(if: $showEffects) {
1532
- epochId
1533
- }
1534
- objectChanges @include(if: $showEffects) {
1535
- pageInfo {
1536
- hasNextPage
1537
- endCursor
1538
- }
1539
- nodes {
1540
- idCreated
1541
- idDeleted
1542
- inputState {
1543
- version
1544
- digest
1545
- address
1546
- }
1547
- outputState {
1548
- version
1549
- digest
1550
- address
1551
- owner {
1552
- ...RPC_OBJECT_OWNER_FIELDS
1553
- }
1554
- }
1555
- }
1556
- }
1557
1223
  objectChanges @include(if: $showObjectChanges) {
1558
1224
  pageInfo {
1559
1225
  hasNextPage
1560
1226
  endCursor
1561
1227
  }
1562
1228
  nodes {
1563
- idCreated
1564
- idDeleted
1229
+ address
1565
1230
  inputState {
1566
1231
  version
1567
- digest
1568
- address
1569
1232
  asMoveObject {
1570
1233
  contents {
1571
1234
  type {
@@ -1573,14 +1236,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1573
1236
  }
1574
1237
  }
1575
1238
  }
1576
- owner {
1577
- ...RPC_OBJECT_OWNER_FIELDS
1578
- }
1579
1239
  }
1580
1240
  outputState {
1581
- version
1582
- digest
1583
- address
1584
1241
  asMoveObject {
1585
1242
  contents {
1586
1243
  type {
@@ -1588,8 +1245,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
1588
1245
  }
1589
1246
  }
1590
1247
  }
1591
- owner {
1592
- ...RPC_OBJECT_OWNER_FIELDS
1248
+ asMovePackage {
1249
+ modules(first: 10) {
1250
+ nodes {
1251
+ name
1252
+ }
1253
+ }
1593
1254
  }
1594
1255
  }
1595
1256
  }
@@ -1673,7 +1334,7 @@ const GetCoinsDocument = new TypedDocumentString(`
1673
1334
  }
1674
1335
  `);
1675
1336
  const GetCommitteeInfoDocument = new TypedDocumentString(`
1676
- query getCommitteeInfo($epochId: Int, $after: String) {
1337
+ query getCommitteeInfo($epochId: UInt53, $after: String) {
1677
1338
  epoch(id: $epochId) {
1678
1339
  epochId
1679
1340
  validatorSet {
@@ -1684,7 +1345,7 @@ const GetCommitteeInfoDocument = new TypedDocumentString(`
1684
1345
  }
1685
1346
  nodes {
1686
1347
  credentials {
1687
- protocolPubKey
1348
+ authorityPubKey
1688
1349
  }
1689
1350
  votingPower
1690
1351
  }
@@ -1708,6 +1369,7 @@ const GetCurrentEpochDocument = new TypedDocumentString(`
1708
1369
  }
1709
1370
  }
1710
1371
  }
1372
+ totalTransactions
1711
1373
  firstCheckpoint: checkpoints(first: 1) {
1712
1374
  nodes {
1713
1375
  sequenceNumber
@@ -1766,13 +1428,12 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
1766
1428
  networkPubKey
1767
1429
  p2PAddress
1768
1430
  primaryAddress
1769
- workerPubKey
1770
- workerAddress
1431
+ authorityPubKey
1771
1432
  proofOfPossession
1772
1433
  protocolPubKey
1773
1434
  }`);
1774
1435
  const PaginateEpochValidatorsDocument = new TypedDocumentString(`
1775
- query paginateEpochValidators($id: Int!, $after: String) {
1436
+ query paginateEpochValidators($id: UInt53!, $after: String) {
1776
1437
  epoch(id: $id) {
1777
1438
  validatorSet {
1778
1439
  activeValidators(after: $after) {
@@ -1835,8 +1496,7 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
1835
1496
  networkPubKey
1836
1497
  p2PAddress
1837
1498
  primaryAddress
1838
- workerPubKey
1839
- workerAddress
1499
+ authorityPubKey
1840
1500
  proofOfPossession
1841
1501
  protocolPubKey
1842
1502
  }`);
@@ -1849,7 +1509,7 @@ const GetTypeLayoutDocument = new TypedDocumentString(`
1849
1509
  `);
1850
1510
  const GetDynamicFieldObjectDocument = new TypedDocumentString(`
1851
1511
  query getDynamicFieldObject($parentId: IotaAddress!, $name: DynamicFieldName!) {
1852
- object(address: $parentId) {
1512
+ owner(address: $parentId) {
1853
1513
  dynamicObjectField(name: $name) {
1854
1514
  value {
1855
1515
  __typename
@@ -1881,7 +1541,6 @@ const GetDynamicFieldObjectDocument = new TypedDocumentString(`
1881
1541
  layout
1882
1542
  }
1883
1543
  }
1884
- hasPublicTransfer
1885
1544
  }
1886
1545
  }
1887
1546
  }
@@ -1894,7 +1553,7 @@ const GetDynamicFieldObjectDocument = new TypedDocumentString(`
1894
1553
  `);
1895
1554
  const GetDynamicFieldsDocument = new TypedDocumentString(`
1896
1555
  query getDynamicFields($parentId: IotaAddress!, $first: Int, $cursor: String) {
1897
- object(address: $parentId) {
1556
+ owner(address: $parentId) {
1898
1557
  dynamicFields(first: $first, after: $cursor) {
1899
1558
  pageInfo {
1900
1559
  hasNextPage
@@ -1952,6 +1611,7 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
1952
1611
  enabled
1953
1612
  gasSummary {
1954
1613
  computationCost
1614
+ computationCostBurned
1955
1615
  nonRefundableStorageFee
1956
1616
  storageCost
1957
1617
  storageRebate
@@ -1963,6 +1623,7 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
1963
1623
  }
1964
1624
  systemStateVersion
1965
1625
  iotaTotalSupply
1626
+ iotaTreasuryCapId
1966
1627
  systemParameters {
1967
1628
  minValidatorCount
1968
1629
  maxValidatorCount
@@ -1991,6 +1652,10 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
1991
1652
  validatorCandidatesSize
1992
1653
  pendingRemovals
1993
1654
  totalStake
1655
+ stakingPoolMappingsId
1656
+ pendingActiveValidatorsId
1657
+ validatorCandidatesId
1658
+ inactivePoolsId
1994
1659
  }
1995
1660
  }
1996
1661
  }
@@ -2042,8 +1707,7 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
2042
1707
  networkPubKey
2043
1708
  p2PAddress
2044
1709
  primaryAddress
2045
- workerPubKey
2046
- workerAddress
1710
+ authorityPubKey
2047
1711
  proofOfPossession
2048
1712
  protocolPubKey
2049
1713
  }`);
@@ -2342,7 +2006,7 @@ const GetNormalizedMoveStructDocument = new TypedDocumentString(`
2342
2006
  }
2343
2007
  }`);
2344
2008
  const GetProtocolConfigDocument = new TypedDocumentString(`
2345
- query getProtocolConfig($protocolVersion: Int) {
2009
+ query getProtocolConfig($protocolVersion: UInt53) {
2346
2010
  protocolConfig(protocolVersion: $protocolVersion) {
2347
2011
  protocolVersion
2348
2012
  configs {
@@ -2421,7 +2085,6 @@ const GetOwnedObjectsDocument = new TypedDocumentString(`
2421
2085
  repr
2422
2086
  }
2423
2087
  }
2424
- hasPublicTransfer @include(if: $showContent)
2425
2088
  contents @include(if: $showContent) {
2426
2089
  data
2427
2090
  type {
@@ -2430,7 +2093,6 @@ const GetOwnedObjectsDocument = new TypedDocumentString(`
2430
2093
  signature
2431
2094
  }
2432
2095
  }
2433
- hasPublicTransfer @include(if: $showBcs)
2434
2096
  contents @include(if: $showBcs) {
2435
2097
  bcs
2436
2098
  type {
@@ -2490,7 +2152,6 @@ const GetObjectDocument = new TypedDocumentString(`
2490
2152
  }
2491
2153
  }
2492
2154
  asMoveObject @include(if: $showContent) {
2493
- hasPublicTransfer
2494
2155
  contents {
2495
2156
  data
2496
2157
  type {
@@ -2501,7 +2162,6 @@ const GetObjectDocument = new TypedDocumentString(`
2501
2162
  }
2502
2163
  }
2503
2164
  asMoveObject @include(if: $showBcs) {
2504
- hasPublicTransfer
2505
2165
  contents {
2506
2166
  bcs
2507
2167
  type {
@@ -2546,7 +2206,7 @@ fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
2546
2206
  }
2547
2207
  }`);
2548
2208
  const TryGetPastObjectDocument = new TypedDocumentString(`
2549
- 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) {
2209
+ 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) {
2550
2210
  current: object(address: $id) {
2551
2211
  address
2552
2212
  version
@@ -2566,7 +2226,6 @@ const TryGetPastObjectDocument = new TypedDocumentString(`
2566
2226
  }
2567
2227
  }
2568
2228
  asMoveObject @include(if: $showContent) {
2569
- hasPublicTransfer
2570
2229
  contents {
2571
2230
  data
2572
2231
  type {
@@ -2577,7 +2236,6 @@ const TryGetPastObjectDocument = new TypedDocumentString(`
2577
2236
  }
2578
2237
  }
2579
2238
  asMoveObject @include(if: $showBcs) {
2580
- hasPublicTransfer
2581
2239
  contents {
2582
2240
  bcs
2583
2241
  type {
@@ -2644,7 +2302,6 @@ const MultiGetObjectsDocument = new TypedDocumentString(`
2644
2302
  }
2645
2303
  }
2646
2304
  asMoveObject @include(if: $showContent) {
2647
- hasPublicTransfer
2648
2305
  contents {
2649
2306
  data
2650
2307
  type {
@@ -2655,7 +2312,6 @@ const MultiGetObjectsDocument = new TypedDocumentString(`
2655
2312
  }
2656
2313
  }
2657
2314
  asMoveObject @include(if: $showBcs) {
2658
- hasPublicTransfer
2659
2315
  contents {
2660
2316
  bcs
2661
2317
  type {
@@ -2805,7 +2461,7 @@ const GetStakesByIdsDocument = new TypedDocumentString(`
2805
2461
  estimatedReward
2806
2462
  }`);
2807
2463
  const QueryTransactionBlocksDocument = new TypedDocumentString(`
2808
- 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) {
2464
+ 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) {
2809
2465
  transactionBlocks(
2810
2466
  first: $first
2811
2467
  after: $after
@@ -2824,28 +2480,7 @@ const QueryTransactionBlocksDocument = new TypedDocumentString(`
2824
2480
  }
2825
2481
  }
2826
2482
  }
2827
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
2828
- __typename
2829
- ... on AddressOwner {
2830
- owner {
2831
- asObject {
2832
- address
2833
- }
2834
- asAddress {
2835
- address
2836
- }
2837
- }
2838
- }
2839
- ... on Parent {
2840
- parent {
2841
- address
2842
- }
2843
- }
2844
- ... on Shared {
2845
- initialSharedVersion
2846
- }
2847
- }
2848
- fragment RPC_EVENTS_FIELDS on Event {
2483
+ fragment RPC_EVENTS_FIELDS on Event {
2849
2484
  sendingModule {
2850
2485
  package {
2851
2486
  address
@@ -2871,6 +2506,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2871
2506
  }
2872
2507
  signatures
2873
2508
  effects {
2509
+ bcs @include(if: $showEffects)
2510
+ bcs @include(if: $showObjectChanges)
2511
+ bcs @include(if: $showRawEffects)
2874
2512
  events @include(if: $showEvents) {
2875
2513
  pageInfo {
2876
2514
  hasNextPage
@@ -2904,70 +2542,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2904
2542
  amount
2905
2543
  }
2906
2544
  }
2907
- dependencies @include(if: $showEffects) {
2908
- pageInfo {
2909
- hasNextPage
2910
- endCursor
2911
- }
2912
- nodes {
2913
- digest
2914
- }
2915
- }
2916
- status @include(if: $showEffects)
2917
- gasEffects @include(if: $showEffects) {
2918
- gasObject {
2919
- owner {
2920
- ...RPC_OBJECT_OWNER_FIELDS
2921
- }
2922
- digest
2923
- version
2924
- address
2925
- }
2926
- gasSummary {
2927
- storageCost
2928
- storageRebate
2929
- nonRefundableStorageFee
2930
- computationCost
2931
- }
2932
- }
2933
- executedEpoch: epoch @include(if: $showEffects) {
2934
- epochId
2935
- }
2936
- objectChanges @include(if: $showEffects) {
2937
- pageInfo {
2938
- hasNextPage
2939
- endCursor
2940
- }
2941
- nodes {
2942
- idCreated
2943
- idDeleted
2944
- inputState {
2945
- version
2946
- digest
2947
- address
2948
- }
2949
- outputState {
2950
- version
2951
- digest
2952
- address
2953
- owner {
2954
- ...RPC_OBJECT_OWNER_FIELDS
2955
- }
2956
- }
2957
- }
2958
- }
2959
2545
  objectChanges @include(if: $showObjectChanges) {
2960
2546
  pageInfo {
2961
2547
  hasNextPage
2962
2548
  endCursor
2963
2549
  }
2964
2550
  nodes {
2965
- idCreated
2966
- idDeleted
2551
+ address
2967
2552
  inputState {
2968
2553
  version
2969
- digest
2970
- address
2971
2554
  asMoveObject {
2972
2555
  contents {
2973
2556
  type {
@@ -2975,14 +2558,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2975
2558
  }
2976
2559
  }
2977
2560
  }
2978
- owner {
2979
- ...RPC_OBJECT_OWNER_FIELDS
2980
- }
2981
2561
  }
2982
2562
  outputState {
2983
- version
2984
- digest
2985
- address
2986
2563
  asMoveObject {
2987
2564
  contents {
2988
2565
  type {
@@ -2990,8 +2567,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2990
2567
  }
2991
2568
  }
2992
2569
  }
2993
- owner {
2994
- ...RPC_OBJECT_OWNER_FIELDS
2570
+ asMovePackage {
2571
+ modules(first: 10) {
2572
+ nodes {
2573
+ name
2574
+ }
2575
+ }
2995
2576
  }
2996
2577
  }
2997
2578
  }
@@ -2999,33 +2580,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
2999
2580
  }
3000
2581
  }`);
3001
2582
  const GetTransactionBlockDocument = new TypedDocumentString(`
3002
- query getTransactionBlock($digest: String!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
2583
+ 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) {
3003
2584
  transactionBlock(digest: $digest) {
3004
2585
  ...RPC_TRANSACTION_FIELDS
3005
2586
  }
3006
2587
  }
3007
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
3008
- __typename
3009
- ... on AddressOwner {
3010
- owner {
3011
- asObject {
3012
- address
3013
- }
3014
- asAddress {
3015
- address
3016
- }
3017
- }
3018
- }
3019
- ... on Parent {
3020
- parent {
3021
- address
3022
- }
3023
- }
3024
- ... on Shared {
3025
- initialSharedVersion
3026
- }
3027
- }
3028
- fragment RPC_EVENTS_FIELDS on Event {
2588
+ fragment RPC_EVENTS_FIELDS on Event {
3029
2589
  sendingModule {
3030
2590
  package {
3031
2591
  address
@@ -3051,6 +2611,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3051
2611
  }
3052
2612
  signatures
3053
2613
  effects {
2614
+ bcs @include(if: $showEffects)
2615
+ bcs @include(if: $showObjectChanges)
2616
+ bcs @include(if: $showRawEffects)
3054
2617
  events @include(if: $showEvents) {
3055
2618
  pageInfo {
3056
2619
  hasNextPage
@@ -3084,70 +2647,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3084
2647
  amount
3085
2648
  }
3086
2649
  }
3087
- dependencies @include(if: $showEffects) {
3088
- pageInfo {
3089
- hasNextPage
3090
- endCursor
3091
- }
3092
- nodes {
3093
- digest
3094
- }
3095
- }
3096
- status @include(if: $showEffects)
3097
- gasEffects @include(if: $showEffects) {
3098
- gasObject {
3099
- owner {
3100
- ...RPC_OBJECT_OWNER_FIELDS
3101
- }
3102
- digest
3103
- version
3104
- address
3105
- }
3106
- gasSummary {
3107
- storageCost
3108
- storageRebate
3109
- nonRefundableStorageFee
3110
- computationCost
3111
- }
3112
- }
3113
- executedEpoch: epoch @include(if: $showEffects) {
3114
- epochId
3115
- }
3116
- objectChanges @include(if: $showEffects) {
3117
- pageInfo {
3118
- hasNextPage
3119
- endCursor
3120
- }
3121
- nodes {
3122
- idCreated
3123
- idDeleted
3124
- inputState {
3125
- version
3126
- digest
3127
- address
3128
- }
3129
- outputState {
3130
- version
3131
- digest
3132
- address
3133
- owner {
3134
- ...RPC_OBJECT_OWNER_FIELDS
3135
- }
3136
- }
3137
- }
3138
- }
3139
2650
  objectChanges @include(if: $showObjectChanges) {
3140
2651
  pageInfo {
3141
2652
  hasNextPage
3142
2653
  endCursor
3143
2654
  }
3144
2655
  nodes {
3145
- idCreated
3146
- idDeleted
2656
+ address
3147
2657
  inputState {
3148
2658
  version
3149
- digest
3150
- address
3151
2659
  asMoveObject {
3152
2660
  contents {
3153
2661
  type {
@@ -3155,14 +2663,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3155
2663
  }
3156
2664
  }
3157
2665
  }
3158
- owner {
3159
- ...RPC_OBJECT_OWNER_FIELDS
3160
- }
3161
2666
  }
3162
2667
  outputState {
3163
- version
3164
- digest
3165
- address
3166
2668
  asMoveObject {
3167
2669
  contents {
3168
2670
  type {
@@ -3170,8 +2672,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3170
2672
  }
3171
2673
  }
3172
2674
  }
3173
- owner {
3174
- ...RPC_OBJECT_OWNER_FIELDS
2675
+ asMovePackage {
2676
+ modules(first: 10) {
2677
+ nodes {
2678
+ name
2679
+ }
2680
+ }
3175
2681
  }
3176
2682
  }
3177
2683
  }
@@ -3179,7 +2685,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3179
2685
  }
3180
2686
  }`);
3181
2687
  const MultiGetTransactionBlocksDocument = new TypedDocumentString(`
3182
- 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) {
2688
+ 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) {
3183
2689
  transactionBlocks(
3184
2690
  first: $limit
3185
2691
  after: $cursor
@@ -3196,28 +2702,7 @@ const MultiGetTransactionBlocksDocument = new TypedDocumentString(`
3196
2702
  }
3197
2703
  }
3198
2704
  }
3199
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
3200
- __typename
3201
- ... on AddressOwner {
3202
- owner {
3203
- asObject {
3204
- address
3205
- }
3206
- asAddress {
3207
- address
3208
- }
3209
- }
3210
- }
3211
- ... on Parent {
3212
- parent {
3213
- address
3214
- }
3215
- }
3216
- ... on Shared {
3217
- initialSharedVersion
3218
- }
3219
- }
3220
- fragment RPC_EVENTS_FIELDS on Event {
2705
+ fragment RPC_EVENTS_FIELDS on Event {
3221
2706
  sendingModule {
3222
2707
  package {
3223
2708
  address
@@ -3243,6 +2728,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3243
2728
  }
3244
2729
  signatures
3245
2730
  effects {
2731
+ bcs @include(if: $showEffects)
2732
+ bcs @include(if: $showObjectChanges)
2733
+ bcs @include(if: $showRawEffects)
3246
2734
  events @include(if: $showEvents) {
3247
2735
  pageInfo {
3248
2736
  hasNextPage
@@ -3276,70 +2764,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3276
2764
  amount
3277
2765
  }
3278
2766
  }
3279
- dependencies @include(if: $showEffects) {
3280
- pageInfo {
3281
- hasNextPage
3282
- endCursor
3283
- }
3284
- nodes {
3285
- digest
3286
- }
3287
- }
3288
- status @include(if: $showEffects)
3289
- gasEffects @include(if: $showEffects) {
3290
- gasObject {
3291
- owner {
3292
- ...RPC_OBJECT_OWNER_FIELDS
3293
- }
3294
- digest
3295
- version
3296
- address
3297
- }
3298
- gasSummary {
3299
- storageCost
3300
- storageRebate
3301
- nonRefundableStorageFee
3302
- computationCost
3303
- }
3304
- }
3305
- executedEpoch: epoch @include(if: $showEffects) {
3306
- epochId
3307
- }
3308
- objectChanges @include(if: $showEffects) {
3309
- pageInfo {
3310
- hasNextPage
3311
- endCursor
3312
- }
3313
- nodes {
3314
- idCreated
3315
- idDeleted
3316
- inputState {
3317
- version
3318
- digest
3319
- address
3320
- }
3321
- outputState {
3322
- version
3323
- digest
3324
- address
3325
- owner {
3326
- ...RPC_OBJECT_OWNER_FIELDS
3327
- }
3328
- }
3329
- }
3330
- }
3331
2767
  objectChanges @include(if: $showObjectChanges) {
3332
2768
  pageInfo {
3333
2769
  hasNextPage
3334
2770
  endCursor
3335
2771
  }
3336
2772
  nodes {
3337
- idCreated
3338
- idDeleted
2773
+ address
3339
2774
  inputState {
3340
2775
  version
3341
- digest
3342
- address
3343
2776
  asMoveObject {
3344
2777
  contents {
3345
2778
  type {
@@ -3347,14 +2780,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3347
2780
  }
3348
2781
  }
3349
2782
  }
3350
- owner {
3351
- ...RPC_OBJECT_OWNER_FIELDS
3352
- }
3353
2783
  }
3354
2784
  outputState {
3355
- version
3356
- digest
3357
- address
3358
2785
  asMoveObject {
3359
2786
  contents {
3360
2787
  type {
@@ -3362,8 +2789,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3362
2789
  }
3363
2790
  }
3364
2791
  }
3365
- owner {
3366
- ...RPC_OBJECT_OWNER_FIELDS
2792
+ asMovePackage {
2793
+ modules(first: 10) {
2794
+ nodes {
2795
+ name
2796
+ }
2797
+ }
3367
2798
  }
3368
2799
  }
3369
2800
  }
@@ -3371,33 +2802,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
3371
2802
  }
3372
2803
  }`);
3373
2804
  const PaginateTransactionBlockListsDocument = new TypedDocumentString(`
3374
- query paginateTransactionBlockLists($digest: String!, $hasMoreEvents: Boolean!, $hasMoreBalanceChanges: Boolean!, $hasMoreObjectChanges: Boolean!, $hasMoreDependencies: Boolean!, $afterEvents: String, $afterBalanceChanges: String, $afterObjectChanges: String, $afterDependencies: String) {
2805
+ query paginateTransactionBlockLists($digest: String!, $hasMoreEvents: Boolean!, $hasMoreBalanceChanges: Boolean!, $hasMoreObjectChanges: Boolean!, $afterEvents: String, $afterBalanceChanges: String, $afterObjectChanges: String) {
3375
2806
  transactionBlock(digest: $digest) {
3376
2807
  ...PAGINATE_TRANSACTION_LISTS
3377
2808
  }
3378
2809
  }
3379
- fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
3380
- __typename
3381
- ... on AddressOwner {
3382
- owner {
3383
- asObject {
3384
- address
3385
- }
3386
- asAddress {
3387
- address
3388
- }
3389
- }
3390
- }
3391
- ... on Parent {
3392
- parent {
3393
- address
3394
- }
3395
- }
3396
- ... on Shared {
3397
- initialSharedVersion
3398
- }
3399
- }
3400
- fragment RPC_EVENTS_FIELDS on Event {
2810
+ fragment RPC_EVENTS_FIELDS on Event {
3401
2811
  sendingModule {
3402
2812
  package {
3403
2813
  address
@@ -3445,27 +2855,15 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
3445
2855
  amount
3446
2856
  }
3447
2857
  }
3448
- dependencies(after: $afterDependencies) @include(if: $hasMoreDependencies) {
3449
- pageInfo {
3450
- hasNextPage
3451
- endCursor
3452
- }
3453
- nodes {
3454
- digest
3455
- }
3456
- }
3457
2858
  objectChanges(after: $afterObjectChanges) @include(if: $hasMoreObjectChanges) {
3458
2859
  pageInfo {
3459
2860
  hasNextPage
3460
2861
  endCursor
3461
2862
  }
3462
2863
  nodes {
3463
- idCreated
3464
- idDeleted
2864
+ address
3465
2865
  inputState {
3466
2866
  version
3467
- digest
3468
- address
3469
2867
  asMoveObject {
3470
2868
  contents {
3471
2869
  type {
@@ -3473,14 +2871,8 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
3473
2871
  }
3474
2872
  }
3475
2873
  }
3476
- owner {
3477
- ...RPC_OBJECT_OWNER_FIELDS
3478
- }
3479
2874
  }
3480
2875
  outputState {
3481
- version
3482
- digest
3483
- address
3484
2876
  asMoveObject {
3485
2877
  contents {
3486
2878
  type {
@@ -3488,8 +2880,12 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
3488
2880
  }
3489
2881
  }
3490
2882
  }
3491
- owner {
3492
- ...RPC_OBJECT_OWNER_FIELDS
2883
+ asMovePackage {
2884
+ modules(first: 10) {
2885
+ nodes {
2886
+ name
2887
+ }
2888
+ }
3493
2889
  }
3494
2890
  }
3495
2891
  }