@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.
- package/CHANGELOG.md +13 -0
- package/dist/cjs/generated/queries.d.ts +973 -1395
- package/dist/cjs/generated/queries.js +119 -714
- package/dist/cjs/generated/queries.js.map +2 -2
- package/dist/cjs/mappers/bcs.js.map +1 -1
- package/dist/cjs/mappers/move.js.map +2 -2
- package/dist/cjs/mappers/transaction-block.d.ts +1 -0
- package/dist/cjs/mappers/transaction-block.js +316 -146
- package/dist/cjs/mappers/transaction-block.js.map +2 -2
- package/dist/cjs/mappers/validator.js +4 -6
- package/dist/cjs/mappers/validator.js.map +2 -2
- package/dist/cjs/methods.js +25 -30
- package/dist/cjs/methods.js.map +2 -2
- package/dist/cjs/transport.d.ts +1 -1
- package/dist/cjs/transport.js +18 -33
- package/dist/cjs/transport.js.map +2 -2
- package/dist/esm/generated/queries.d.ts +973 -1395
- package/dist/esm/generated/queries.js +119 -714
- package/dist/esm/generated/queries.js.map +2 -2
- package/dist/esm/mappers/bcs.js.map +1 -1
- package/dist/esm/mappers/move.js.map +2 -2
- package/dist/esm/mappers/transaction-block.d.ts +1 -0
- package/dist/esm/mappers/transaction-block.js +318 -148
- package/dist/esm/mappers/transaction-block.js.map +2 -2
- package/dist/esm/mappers/validator.js +4 -6
- package/dist/esm/mappers/validator.js.map +2 -2
- package/dist/esm/methods.js +26 -31
- package/dist/esm/methods.js.map +2 -2
- package/dist/esm/transport.d.ts +1 -1
- package/dist/esm/transport.js +17 -32
- package/dist/esm/transport.js.map +2 -2
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- 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["
|
|
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;
|
|
@@ -218,8 +217,7 @@ const Rpc_Credential_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
218
217
|
networkPubKey
|
|
219
218
|
p2PAddress
|
|
220
219
|
primaryAddress
|
|
221
|
-
|
|
222
|
-
workerAddress
|
|
220
|
+
authorityPubKey
|
|
223
221
|
proofOfPossession
|
|
224
222
|
protocolPubKey
|
|
225
223
|
}
|
|
@@ -273,8 +271,7 @@ const Rpc_Validator_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
273
271
|
networkPubKey
|
|
274
272
|
p2PAddress
|
|
275
273
|
primaryAddress
|
|
276
|
-
|
|
277
|
-
workerAddress
|
|
274
|
+
authorityPubKey
|
|
278
275
|
proofOfPossession
|
|
279
276
|
protocolPubKey
|
|
280
277
|
}`, { "fragmentName": "RPC_VALIDATOR_FIELDS" });
|
|
@@ -598,27 +595,15 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
|
|
|
598
595
|
amount
|
|
599
596
|
}
|
|
600
597
|
}
|
|
601
|
-
dependencies(after: $afterDependencies) @include(if: $hasMoreDependencies) {
|
|
602
|
-
pageInfo {
|
|
603
|
-
hasNextPage
|
|
604
|
-
endCursor
|
|
605
|
-
}
|
|
606
|
-
nodes {
|
|
607
|
-
digest
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
598
|
objectChanges(after: $afterObjectChanges) @include(if: $hasMoreObjectChanges) {
|
|
611
599
|
pageInfo {
|
|
612
600
|
hasNextPage
|
|
613
601
|
endCursor
|
|
614
602
|
}
|
|
615
603
|
nodes {
|
|
616
|
-
|
|
617
|
-
idDeleted
|
|
604
|
+
address
|
|
618
605
|
inputState {
|
|
619
606
|
version
|
|
620
|
-
digest
|
|
621
|
-
address
|
|
622
607
|
asMoveObject {
|
|
623
608
|
contents {
|
|
624
609
|
type {
|
|
@@ -626,14 +611,8 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
|
|
|
626
611
|
}
|
|
627
612
|
}
|
|
628
613
|
}
|
|
629
|
-
owner {
|
|
630
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
631
|
-
}
|
|
632
614
|
}
|
|
633
615
|
outputState {
|
|
634
|
-
version
|
|
635
|
-
digest
|
|
636
|
-
address
|
|
637
616
|
asMoveObject {
|
|
638
617
|
contents {
|
|
639
618
|
type {
|
|
@@ -641,36 +620,19 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
|
|
|
641
620
|
}
|
|
642
621
|
}
|
|
643
622
|
}
|
|
644
|
-
|
|
645
|
-
|
|
623
|
+
asMovePackage {
|
|
624
|
+
modules(first: 10) {
|
|
625
|
+
nodes {
|
|
626
|
+
name
|
|
627
|
+
}
|
|
628
|
+
}
|
|
646
629
|
}
|
|
647
630
|
}
|
|
648
631
|
}
|
|
649
632
|
}
|
|
650
633
|
}
|
|
651
634
|
}
|
|
652
|
-
fragment
|
|
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 {
|
|
635
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
674
636
|
sendingModule {
|
|
675
637
|
package {
|
|
676
638
|
address
|
|
@@ -697,6 +659,9 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
697
659
|
}
|
|
698
660
|
signatures
|
|
699
661
|
effects {
|
|
662
|
+
bcs @include(if: $showEffects)
|
|
663
|
+
bcs @include(if: $showObjectChanges)
|
|
664
|
+
bcs @include(if: $showRawEffects)
|
|
700
665
|
events @include(if: $showEvents) {
|
|
701
666
|
pageInfo {
|
|
702
667
|
hasNextPage
|
|
@@ -730,70 +695,15 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
730
695
|
amount
|
|
731
696
|
}
|
|
732
697
|
}
|
|
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
698
|
objectChanges @include(if: $showObjectChanges) {
|
|
786
699
|
pageInfo {
|
|
787
700
|
hasNextPage
|
|
788
701
|
endCursor
|
|
789
702
|
}
|
|
790
703
|
nodes {
|
|
791
|
-
|
|
792
|
-
idDeleted
|
|
704
|
+
address
|
|
793
705
|
inputState {
|
|
794
706
|
version
|
|
795
|
-
digest
|
|
796
|
-
address
|
|
797
707
|
asMoveObject {
|
|
798
708
|
contents {
|
|
799
709
|
type {
|
|
@@ -801,14 +711,8 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
801
711
|
}
|
|
802
712
|
}
|
|
803
713
|
}
|
|
804
|
-
owner {
|
|
805
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
806
|
-
}
|
|
807
714
|
}
|
|
808
715
|
outputState {
|
|
809
|
-
version
|
|
810
|
-
digest
|
|
811
|
-
address
|
|
812
716
|
asMoveObject {
|
|
813
717
|
contents {
|
|
814
718
|
type {
|
|
@@ -816,36 +720,19 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
816
720
|
}
|
|
817
721
|
}
|
|
818
722
|
}
|
|
819
|
-
|
|
820
|
-
|
|
723
|
+
asMovePackage {
|
|
724
|
+
modules(first: 10) {
|
|
725
|
+
nodes {
|
|
726
|
+
name
|
|
727
|
+
}
|
|
728
|
+
}
|
|
821
729
|
}
|
|
822
730
|
}
|
|
823
731
|
}
|
|
824
732
|
}
|
|
825
733
|
}
|
|
826
734
|
}
|
|
827
|
-
fragment
|
|
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 {
|
|
735
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
849
736
|
sendingModule {
|
|
850
737
|
package {
|
|
851
738
|
address
|
|
@@ -1022,7 +909,7 @@ const PaginateCheckpointTransactionBlocksDocument = new TypedDocumentString(`
|
|
|
1022
909
|
}
|
|
1023
910
|
`);
|
|
1024
911
|
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) {
|
|
912
|
+
query devInspectTransactionBlock($txBytes: String!, $txMeta: TransactionMetadata!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
|
|
1026
913
|
dryRunTransactionBlock(txBytes: $txBytes, txMeta: $txMeta) {
|
|
1027
914
|
error
|
|
1028
915
|
results {
|
|
@@ -1054,28 +941,7 @@ const DevInspectTransactionBlockDocument = new TypedDocumentString(`
|
|
|
1054
941
|
}
|
|
1055
942
|
}
|
|
1056
943
|
}
|
|
1057
|
-
fragment
|
|
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 {
|
|
944
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
1079
945
|
sendingModule {
|
|
1080
946
|
package {
|
|
1081
947
|
address
|
|
@@ -1101,6 +967,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1101
967
|
}
|
|
1102
968
|
signatures
|
|
1103
969
|
effects {
|
|
970
|
+
bcs @include(if: $showEffects)
|
|
971
|
+
bcs @include(if: $showObjectChanges)
|
|
972
|
+
bcs @include(if: $showRawEffects)
|
|
1104
973
|
events @include(if: $showEvents) {
|
|
1105
974
|
pageInfo {
|
|
1106
975
|
hasNextPage
|
|
@@ -1134,70 +1003,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1134
1003
|
amount
|
|
1135
1004
|
}
|
|
1136
1005
|
}
|
|
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
1006
|
objectChanges @include(if: $showObjectChanges) {
|
|
1190
1007
|
pageInfo {
|
|
1191
1008
|
hasNextPage
|
|
1192
1009
|
endCursor
|
|
1193
1010
|
}
|
|
1194
1011
|
nodes {
|
|
1195
|
-
|
|
1196
|
-
idDeleted
|
|
1012
|
+
address
|
|
1197
1013
|
inputState {
|
|
1198
1014
|
version
|
|
1199
|
-
digest
|
|
1200
|
-
address
|
|
1201
1015
|
asMoveObject {
|
|
1202
1016
|
contents {
|
|
1203
1017
|
type {
|
|
@@ -1205,14 +1019,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1205
1019
|
}
|
|
1206
1020
|
}
|
|
1207
1021
|
}
|
|
1208
|
-
owner {
|
|
1209
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
1210
|
-
}
|
|
1211
1022
|
}
|
|
1212
1023
|
outputState {
|
|
1213
|
-
version
|
|
1214
|
-
digest
|
|
1215
|
-
address
|
|
1216
1024
|
asMoveObject {
|
|
1217
1025
|
contents {
|
|
1218
1026
|
type {
|
|
@@ -1220,8 +1028,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1220
1028
|
}
|
|
1221
1029
|
}
|
|
1222
1030
|
}
|
|
1223
|
-
|
|
1224
|
-
|
|
1031
|
+
asMovePackage {
|
|
1032
|
+
modules(first: 10) {
|
|
1033
|
+
nodes {
|
|
1034
|
+
name
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1225
1037
|
}
|
|
1226
1038
|
}
|
|
1227
1039
|
}
|
|
@@ -1229,7 +1041,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1229
1041
|
}
|
|
1230
1042
|
}`);
|
|
1231
1043
|
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) {
|
|
1044
|
+
query dryRunTransactionBlock($txBytes: String!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
|
|
1233
1045
|
dryRunTransactionBlock(txBytes: $txBytes) {
|
|
1234
1046
|
error
|
|
1235
1047
|
transaction {
|
|
@@ -1237,28 +1049,7 @@ const DryRunTransactionBlockDocument = new TypedDocumentString(`
|
|
|
1237
1049
|
}
|
|
1238
1050
|
}
|
|
1239
1051
|
}
|
|
1240
|
-
fragment
|
|
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 {
|
|
1052
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
1262
1053
|
sendingModule {
|
|
1263
1054
|
package {
|
|
1264
1055
|
address
|
|
@@ -1284,6 +1075,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1284
1075
|
}
|
|
1285
1076
|
signatures
|
|
1286
1077
|
effects {
|
|
1078
|
+
bcs @include(if: $showEffects)
|
|
1079
|
+
bcs @include(if: $showObjectChanges)
|
|
1080
|
+
bcs @include(if: $showRawEffects)
|
|
1287
1081
|
events @include(if: $showEvents) {
|
|
1288
1082
|
pageInfo {
|
|
1289
1083
|
hasNextPage
|
|
@@ -1317,70 +1111,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1317
1111
|
amount
|
|
1318
1112
|
}
|
|
1319
1113
|
}
|
|
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
1114
|
objectChanges @include(if: $showObjectChanges) {
|
|
1373
1115
|
pageInfo {
|
|
1374
1116
|
hasNextPage
|
|
1375
1117
|
endCursor
|
|
1376
1118
|
}
|
|
1377
1119
|
nodes {
|
|
1378
|
-
|
|
1379
|
-
idDeleted
|
|
1120
|
+
address
|
|
1380
1121
|
inputState {
|
|
1381
1122
|
version
|
|
1382
|
-
digest
|
|
1383
|
-
address
|
|
1384
1123
|
asMoveObject {
|
|
1385
1124
|
contents {
|
|
1386
1125
|
type {
|
|
@@ -1388,14 +1127,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1388
1127
|
}
|
|
1389
1128
|
}
|
|
1390
1129
|
}
|
|
1391
|
-
owner {
|
|
1392
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
1393
|
-
}
|
|
1394
1130
|
}
|
|
1395
1131
|
outputState {
|
|
1396
|
-
version
|
|
1397
|
-
digest
|
|
1398
|
-
address
|
|
1399
1132
|
asMoveObject {
|
|
1400
1133
|
contents {
|
|
1401
1134
|
type {
|
|
@@ -1403,8 +1136,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1403
1136
|
}
|
|
1404
1137
|
}
|
|
1405
1138
|
}
|
|
1406
|
-
|
|
1407
|
-
|
|
1139
|
+
asMovePackage {
|
|
1140
|
+
modules(first: 10) {
|
|
1141
|
+
nodes {
|
|
1142
|
+
name
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1408
1145
|
}
|
|
1409
1146
|
}
|
|
1410
1147
|
}
|
|
@@ -1412,7 +1149,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1412
1149
|
}
|
|
1413
1150
|
}`);
|
|
1414
1151
|
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) {
|
|
1152
|
+
mutation executeTransactionBlock($txBytes: String!, $signatures: [String!]!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
|
|
1416
1153
|
executeTransactionBlock(txBytes: $txBytes, signatures: $signatures) {
|
|
1417
1154
|
errors
|
|
1418
1155
|
effects {
|
|
@@ -1422,28 +1159,7 @@ const ExecuteTransactionBlockDocument = new TypedDocumentString(`
|
|
|
1422
1159
|
}
|
|
1423
1160
|
}
|
|
1424
1161
|
}
|
|
1425
|
-
fragment
|
|
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 {
|
|
1162
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
1447
1163
|
sendingModule {
|
|
1448
1164
|
package {
|
|
1449
1165
|
address
|
|
@@ -1469,6 +1185,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1469
1185
|
}
|
|
1470
1186
|
signatures
|
|
1471
1187
|
effects {
|
|
1188
|
+
bcs @include(if: $showEffects)
|
|
1189
|
+
bcs @include(if: $showObjectChanges)
|
|
1190
|
+
bcs @include(if: $showRawEffects)
|
|
1472
1191
|
events @include(if: $showEvents) {
|
|
1473
1192
|
pageInfo {
|
|
1474
1193
|
hasNextPage
|
|
@@ -1502,70 +1221,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1502
1221
|
amount
|
|
1503
1222
|
}
|
|
1504
1223
|
}
|
|
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
1224
|
objectChanges @include(if: $showObjectChanges) {
|
|
1558
1225
|
pageInfo {
|
|
1559
1226
|
hasNextPage
|
|
1560
1227
|
endCursor
|
|
1561
1228
|
}
|
|
1562
1229
|
nodes {
|
|
1563
|
-
|
|
1564
|
-
idDeleted
|
|
1230
|
+
address
|
|
1565
1231
|
inputState {
|
|
1566
1232
|
version
|
|
1567
|
-
digest
|
|
1568
|
-
address
|
|
1569
1233
|
asMoveObject {
|
|
1570
1234
|
contents {
|
|
1571
1235
|
type {
|
|
@@ -1573,14 +1237,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1573
1237
|
}
|
|
1574
1238
|
}
|
|
1575
1239
|
}
|
|
1576
|
-
owner {
|
|
1577
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
1578
|
-
}
|
|
1579
1240
|
}
|
|
1580
1241
|
outputState {
|
|
1581
|
-
version
|
|
1582
|
-
digest
|
|
1583
|
-
address
|
|
1584
1242
|
asMoveObject {
|
|
1585
1243
|
contents {
|
|
1586
1244
|
type {
|
|
@@ -1588,8 +1246,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1588
1246
|
}
|
|
1589
1247
|
}
|
|
1590
1248
|
}
|
|
1591
|
-
|
|
1592
|
-
|
|
1249
|
+
asMovePackage {
|
|
1250
|
+
modules(first: 10) {
|
|
1251
|
+
nodes {
|
|
1252
|
+
name
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1593
1255
|
}
|
|
1594
1256
|
}
|
|
1595
1257
|
}
|
|
@@ -1673,7 +1335,7 @@ const GetCoinsDocument = new TypedDocumentString(`
|
|
|
1673
1335
|
}
|
|
1674
1336
|
`);
|
|
1675
1337
|
const GetCommitteeInfoDocument = new TypedDocumentString(`
|
|
1676
|
-
query getCommitteeInfo($epochId:
|
|
1338
|
+
query getCommitteeInfo($epochId: UInt53, $after: String) {
|
|
1677
1339
|
epoch(id: $epochId) {
|
|
1678
1340
|
epochId
|
|
1679
1341
|
validatorSet {
|
|
@@ -1684,7 +1346,7 @@ const GetCommitteeInfoDocument = new TypedDocumentString(`
|
|
|
1684
1346
|
}
|
|
1685
1347
|
nodes {
|
|
1686
1348
|
credentials {
|
|
1687
|
-
|
|
1349
|
+
authorityPubKey
|
|
1688
1350
|
}
|
|
1689
1351
|
votingPower
|
|
1690
1352
|
}
|
|
@@ -1708,6 +1370,7 @@ const GetCurrentEpochDocument = new TypedDocumentString(`
|
|
|
1708
1370
|
}
|
|
1709
1371
|
}
|
|
1710
1372
|
}
|
|
1373
|
+
totalTransactions
|
|
1711
1374
|
firstCheckpoint: checkpoints(first: 1) {
|
|
1712
1375
|
nodes {
|
|
1713
1376
|
sequenceNumber
|
|
@@ -1766,13 +1429,12 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
|
|
|
1766
1429
|
networkPubKey
|
|
1767
1430
|
p2PAddress
|
|
1768
1431
|
primaryAddress
|
|
1769
|
-
|
|
1770
|
-
workerAddress
|
|
1432
|
+
authorityPubKey
|
|
1771
1433
|
proofOfPossession
|
|
1772
1434
|
protocolPubKey
|
|
1773
1435
|
}`);
|
|
1774
1436
|
const PaginateEpochValidatorsDocument = new TypedDocumentString(`
|
|
1775
|
-
query paginateEpochValidators($id:
|
|
1437
|
+
query paginateEpochValidators($id: UInt53!, $after: String) {
|
|
1776
1438
|
epoch(id: $id) {
|
|
1777
1439
|
validatorSet {
|
|
1778
1440
|
activeValidators(after: $after) {
|
|
@@ -1835,8 +1497,7 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
|
|
|
1835
1497
|
networkPubKey
|
|
1836
1498
|
p2PAddress
|
|
1837
1499
|
primaryAddress
|
|
1838
|
-
|
|
1839
|
-
workerAddress
|
|
1500
|
+
authorityPubKey
|
|
1840
1501
|
proofOfPossession
|
|
1841
1502
|
protocolPubKey
|
|
1842
1503
|
}`);
|
|
@@ -1849,7 +1510,7 @@ const GetTypeLayoutDocument = new TypedDocumentString(`
|
|
|
1849
1510
|
`);
|
|
1850
1511
|
const GetDynamicFieldObjectDocument = new TypedDocumentString(`
|
|
1851
1512
|
query getDynamicFieldObject($parentId: IotaAddress!, $name: DynamicFieldName!) {
|
|
1852
|
-
|
|
1513
|
+
owner(address: $parentId) {
|
|
1853
1514
|
dynamicObjectField(name: $name) {
|
|
1854
1515
|
value {
|
|
1855
1516
|
__typename
|
|
@@ -1894,7 +1555,7 @@ const GetDynamicFieldObjectDocument = new TypedDocumentString(`
|
|
|
1894
1555
|
`);
|
|
1895
1556
|
const GetDynamicFieldsDocument = new TypedDocumentString(`
|
|
1896
1557
|
query getDynamicFields($parentId: IotaAddress!, $first: Int, $cursor: String) {
|
|
1897
|
-
|
|
1558
|
+
owner(address: $parentId) {
|
|
1898
1559
|
dynamicFields(first: $first, after: $cursor) {
|
|
1899
1560
|
pageInfo {
|
|
1900
1561
|
hasNextPage
|
|
@@ -1963,6 +1624,7 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
|
|
|
1963
1624
|
}
|
|
1964
1625
|
systemStateVersion
|
|
1965
1626
|
iotaTotalSupply
|
|
1627
|
+
iotaTreasuryCapId
|
|
1966
1628
|
systemParameters {
|
|
1967
1629
|
minValidatorCount
|
|
1968
1630
|
maxValidatorCount
|
|
@@ -1991,6 +1653,10 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
|
|
|
1991
1653
|
validatorCandidatesSize
|
|
1992
1654
|
pendingRemovals
|
|
1993
1655
|
totalStake
|
|
1656
|
+
stakingPoolMappingsId
|
|
1657
|
+
pendingActiveValidatorsId
|
|
1658
|
+
validatorCandidatesId
|
|
1659
|
+
inactivePoolsId
|
|
1994
1660
|
}
|
|
1995
1661
|
}
|
|
1996
1662
|
}
|
|
@@ -2042,8 +1708,7 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
|
|
|
2042
1708
|
networkPubKey
|
|
2043
1709
|
p2PAddress
|
|
2044
1710
|
primaryAddress
|
|
2045
|
-
|
|
2046
|
-
workerAddress
|
|
1711
|
+
authorityPubKey
|
|
2047
1712
|
proofOfPossession
|
|
2048
1713
|
protocolPubKey
|
|
2049
1714
|
}`);
|
|
@@ -2342,7 +2007,7 @@ const GetNormalizedMoveStructDocument = new TypedDocumentString(`
|
|
|
2342
2007
|
}
|
|
2343
2008
|
}`);
|
|
2344
2009
|
const GetProtocolConfigDocument = new TypedDocumentString(`
|
|
2345
|
-
query getProtocolConfig($protocolVersion:
|
|
2010
|
+
query getProtocolConfig($protocolVersion: UInt53) {
|
|
2346
2011
|
protocolConfig(protocolVersion: $protocolVersion) {
|
|
2347
2012
|
protocolVersion
|
|
2348
2013
|
configs {
|
|
@@ -2546,7 +2211,7 @@ fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
|
|
|
2546
2211
|
}
|
|
2547
2212
|
}`);
|
|
2548
2213
|
const TryGetPastObjectDocument = new TypedDocumentString(`
|
|
2549
|
-
query tryGetPastObject($id: IotaAddress!, $version:
|
|
2214
|
+
query tryGetPastObject($id: IotaAddress!, $version: UInt53, $showBcs: Boolean = false, $showOwner: Boolean = false, $showPreviousTransaction: Boolean = false, $showContent: Boolean = false, $showDisplay: Boolean = false, $showType: Boolean = false, $showStorageRebate: Boolean = false) {
|
|
2550
2215
|
current: object(address: $id) {
|
|
2551
2216
|
address
|
|
2552
2217
|
version
|
|
@@ -2805,7 +2470,7 @@ const GetStakesByIdsDocument = new TypedDocumentString(`
|
|
|
2805
2470
|
estimatedReward
|
|
2806
2471
|
}`);
|
|
2807
2472
|
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) {
|
|
2473
|
+
query queryTransactionBlocks($first: Int, $last: Int, $before: String, $after: String, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false, $filter: TransactionBlockFilter) {
|
|
2809
2474
|
transactionBlocks(
|
|
2810
2475
|
first: $first
|
|
2811
2476
|
after: $after
|
|
@@ -2824,28 +2489,7 @@ const QueryTransactionBlocksDocument = new TypedDocumentString(`
|
|
|
2824
2489
|
}
|
|
2825
2490
|
}
|
|
2826
2491
|
}
|
|
2827
|
-
fragment
|
|
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 {
|
|
2492
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
2849
2493
|
sendingModule {
|
|
2850
2494
|
package {
|
|
2851
2495
|
address
|
|
@@ -2871,6 +2515,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
2871
2515
|
}
|
|
2872
2516
|
signatures
|
|
2873
2517
|
effects {
|
|
2518
|
+
bcs @include(if: $showEffects)
|
|
2519
|
+
bcs @include(if: $showObjectChanges)
|
|
2520
|
+
bcs @include(if: $showRawEffects)
|
|
2874
2521
|
events @include(if: $showEvents) {
|
|
2875
2522
|
pageInfo {
|
|
2876
2523
|
hasNextPage
|
|
@@ -2904,70 +2551,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
2904
2551
|
amount
|
|
2905
2552
|
}
|
|
2906
2553
|
}
|
|
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
2554
|
objectChanges @include(if: $showObjectChanges) {
|
|
2960
2555
|
pageInfo {
|
|
2961
2556
|
hasNextPage
|
|
2962
2557
|
endCursor
|
|
2963
2558
|
}
|
|
2964
2559
|
nodes {
|
|
2965
|
-
|
|
2966
|
-
idDeleted
|
|
2560
|
+
address
|
|
2967
2561
|
inputState {
|
|
2968
2562
|
version
|
|
2969
|
-
digest
|
|
2970
|
-
address
|
|
2971
2563
|
asMoveObject {
|
|
2972
2564
|
contents {
|
|
2973
2565
|
type {
|
|
@@ -2975,14 +2567,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
2975
2567
|
}
|
|
2976
2568
|
}
|
|
2977
2569
|
}
|
|
2978
|
-
owner {
|
|
2979
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
2980
|
-
}
|
|
2981
2570
|
}
|
|
2982
2571
|
outputState {
|
|
2983
|
-
version
|
|
2984
|
-
digest
|
|
2985
|
-
address
|
|
2986
2572
|
asMoveObject {
|
|
2987
2573
|
contents {
|
|
2988
2574
|
type {
|
|
@@ -2990,8 +2576,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
2990
2576
|
}
|
|
2991
2577
|
}
|
|
2992
2578
|
}
|
|
2993
|
-
|
|
2994
|
-
|
|
2579
|
+
asMovePackage {
|
|
2580
|
+
modules(first: 10) {
|
|
2581
|
+
nodes {
|
|
2582
|
+
name
|
|
2583
|
+
}
|
|
2584
|
+
}
|
|
2995
2585
|
}
|
|
2996
2586
|
}
|
|
2997
2587
|
}
|
|
@@ -2999,33 +2589,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
2999
2589
|
}
|
|
3000
2590
|
}`);
|
|
3001
2591
|
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) {
|
|
2592
|
+
query getTransactionBlock($digest: String!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
|
|
3003
2593
|
transactionBlock(digest: $digest) {
|
|
3004
2594
|
...RPC_TRANSACTION_FIELDS
|
|
3005
2595
|
}
|
|
3006
2596
|
}
|
|
3007
|
-
fragment
|
|
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 {
|
|
2597
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
3029
2598
|
sendingModule {
|
|
3030
2599
|
package {
|
|
3031
2600
|
address
|
|
@@ -3051,6 +2620,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3051
2620
|
}
|
|
3052
2621
|
signatures
|
|
3053
2622
|
effects {
|
|
2623
|
+
bcs @include(if: $showEffects)
|
|
2624
|
+
bcs @include(if: $showObjectChanges)
|
|
2625
|
+
bcs @include(if: $showRawEffects)
|
|
3054
2626
|
events @include(if: $showEvents) {
|
|
3055
2627
|
pageInfo {
|
|
3056
2628
|
hasNextPage
|
|
@@ -3084,70 +2656,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3084
2656
|
amount
|
|
3085
2657
|
}
|
|
3086
2658
|
}
|
|
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
2659
|
objectChanges @include(if: $showObjectChanges) {
|
|
3140
2660
|
pageInfo {
|
|
3141
2661
|
hasNextPage
|
|
3142
2662
|
endCursor
|
|
3143
2663
|
}
|
|
3144
2664
|
nodes {
|
|
3145
|
-
|
|
3146
|
-
idDeleted
|
|
2665
|
+
address
|
|
3147
2666
|
inputState {
|
|
3148
2667
|
version
|
|
3149
|
-
digest
|
|
3150
|
-
address
|
|
3151
2668
|
asMoveObject {
|
|
3152
2669
|
contents {
|
|
3153
2670
|
type {
|
|
@@ -3155,14 +2672,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3155
2672
|
}
|
|
3156
2673
|
}
|
|
3157
2674
|
}
|
|
3158
|
-
owner {
|
|
3159
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
3160
|
-
}
|
|
3161
2675
|
}
|
|
3162
2676
|
outputState {
|
|
3163
|
-
version
|
|
3164
|
-
digest
|
|
3165
|
-
address
|
|
3166
2677
|
asMoveObject {
|
|
3167
2678
|
contents {
|
|
3168
2679
|
type {
|
|
@@ -3170,8 +2681,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3170
2681
|
}
|
|
3171
2682
|
}
|
|
3172
2683
|
}
|
|
3173
|
-
|
|
3174
|
-
|
|
2684
|
+
asMovePackage {
|
|
2685
|
+
modules(first: 10) {
|
|
2686
|
+
nodes {
|
|
2687
|
+
name
|
|
2688
|
+
}
|
|
2689
|
+
}
|
|
3175
2690
|
}
|
|
3176
2691
|
}
|
|
3177
2692
|
}
|
|
@@ -3179,7 +2694,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3179
2694
|
}
|
|
3180
2695
|
}`);
|
|
3181
2696
|
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) {
|
|
2697
|
+
query multiGetTransactionBlocks($digests: [String!]!, $limit: Int, $cursor: String, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
|
|
3183
2698
|
transactionBlocks(
|
|
3184
2699
|
first: $limit
|
|
3185
2700
|
after: $cursor
|
|
@@ -3196,28 +2711,7 @@ const MultiGetTransactionBlocksDocument = new TypedDocumentString(`
|
|
|
3196
2711
|
}
|
|
3197
2712
|
}
|
|
3198
2713
|
}
|
|
3199
|
-
fragment
|
|
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 {
|
|
2714
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
3221
2715
|
sendingModule {
|
|
3222
2716
|
package {
|
|
3223
2717
|
address
|
|
@@ -3243,6 +2737,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3243
2737
|
}
|
|
3244
2738
|
signatures
|
|
3245
2739
|
effects {
|
|
2740
|
+
bcs @include(if: $showEffects)
|
|
2741
|
+
bcs @include(if: $showObjectChanges)
|
|
2742
|
+
bcs @include(if: $showRawEffects)
|
|
3246
2743
|
events @include(if: $showEvents) {
|
|
3247
2744
|
pageInfo {
|
|
3248
2745
|
hasNextPage
|
|
@@ -3276,70 +2773,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3276
2773
|
amount
|
|
3277
2774
|
}
|
|
3278
2775
|
}
|
|
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
2776
|
objectChanges @include(if: $showObjectChanges) {
|
|
3332
2777
|
pageInfo {
|
|
3333
2778
|
hasNextPage
|
|
3334
2779
|
endCursor
|
|
3335
2780
|
}
|
|
3336
2781
|
nodes {
|
|
3337
|
-
|
|
3338
|
-
idDeleted
|
|
2782
|
+
address
|
|
3339
2783
|
inputState {
|
|
3340
2784
|
version
|
|
3341
|
-
digest
|
|
3342
|
-
address
|
|
3343
2785
|
asMoveObject {
|
|
3344
2786
|
contents {
|
|
3345
2787
|
type {
|
|
@@ -3347,14 +2789,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3347
2789
|
}
|
|
3348
2790
|
}
|
|
3349
2791
|
}
|
|
3350
|
-
owner {
|
|
3351
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
3352
|
-
}
|
|
3353
2792
|
}
|
|
3354
2793
|
outputState {
|
|
3355
|
-
version
|
|
3356
|
-
digest
|
|
3357
|
-
address
|
|
3358
2794
|
asMoveObject {
|
|
3359
2795
|
contents {
|
|
3360
2796
|
type {
|
|
@@ -3362,8 +2798,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3362
2798
|
}
|
|
3363
2799
|
}
|
|
3364
2800
|
}
|
|
3365
|
-
|
|
3366
|
-
|
|
2801
|
+
asMovePackage {
|
|
2802
|
+
modules(first: 10) {
|
|
2803
|
+
nodes {
|
|
2804
|
+
name
|
|
2805
|
+
}
|
|
2806
|
+
}
|
|
3367
2807
|
}
|
|
3368
2808
|
}
|
|
3369
2809
|
}
|
|
@@ -3371,33 +2811,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3371
2811
|
}
|
|
3372
2812
|
}`);
|
|
3373
2813
|
const PaginateTransactionBlockListsDocument = new TypedDocumentString(`
|
|
3374
|
-
query paginateTransactionBlockLists($digest: String!, $hasMoreEvents: Boolean!, $hasMoreBalanceChanges: Boolean!, $hasMoreObjectChanges: Boolean!, $
|
|
2814
|
+
query paginateTransactionBlockLists($digest: String!, $hasMoreEvents: Boolean!, $hasMoreBalanceChanges: Boolean!, $hasMoreObjectChanges: Boolean!, $afterEvents: String, $afterBalanceChanges: String, $afterObjectChanges: String) {
|
|
3375
2815
|
transactionBlock(digest: $digest) {
|
|
3376
2816
|
...PAGINATE_TRANSACTION_LISTS
|
|
3377
2817
|
}
|
|
3378
2818
|
}
|
|
3379
|
-
fragment
|
|
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 {
|
|
2819
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
3401
2820
|
sendingModule {
|
|
3402
2821
|
package {
|
|
3403
2822
|
address
|
|
@@ -3445,27 +2864,15 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
|
|
|
3445
2864
|
amount
|
|
3446
2865
|
}
|
|
3447
2866
|
}
|
|
3448
|
-
dependencies(after: $afterDependencies) @include(if: $hasMoreDependencies) {
|
|
3449
|
-
pageInfo {
|
|
3450
|
-
hasNextPage
|
|
3451
|
-
endCursor
|
|
3452
|
-
}
|
|
3453
|
-
nodes {
|
|
3454
|
-
digest
|
|
3455
|
-
}
|
|
3456
|
-
}
|
|
3457
2867
|
objectChanges(after: $afterObjectChanges) @include(if: $hasMoreObjectChanges) {
|
|
3458
2868
|
pageInfo {
|
|
3459
2869
|
hasNextPage
|
|
3460
2870
|
endCursor
|
|
3461
2871
|
}
|
|
3462
2872
|
nodes {
|
|
3463
|
-
|
|
3464
|
-
idDeleted
|
|
2873
|
+
address
|
|
3465
2874
|
inputState {
|
|
3466
2875
|
version
|
|
3467
|
-
digest
|
|
3468
|
-
address
|
|
3469
2876
|
asMoveObject {
|
|
3470
2877
|
contents {
|
|
3471
2878
|
type {
|
|
@@ -3473,14 +2880,8 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
|
|
|
3473
2880
|
}
|
|
3474
2881
|
}
|
|
3475
2882
|
}
|
|
3476
|
-
owner {
|
|
3477
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
3478
|
-
}
|
|
3479
2883
|
}
|
|
3480
2884
|
outputState {
|
|
3481
|
-
version
|
|
3482
|
-
digest
|
|
3483
|
-
address
|
|
3484
2885
|
asMoveObject {
|
|
3485
2886
|
contents {
|
|
3486
2887
|
type {
|
|
@@ -3488,8 +2889,12 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
|
|
|
3488
2889
|
}
|
|
3489
2890
|
}
|
|
3490
2891
|
}
|
|
3491
|
-
|
|
3492
|
-
|
|
2892
|
+
asMovePackage {
|
|
2893
|
+
modules(first: 10) {
|
|
2894
|
+
nodes {
|
|
2895
|
+
name
|
|
2896
|
+
}
|
|
2897
|
+
}
|
|
3493
2898
|
}
|
|
3494
2899
|
}
|
|
3495
2900
|
}
|