@iota/graphql-transport 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/README.md +1 -1
- package/dist/cjs/generated/queries.d.ts +1054 -1944
- package/dist/cjs/generated/queries.js +126 -752
- package/dist/cjs/generated/queries.js.map +3 -3
- 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 +26 -58
- 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 +1054 -1944
- package/dist/esm/generated/queries.js +126 -752
- package/dist/esm/generated/queries.js.map +3 -3
- 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 +27 -61
- 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
|
@@ -3,11 +3,6 @@ var AddressTransactionBlockRelationship = /* @__PURE__ */ ((AddressTransactionBl
|
|
|
3
3
|
AddressTransactionBlockRelationship2["Sign"] = "SIGN";
|
|
4
4
|
return AddressTransactionBlockRelationship2;
|
|
5
5
|
})(AddressTransactionBlockRelationship || {});
|
|
6
|
-
var DomainFormat = /* @__PURE__ */ ((DomainFormat2) => {
|
|
7
|
-
DomainFormat2["At"] = "AT";
|
|
8
|
-
DomainFormat2["Dot"] = "DOT";
|
|
9
|
-
return DomainFormat2;
|
|
10
|
-
})(DomainFormat || {});
|
|
11
6
|
var ExecutionStatus = /* @__PURE__ */ ((ExecutionStatus2) => {
|
|
12
7
|
ExecutionStatus2["Failure"] = "FAILURE";
|
|
13
8
|
ExecutionStatus2["Success"] = "SUCCESS";
|
|
@@ -17,7 +12,6 @@ var Feature = /* @__PURE__ */ ((Feature2) => {
|
|
|
17
12
|
Feature2["Analytics"] = "ANALYTICS";
|
|
18
13
|
Feature2["Coins"] = "COINS";
|
|
19
14
|
Feature2["DynamicFields"] = "DYNAMIC_FIELDS";
|
|
20
|
-
Feature2["NameService"] = "NAME_SERVICE";
|
|
21
15
|
Feature2["Subscriptions"] = "SUBSCRIPTIONS";
|
|
22
16
|
Feature2["SystemState"] = "SYSTEM_STATE";
|
|
23
17
|
return Feature2;
|
|
@@ -36,8 +30,7 @@ var MoveVisibility = /* @__PURE__ */ ((MoveVisibility2) => {
|
|
|
36
30
|
return MoveVisibility2;
|
|
37
31
|
})(MoveVisibility || {});
|
|
38
32
|
var ObjectKind = /* @__PURE__ */ ((ObjectKind2) => {
|
|
39
|
-
ObjectKind2["
|
|
40
|
-
ObjectKind2["Live"] = "LIVE";
|
|
33
|
+
ObjectKind2["Indexed"] = "INDEXED";
|
|
41
34
|
ObjectKind2["NotIndexed"] = "NOT_INDEXED";
|
|
42
35
|
ObjectKind2["WrappedOrDeleted"] = "WRAPPED_OR_DELETED";
|
|
43
36
|
return ObjectKind2;
|
|
@@ -138,8 +131,7 @@ const Rpc_Credential_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
138
131
|
networkPubKey
|
|
139
132
|
p2PAddress
|
|
140
133
|
primaryAddress
|
|
141
|
-
|
|
142
|
-
workerAddress
|
|
134
|
+
authorityPubKey
|
|
143
135
|
proofOfPossession
|
|
144
136
|
protocolPubKey
|
|
145
137
|
}
|
|
@@ -193,8 +185,7 @@ const Rpc_Validator_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
193
185
|
networkPubKey
|
|
194
186
|
p2PAddress
|
|
195
187
|
primaryAddress
|
|
196
|
-
|
|
197
|
-
workerAddress
|
|
188
|
+
authorityPubKey
|
|
198
189
|
proofOfPossession
|
|
199
190
|
protocolPubKey
|
|
200
191
|
}`, { "fragmentName": "RPC_VALIDATOR_FIELDS" });
|
|
@@ -518,27 +509,15 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
|
|
|
518
509
|
amount
|
|
519
510
|
}
|
|
520
511
|
}
|
|
521
|
-
dependencies(after: $afterDependencies) @include(if: $hasMoreDependencies) {
|
|
522
|
-
pageInfo {
|
|
523
|
-
hasNextPage
|
|
524
|
-
endCursor
|
|
525
|
-
}
|
|
526
|
-
nodes {
|
|
527
|
-
digest
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
512
|
objectChanges(after: $afterObjectChanges) @include(if: $hasMoreObjectChanges) {
|
|
531
513
|
pageInfo {
|
|
532
514
|
hasNextPage
|
|
533
515
|
endCursor
|
|
534
516
|
}
|
|
535
517
|
nodes {
|
|
536
|
-
|
|
537
|
-
idDeleted
|
|
518
|
+
address
|
|
538
519
|
inputState {
|
|
539
520
|
version
|
|
540
|
-
digest
|
|
541
|
-
address
|
|
542
521
|
asMoveObject {
|
|
543
522
|
contents {
|
|
544
523
|
type {
|
|
@@ -546,14 +525,8 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
|
|
|
546
525
|
}
|
|
547
526
|
}
|
|
548
527
|
}
|
|
549
|
-
owner {
|
|
550
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
551
|
-
}
|
|
552
528
|
}
|
|
553
529
|
outputState {
|
|
554
|
-
version
|
|
555
|
-
digest
|
|
556
|
-
address
|
|
557
530
|
asMoveObject {
|
|
558
531
|
contents {
|
|
559
532
|
type {
|
|
@@ -561,36 +534,19 @@ const Paginate_Transaction_ListsFragmentDoc = new TypedDocumentString(`
|
|
|
561
534
|
}
|
|
562
535
|
}
|
|
563
536
|
}
|
|
564
|
-
|
|
565
|
-
|
|
537
|
+
asMovePackage {
|
|
538
|
+
modules(first: 10) {
|
|
539
|
+
nodes {
|
|
540
|
+
name
|
|
541
|
+
}
|
|
542
|
+
}
|
|
566
543
|
}
|
|
567
544
|
}
|
|
568
545
|
}
|
|
569
546
|
}
|
|
570
547
|
}
|
|
571
548
|
}
|
|
572
|
-
fragment
|
|
573
|
-
__typename
|
|
574
|
-
... on AddressOwner {
|
|
575
|
-
owner {
|
|
576
|
-
asObject {
|
|
577
|
-
address
|
|
578
|
-
}
|
|
579
|
-
asAddress {
|
|
580
|
-
address
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
... on Parent {
|
|
585
|
-
parent {
|
|
586
|
-
address
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
... on Shared {
|
|
590
|
-
initialSharedVersion
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
fragment RPC_EVENTS_FIELDS on Event {
|
|
549
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
594
550
|
sendingModule {
|
|
595
551
|
package {
|
|
596
552
|
address
|
|
@@ -617,6 +573,9 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
617
573
|
}
|
|
618
574
|
signatures
|
|
619
575
|
effects {
|
|
576
|
+
bcs @include(if: $showEffects)
|
|
577
|
+
bcs @include(if: $showObjectChanges)
|
|
578
|
+
bcs @include(if: $showRawEffects)
|
|
620
579
|
events @include(if: $showEvents) {
|
|
621
580
|
pageInfo {
|
|
622
581
|
hasNextPage
|
|
@@ -650,70 +609,15 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
650
609
|
amount
|
|
651
610
|
}
|
|
652
611
|
}
|
|
653
|
-
dependencies @include(if: $showEffects) {
|
|
654
|
-
pageInfo {
|
|
655
|
-
hasNextPage
|
|
656
|
-
endCursor
|
|
657
|
-
}
|
|
658
|
-
nodes {
|
|
659
|
-
digest
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
status @include(if: $showEffects)
|
|
663
|
-
gasEffects @include(if: $showEffects) {
|
|
664
|
-
gasObject {
|
|
665
|
-
owner {
|
|
666
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
667
|
-
}
|
|
668
|
-
digest
|
|
669
|
-
version
|
|
670
|
-
address
|
|
671
|
-
}
|
|
672
|
-
gasSummary {
|
|
673
|
-
storageCost
|
|
674
|
-
storageRebate
|
|
675
|
-
nonRefundableStorageFee
|
|
676
|
-
computationCost
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
executedEpoch: epoch @include(if: $showEffects) {
|
|
680
|
-
epochId
|
|
681
|
-
}
|
|
682
|
-
objectChanges @include(if: $showEffects) {
|
|
683
|
-
pageInfo {
|
|
684
|
-
hasNextPage
|
|
685
|
-
endCursor
|
|
686
|
-
}
|
|
687
|
-
nodes {
|
|
688
|
-
idCreated
|
|
689
|
-
idDeleted
|
|
690
|
-
inputState {
|
|
691
|
-
version
|
|
692
|
-
digest
|
|
693
|
-
address
|
|
694
|
-
}
|
|
695
|
-
outputState {
|
|
696
|
-
version
|
|
697
|
-
digest
|
|
698
|
-
address
|
|
699
|
-
owner {
|
|
700
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
}
|
|
704
|
-
}
|
|
705
612
|
objectChanges @include(if: $showObjectChanges) {
|
|
706
613
|
pageInfo {
|
|
707
614
|
hasNextPage
|
|
708
615
|
endCursor
|
|
709
616
|
}
|
|
710
617
|
nodes {
|
|
711
|
-
|
|
712
|
-
idDeleted
|
|
618
|
+
address
|
|
713
619
|
inputState {
|
|
714
620
|
version
|
|
715
|
-
digest
|
|
716
|
-
address
|
|
717
621
|
asMoveObject {
|
|
718
622
|
contents {
|
|
719
623
|
type {
|
|
@@ -721,14 +625,8 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
721
625
|
}
|
|
722
626
|
}
|
|
723
627
|
}
|
|
724
|
-
owner {
|
|
725
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
726
|
-
}
|
|
727
628
|
}
|
|
728
629
|
outputState {
|
|
729
|
-
version
|
|
730
|
-
digest
|
|
731
|
-
address
|
|
732
630
|
asMoveObject {
|
|
733
631
|
contents {
|
|
734
632
|
type {
|
|
@@ -736,36 +634,19 @@ const Rpc_Transaction_FieldsFragmentDoc = new TypedDocumentString(`
|
|
|
736
634
|
}
|
|
737
635
|
}
|
|
738
636
|
}
|
|
739
|
-
|
|
740
|
-
|
|
637
|
+
asMovePackage {
|
|
638
|
+
modules(first: 10) {
|
|
639
|
+
nodes {
|
|
640
|
+
name
|
|
641
|
+
}
|
|
642
|
+
}
|
|
741
643
|
}
|
|
742
644
|
}
|
|
743
645
|
}
|
|
744
646
|
}
|
|
745
647
|
}
|
|
746
648
|
}
|
|
747
|
-
fragment
|
|
748
|
-
__typename
|
|
749
|
-
... on AddressOwner {
|
|
750
|
-
owner {
|
|
751
|
-
asObject {
|
|
752
|
-
address
|
|
753
|
-
}
|
|
754
|
-
asAddress {
|
|
755
|
-
address
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
... on Parent {
|
|
760
|
-
parent {
|
|
761
|
-
address
|
|
762
|
-
}
|
|
763
|
-
}
|
|
764
|
-
... on Shared {
|
|
765
|
-
initialSharedVersion
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
fragment RPC_EVENTS_FIELDS on Event {
|
|
649
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
769
650
|
sendingModule {
|
|
770
651
|
package {
|
|
771
652
|
address
|
|
@@ -942,7 +823,7 @@ const PaginateCheckpointTransactionBlocksDocument = new TypedDocumentString(`
|
|
|
942
823
|
}
|
|
943
824
|
`);
|
|
944
825
|
const DevInspectTransactionBlockDocument = new TypedDocumentString(`
|
|
945
|
-
query devInspectTransactionBlock($txBytes: String!, $txMeta: TransactionMetadata!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
|
|
826
|
+
query devInspectTransactionBlock($txBytes: String!, $txMeta: TransactionMetadata!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
|
|
946
827
|
dryRunTransactionBlock(txBytes: $txBytes, txMeta: $txMeta) {
|
|
947
828
|
error
|
|
948
829
|
results {
|
|
@@ -974,28 +855,7 @@ const DevInspectTransactionBlockDocument = new TypedDocumentString(`
|
|
|
974
855
|
}
|
|
975
856
|
}
|
|
976
857
|
}
|
|
977
|
-
fragment
|
|
978
|
-
__typename
|
|
979
|
-
... on AddressOwner {
|
|
980
|
-
owner {
|
|
981
|
-
asObject {
|
|
982
|
-
address
|
|
983
|
-
}
|
|
984
|
-
asAddress {
|
|
985
|
-
address
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
|
-
}
|
|
989
|
-
... on Parent {
|
|
990
|
-
parent {
|
|
991
|
-
address
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
... on Shared {
|
|
995
|
-
initialSharedVersion
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
fragment RPC_EVENTS_FIELDS on Event {
|
|
858
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
999
859
|
sendingModule {
|
|
1000
860
|
package {
|
|
1001
861
|
address
|
|
@@ -1021,6 +881,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1021
881
|
}
|
|
1022
882
|
signatures
|
|
1023
883
|
effects {
|
|
884
|
+
bcs @include(if: $showEffects)
|
|
885
|
+
bcs @include(if: $showObjectChanges)
|
|
886
|
+
bcs @include(if: $showRawEffects)
|
|
1024
887
|
events @include(if: $showEvents) {
|
|
1025
888
|
pageInfo {
|
|
1026
889
|
hasNextPage
|
|
@@ -1054,70 +917,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1054
917
|
amount
|
|
1055
918
|
}
|
|
1056
919
|
}
|
|
1057
|
-
dependencies @include(if: $showEffects) {
|
|
1058
|
-
pageInfo {
|
|
1059
|
-
hasNextPage
|
|
1060
|
-
endCursor
|
|
1061
|
-
}
|
|
1062
|
-
nodes {
|
|
1063
|
-
digest
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
status @include(if: $showEffects)
|
|
1067
|
-
gasEffects @include(if: $showEffects) {
|
|
1068
|
-
gasObject {
|
|
1069
|
-
owner {
|
|
1070
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
1071
|
-
}
|
|
1072
|
-
digest
|
|
1073
|
-
version
|
|
1074
|
-
address
|
|
1075
|
-
}
|
|
1076
|
-
gasSummary {
|
|
1077
|
-
storageCost
|
|
1078
|
-
storageRebate
|
|
1079
|
-
nonRefundableStorageFee
|
|
1080
|
-
computationCost
|
|
1081
|
-
}
|
|
1082
|
-
}
|
|
1083
|
-
executedEpoch: epoch @include(if: $showEffects) {
|
|
1084
|
-
epochId
|
|
1085
|
-
}
|
|
1086
|
-
objectChanges @include(if: $showEffects) {
|
|
1087
|
-
pageInfo {
|
|
1088
|
-
hasNextPage
|
|
1089
|
-
endCursor
|
|
1090
|
-
}
|
|
1091
|
-
nodes {
|
|
1092
|
-
idCreated
|
|
1093
|
-
idDeleted
|
|
1094
|
-
inputState {
|
|
1095
|
-
version
|
|
1096
|
-
digest
|
|
1097
|
-
address
|
|
1098
|
-
}
|
|
1099
|
-
outputState {
|
|
1100
|
-
version
|
|
1101
|
-
digest
|
|
1102
|
-
address
|
|
1103
|
-
owner {
|
|
1104
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
1105
|
-
}
|
|
1106
|
-
}
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1109
920
|
objectChanges @include(if: $showObjectChanges) {
|
|
1110
921
|
pageInfo {
|
|
1111
922
|
hasNextPage
|
|
1112
923
|
endCursor
|
|
1113
924
|
}
|
|
1114
925
|
nodes {
|
|
1115
|
-
|
|
1116
|
-
idDeleted
|
|
926
|
+
address
|
|
1117
927
|
inputState {
|
|
1118
928
|
version
|
|
1119
|
-
digest
|
|
1120
|
-
address
|
|
1121
929
|
asMoveObject {
|
|
1122
930
|
contents {
|
|
1123
931
|
type {
|
|
@@ -1125,14 +933,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1125
933
|
}
|
|
1126
934
|
}
|
|
1127
935
|
}
|
|
1128
|
-
owner {
|
|
1129
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
1130
|
-
}
|
|
1131
936
|
}
|
|
1132
937
|
outputState {
|
|
1133
|
-
version
|
|
1134
|
-
digest
|
|
1135
|
-
address
|
|
1136
938
|
asMoveObject {
|
|
1137
939
|
contents {
|
|
1138
940
|
type {
|
|
@@ -1140,8 +942,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1140
942
|
}
|
|
1141
943
|
}
|
|
1142
944
|
}
|
|
1143
|
-
|
|
1144
|
-
|
|
945
|
+
asMovePackage {
|
|
946
|
+
modules(first: 10) {
|
|
947
|
+
nodes {
|
|
948
|
+
name
|
|
949
|
+
}
|
|
950
|
+
}
|
|
1145
951
|
}
|
|
1146
952
|
}
|
|
1147
953
|
}
|
|
@@ -1149,7 +955,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1149
955
|
}
|
|
1150
956
|
}`);
|
|
1151
957
|
const DryRunTransactionBlockDocument = new TypedDocumentString(`
|
|
1152
|
-
query dryRunTransactionBlock($txBytes: String!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
|
|
958
|
+
query dryRunTransactionBlock($txBytes: String!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
|
|
1153
959
|
dryRunTransactionBlock(txBytes: $txBytes) {
|
|
1154
960
|
error
|
|
1155
961
|
transaction {
|
|
@@ -1157,28 +963,7 @@ const DryRunTransactionBlockDocument = new TypedDocumentString(`
|
|
|
1157
963
|
}
|
|
1158
964
|
}
|
|
1159
965
|
}
|
|
1160
|
-
fragment
|
|
1161
|
-
__typename
|
|
1162
|
-
... on AddressOwner {
|
|
1163
|
-
owner {
|
|
1164
|
-
asObject {
|
|
1165
|
-
address
|
|
1166
|
-
}
|
|
1167
|
-
asAddress {
|
|
1168
|
-
address
|
|
1169
|
-
}
|
|
1170
|
-
}
|
|
1171
|
-
}
|
|
1172
|
-
... on Parent {
|
|
1173
|
-
parent {
|
|
1174
|
-
address
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
... on Shared {
|
|
1178
|
-
initialSharedVersion
|
|
1179
|
-
}
|
|
1180
|
-
}
|
|
1181
|
-
fragment RPC_EVENTS_FIELDS on Event {
|
|
966
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
1182
967
|
sendingModule {
|
|
1183
968
|
package {
|
|
1184
969
|
address
|
|
@@ -1204,6 +989,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1204
989
|
}
|
|
1205
990
|
signatures
|
|
1206
991
|
effects {
|
|
992
|
+
bcs @include(if: $showEffects)
|
|
993
|
+
bcs @include(if: $showObjectChanges)
|
|
994
|
+
bcs @include(if: $showRawEffects)
|
|
1207
995
|
events @include(if: $showEvents) {
|
|
1208
996
|
pageInfo {
|
|
1209
997
|
hasNextPage
|
|
@@ -1237,70 +1025,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1237
1025
|
amount
|
|
1238
1026
|
}
|
|
1239
1027
|
}
|
|
1240
|
-
dependencies @include(if: $showEffects) {
|
|
1241
|
-
pageInfo {
|
|
1242
|
-
hasNextPage
|
|
1243
|
-
endCursor
|
|
1244
|
-
}
|
|
1245
|
-
nodes {
|
|
1246
|
-
digest
|
|
1247
|
-
}
|
|
1248
|
-
}
|
|
1249
|
-
status @include(if: $showEffects)
|
|
1250
|
-
gasEffects @include(if: $showEffects) {
|
|
1251
|
-
gasObject {
|
|
1252
|
-
owner {
|
|
1253
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
1254
|
-
}
|
|
1255
|
-
digest
|
|
1256
|
-
version
|
|
1257
|
-
address
|
|
1258
|
-
}
|
|
1259
|
-
gasSummary {
|
|
1260
|
-
storageCost
|
|
1261
|
-
storageRebate
|
|
1262
|
-
nonRefundableStorageFee
|
|
1263
|
-
computationCost
|
|
1264
|
-
}
|
|
1265
|
-
}
|
|
1266
|
-
executedEpoch: epoch @include(if: $showEffects) {
|
|
1267
|
-
epochId
|
|
1268
|
-
}
|
|
1269
|
-
objectChanges @include(if: $showEffects) {
|
|
1270
|
-
pageInfo {
|
|
1271
|
-
hasNextPage
|
|
1272
|
-
endCursor
|
|
1273
|
-
}
|
|
1274
|
-
nodes {
|
|
1275
|
-
idCreated
|
|
1276
|
-
idDeleted
|
|
1277
|
-
inputState {
|
|
1278
|
-
version
|
|
1279
|
-
digest
|
|
1280
|
-
address
|
|
1281
|
-
}
|
|
1282
|
-
outputState {
|
|
1283
|
-
version
|
|
1284
|
-
digest
|
|
1285
|
-
address
|
|
1286
|
-
owner {
|
|
1287
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
|
-
}
|
|
1291
|
-
}
|
|
1292
1028
|
objectChanges @include(if: $showObjectChanges) {
|
|
1293
1029
|
pageInfo {
|
|
1294
1030
|
hasNextPage
|
|
1295
1031
|
endCursor
|
|
1296
1032
|
}
|
|
1297
1033
|
nodes {
|
|
1298
|
-
|
|
1299
|
-
idDeleted
|
|
1034
|
+
address
|
|
1300
1035
|
inputState {
|
|
1301
1036
|
version
|
|
1302
|
-
digest
|
|
1303
|
-
address
|
|
1304
1037
|
asMoveObject {
|
|
1305
1038
|
contents {
|
|
1306
1039
|
type {
|
|
@@ -1308,14 +1041,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1308
1041
|
}
|
|
1309
1042
|
}
|
|
1310
1043
|
}
|
|
1311
|
-
owner {
|
|
1312
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
1313
|
-
}
|
|
1314
1044
|
}
|
|
1315
1045
|
outputState {
|
|
1316
|
-
version
|
|
1317
|
-
digest
|
|
1318
|
-
address
|
|
1319
1046
|
asMoveObject {
|
|
1320
1047
|
contents {
|
|
1321
1048
|
type {
|
|
@@ -1323,8 +1050,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1323
1050
|
}
|
|
1324
1051
|
}
|
|
1325
1052
|
}
|
|
1326
|
-
|
|
1327
|
-
|
|
1053
|
+
asMovePackage {
|
|
1054
|
+
modules(first: 10) {
|
|
1055
|
+
nodes {
|
|
1056
|
+
name
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1328
1059
|
}
|
|
1329
1060
|
}
|
|
1330
1061
|
}
|
|
@@ -1332,7 +1063,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1332
1063
|
}
|
|
1333
1064
|
}`);
|
|
1334
1065
|
const ExecuteTransactionBlockDocument = new TypedDocumentString(`
|
|
1335
|
-
mutation executeTransactionBlock($txBytes: String!, $signatures: [String!]!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
|
|
1066
|
+
mutation executeTransactionBlock($txBytes: String!, $signatures: [String!]!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
|
|
1336
1067
|
executeTransactionBlock(txBytes: $txBytes, signatures: $signatures) {
|
|
1337
1068
|
errors
|
|
1338
1069
|
effects {
|
|
@@ -1342,28 +1073,7 @@ const ExecuteTransactionBlockDocument = new TypedDocumentString(`
|
|
|
1342
1073
|
}
|
|
1343
1074
|
}
|
|
1344
1075
|
}
|
|
1345
|
-
fragment
|
|
1346
|
-
__typename
|
|
1347
|
-
... on AddressOwner {
|
|
1348
|
-
owner {
|
|
1349
|
-
asObject {
|
|
1350
|
-
address
|
|
1351
|
-
}
|
|
1352
|
-
asAddress {
|
|
1353
|
-
address
|
|
1354
|
-
}
|
|
1355
|
-
}
|
|
1356
|
-
}
|
|
1357
|
-
... on Parent {
|
|
1358
|
-
parent {
|
|
1359
|
-
address
|
|
1360
|
-
}
|
|
1361
|
-
}
|
|
1362
|
-
... on Shared {
|
|
1363
|
-
initialSharedVersion
|
|
1364
|
-
}
|
|
1365
|
-
}
|
|
1366
|
-
fragment RPC_EVENTS_FIELDS on Event {
|
|
1076
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
1367
1077
|
sendingModule {
|
|
1368
1078
|
package {
|
|
1369
1079
|
address
|
|
@@ -1389,6 +1099,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1389
1099
|
}
|
|
1390
1100
|
signatures
|
|
1391
1101
|
effects {
|
|
1102
|
+
bcs @include(if: $showEffects)
|
|
1103
|
+
bcs @include(if: $showObjectChanges)
|
|
1104
|
+
bcs @include(if: $showRawEffects)
|
|
1392
1105
|
events @include(if: $showEvents) {
|
|
1393
1106
|
pageInfo {
|
|
1394
1107
|
hasNextPage
|
|
@@ -1422,70 +1135,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1422
1135
|
amount
|
|
1423
1136
|
}
|
|
1424
1137
|
}
|
|
1425
|
-
dependencies @include(if: $showEffects) {
|
|
1426
|
-
pageInfo {
|
|
1427
|
-
hasNextPage
|
|
1428
|
-
endCursor
|
|
1429
|
-
}
|
|
1430
|
-
nodes {
|
|
1431
|
-
digest
|
|
1432
|
-
}
|
|
1433
|
-
}
|
|
1434
|
-
status @include(if: $showEffects)
|
|
1435
|
-
gasEffects @include(if: $showEffects) {
|
|
1436
|
-
gasObject {
|
|
1437
|
-
owner {
|
|
1438
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
1439
|
-
}
|
|
1440
|
-
digest
|
|
1441
|
-
version
|
|
1442
|
-
address
|
|
1443
|
-
}
|
|
1444
|
-
gasSummary {
|
|
1445
|
-
storageCost
|
|
1446
|
-
storageRebate
|
|
1447
|
-
nonRefundableStorageFee
|
|
1448
|
-
computationCost
|
|
1449
|
-
}
|
|
1450
|
-
}
|
|
1451
|
-
executedEpoch: epoch @include(if: $showEffects) {
|
|
1452
|
-
epochId
|
|
1453
|
-
}
|
|
1454
|
-
objectChanges @include(if: $showEffects) {
|
|
1455
|
-
pageInfo {
|
|
1456
|
-
hasNextPage
|
|
1457
|
-
endCursor
|
|
1458
|
-
}
|
|
1459
|
-
nodes {
|
|
1460
|
-
idCreated
|
|
1461
|
-
idDeleted
|
|
1462
|
-
inputState {
|
|
1463
|
-
version
|
|
1464
|
-
digest
|
|
1465
|
-
address
|
|
1466
|
-
}
|
|
1467
|
-
outputState {
|
|
1468
|
-
version
|
|
1469
|
-
digest
|
|
1470
|
-
address
|
|
1471
|
-
owner {
|
|
1472
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
1473
|
-
}
|
|
1474
|
-
}
|
|
1475
|
-
}
|
|
1476
|
-
}
|
|
1477
1138
|
objectChanges @include(if: $showObjectChanges) {
|
|
1478
1139
|
pageInfo {
|
|
1479
1140
|
hasNextPage
|
|
1480
1141
|
endCursor
|
|
1481
1142
|
}
|
|
1482
1143
|
nodes {
|
|
1483
|
-
|
|
1484
|
-
idDeleted
|
|
1144
|
+
address
|
|
1485
1145
|
inputState {
|
|
1486
1146
|
version
|
|
1487
|
-
digest
|
|
1488
|
-
address
|
|
1489
1147
|
asMoveObject {
|
|
1490
1148
|
contents {
|
|
1491
1149
|
type {
|
|
@@ -1493,14 +1151,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1493
1151
|
}
|
|
1494
1152
|
}
|
|
1495
1153
|
}
|
|
1496
|
-
owner {
|
|
1497
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
1498
|
-
}
|
|
1499
1154
|
}
|
|
1500
1155
|
outputState {
|
|
1501
|
-
version
|
|
1502
|
-
digest
|
|
1503
|
-
address
|
|
1504
1156
|
asMoveObject {
|
|
1505
1157
|
contents {
|
|
1506
1158
|
type {
|
|
@@ -1508,8 +1160,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
1508
1160
|
}
|
|
1509
1161
|
}
|
|
1510
1162
|
}
|
|
1511
|
-
|
|
1512
|
-
|
|
1163
|
+
asMovePackage {
|
|
1164
|
+
modules(first: 10) {
|
|
1165
|
+
nodes {
|
|
1166
|
+
name
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1513
1169
|
}
|
|
1514
1170
|
}
|
|
1515
1171
|
}
|
|
@@ -1593,7 +1249,7 @@ const GetCoinsDocument = new TypedDocumentString(`
|
|
|
1593
1249
|
}
|
|
1594
1250
|
`);
|
|
1595
1251
|
const GetCommitteeInfoDocument = new TypedDocumentString(`
|
|
1596
|
-
query getCommitteeInfo($epochId:
|
|
1252
|
+
query getCommitteeInfo($epochId: UInt53, $after: String) {
|
|
1597
1253
|
epoch(id: $epochId) {
|
|
1598
1254
|
epochId
|
|
1599
1255
|
validatorSet {
|
|
@@ -1604,7 +1260,7 @@ const GetCommitteeInfoDocument = new TypedDocumentString(`
|
|
|
1604
1260
|
}
|
|
1605
1261
|
nodes {
|
|
1606
1262
|
credentials {
|
|
1607
|
-
|
|
1263
|
+
authorityPubKey
|
|
1608
1264
|
}
|
|
1609
1265
|
votingPower
|
|
1610
1266
|
}
|
|
@@ -1628,6 +1284,7 @@ const GetCurrentEpochDocument = new TypedDocumentString(`
|
|
|
1628
1284
|
}
|
|
1629
1285
|
}
|
|
1630
1286
|
}
|
|
1287
|
+
totalTransactions
|
|
1631
1288
|
firstCheckpoint: checkpoints(first: 1) {
|
|
1632
1289
|
nodes {
|
|
1633
1290
|
sequenceNumber
|
|
@@ -1686,13 +1343,12 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
|
|
|
1686
1343
|
networkPubKey
|
|
1687
1344
|
p2PAddress
|
|
1688
1345
|
primaryAddress
|
|
1689
|
-
|
|
1690
|
-
workerAddress
|
|
1346
|
+
authorityPubKey
|
|
1691
1347
|
proofOfPossession
|
|
1692
1348
|
protocolPubKey
|
|
1693
1349
|
}`);
|
|
1694
1350
|
const PaginateEpochValidatorsDocument = new TypedDocumentString(`
|
|
1695
|
-
query paginateEpochValidators($id:
|
|
1351
|
+
query paginateEpochValidators($id: UInt53!, $after: String) {
|
|
1696
1352
|
epoch(id: $id) {
|
|
1697
1353
|
validatorSet {
|
|
1698
1354
|
activeValidators(after: $after) {
|
|
@@ -1755,8 +1411,7 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
|
|
|
1755
1411
|
networkPubKey
|
|
1756
1412
|
p2PAddress
|
|
1757
1413
|
primaryAddress
|
|
1758
|
-
|
|
1759
|
-
workerAddress
|
|
1414
|
+
authorityPubKey
|
|
1760
1415
|
proofOfPossession
|
|
1761
1416
|
protocolPubKey
|
|
1762
1417
|
}`);
|
|
@@ -1769,7 +1424,7 @@ const GetTypeLayoutDocument = new TypedDocumentString(`
|
|
|
1769
1424
|
`);
|
|
1770
1425
|
const GetDynamicFieldObjectDocument = new TypedDocumentString(`
|
|
1771
1426
|
query getDynamicFieldObject($parentId: IotaAddress!, $name: DynamicFieldName!) {
|
|
1772
|
-
|
|
1427
|
+
owner(address: $parentId) {
|
|
1773
1428
|
dynamicObjectField(name: $name) {
|
|
1774
1429
|
value {
|
|
1775
1430
|
__typename
|
|
@@ -1814,7 +1469,7 @@ const GetDynamicFieldObjectDocument = new TypedDocumentString(`
|
|
|
1814
1469
|
`);
|
|
1815
1470
|
const GetDynamicFieldsDocument = new TypedDocumentString(`
|
|
1816
1471
|
query getDynamicFields($parentId: IotaAddress!, $first: Int, $cursor: String) {
|
|
1817
|
-
|
|
1472
|
+
owner(address: $parentId) {
|
|
1818
1473
|
dynamicFields(first: $first, after: $cursor) {
|
|
1819
1474
|
pageInfo {
|
|
1820
1475
|
hasNextPage
|
|
@@ -1883,6 +1538,7 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
|
|
|
1883
1538
|
}
|
|
1884
1539
|
systemStateVersion
|
|
1885
1540
|
iotaTotalSupply
|
|
1541
|
+
iotaTreasuryCapId
|
|
1886
1542
|
systemParameters {
|
|
1887
1543
|
minValidatorCount
|
|
1888
1544
|
maxValidatorCount
|
|
@@ -1911,6 +1567,10 @@ const GetLatestIotaSystemStateDocument = new TypedDocumentString(`
|
|
|
1911
1567
|
validatorCandidatesSize
|
|
1912
1568
|
pendingRemovals
|
|
1913
1569
|
totalStake
|
|
1570
|
+
stakingPoolMappingsId
|
|
1571
|
+
pendingActiveValidatorsId
|
|
1572
|
+
validatorCandidatesId
|
|
1573
|
+
inactivePoolsId
|
|
1914
1574
|
}
|
|
1915
1575
|
}
|
|
1916
1576
|
}
|
|
@@ -1962,8 +1622,7 @@ fragment RPC_CREDENTIAL_FIELDS on ValidatorCredentials {
|
|
|
1962
1622
|
networkPubKey
|
|
1963
1623
|
p2PAddress
|
|
1964
1624
|
primaryAddress
|
|
1965
|
-
|
|
1966
|
-
workerAddress
|
|
1625
|
+
authorityPubKey
|
|
1967
1626
|
proofOfPossession
|
|
1968
1627
|
protocolPubKey
|
|
1969
1628
|
}`);
|
|
@@ -2262,7 +1921,7 @@ const GetNormalizedMoveStructDocument = new TypedDocumentString(`
|
|
|
2262
1921
|
}
|
|
2263
1922
|
}`);
|
|
2264
1923
|
const GetProtocolConfigDocument = new TypedDocumentString(`
|
|
2265
|
-
query getProtocolConfig($protocolVersion:
|
|
1924
|
+
query getProtocolConfig($protocolVersion: UInt53) {
|
|
2266
1925
|
protocolConfig(protocolVersion: $protocolVersion) {
|
|
2267
1926
|
protocolVersion
|
|
2268
1927
|
configs {
|
|
@@ -2307,35 +1966,13 @@ const GetValidatorsApyDocument = new TypedDocumentString(`
|
|
|
2307
1966
|
pageInfo {
|
|
2308
1967
|
hasNextPage
|
|
2309
1968
|
endCursor
|
|
2310
|
-
}
|
|
2311
|
-
nodes {
|
|
2312
|
-
address {
|
|
2313
|
-
address
|
|
2314
|
-
}
|
|
2315
|
-
apy
|
|
2316
|
-
}
|
|
2317
|
-
}
|
|
2318
|
-
}
|
|
2319
|
-
}
|
|
2320
|
-
}
|
|
2321
|
-
`);
|
|
2322
|
-
const ResolveNameServiceAddressDocument = new TypedDocumentString(`
|
|
2323
|
-
query resolveNameServiceAddress($domain: String!) {
|
|
2324
|
-
resolveIotansAddress(domain: $domain) {
|
|
2325
|
-
address
|
|
2326
|
-
}
|
|
2327
|
-
}
|
|
2328
|
-
`);
|
|
2329
|
-
const ResolveNameServiceNamesDocument = new TypedDocumentString(`
|
|
2330
|
-
query resolveNameServiceNames($address: IotaAddress!, $limit: Int, $cursor: String) {
|
|
2331
|
-
address(address: $address) {
|
|
2332
|
-
iotansRegistrations(first: $limit, after: $cursor) {
|
|
2333
|
-
pageInfo {
|
|
2334
|
-
hasNextPage
|
|
2335
|
-
endCursor
|
|
2336
|
-
}
|
|
2337
|
-
nodes {
|
|
2338
|
-
domain
|
|
1969
|
+
}
|
|
1970
|
+
nodes {
|
|
1971
|
+
address {
|
|
1972
|
+
address
|
|
1973
|
+
}
|
|
1974
|
+
apy
|
|
1975
|
+
}
|
|
2339
1976
|
}
|
|
2340
1977
|
}
|
|
2341
1978
|
}
|
|
@@ -2488,7 +2125,7 @@ fragment RPC_OBJECT_OWNER_FIELDS on ObjectOwner {
|
|
|
2488
2125
|
}
|
|
2489
2126
|
}`);
|
|
2490
2127
|
const TryGetPastObjectDocument = new TypedDocumentString(`
|
|
2491
|
-
query tryGetPastObject($id: IotaAddress!, $version:
|
|
2128
|
+
query tryGetPastObject($id: IotaAddress!, $version: UInt53, $showBcs: Boolean = false, $showOwner: Boolean = false, $showPreviousTransaction: Boolean = false, $showContent: Boolean = false, $showDisplay: Boolean = false, $showType: Boolean = false, $showStorageRebate: Boolean = false) {
|
|
2492
2129
|
current: object(address: $id) {
|
|
2493
2130
|
address
|
|
2494
2131
|
version
|
|
@@ -2747,7 +2384,7 @@ const GetStakesByIdsDocument = new TypedDocumentString(`
|
|
|
2747
2384
|
estimatedReward
|
|
2748
2385
|
}`);
|
|
2749
2386
|
const QueryTransactionBlocksDocument = new TypedDocumentString(`
|
|
2750
|
-
query queryTransactionBlocks($first: Int, $last: Int, $before: String, $after: String, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false, $filter: TransactionBlockFilter) {
|
|
2387
|
+
query queryTransactionBlocks($first: Int, $last: Int, $before: String, $after: String, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false, $filter: TransactionBlockFilter) {
|
|
2751
2388
|
transactionBlocks(
|
|
2752
2389
|
first: $first
|
|
2753
2390
|
after: $after
|
|
@@ -2766,28 +2403,7 @@ const QueryTransactionBlocksDocument = new TypedDocumentString(`
|
|
|
2766
2403
|
}
|
|
2767
2404
|
}
|
|
2768
2405
|
}
|
|
2769
|
-
fragment
|
|
2770
|
-
__typename
|
|
2771
|
-
... on AddressOwner {
|
|
2772
|
-
owner {
|
|
2773
|
-
asObject {
|
|
2774
|
-
address
|
|
2775
|
-
}
|
|
2776
|
-
asAddress {
|
|
2777
|
-
address
|
|
2778
|
-
}
|
|
2779
|
-
}
|
|
2780
|
-
}
|
|
2781
|
-
... on Parent {
|
|
2782
|
-
parent {
|
|
2783
|
-
address
|
|
2784
|
-
}
|
|
2785
|
-
}
|
|
2786
|
-
... on Shared {
|
|
2787
|
-
initialSharedVersion
|
|
2788
|
-
}
|
|
2789
|
-
}
|
|
2790
|
-
fragment RPC_EVENTS_FIELDS on Event {
|
|
2406
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
2791
2407
|
sendingModule {
|
|
2792
2408
|
package {
|
|
2793
2409
|
address
|
|
@@ -2813,6 +2429,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
2813
2429
|
}
|
|
2814
2430
|
signatures
|
|
2815
2431
|
effects {
|
|
2432
|
+
bcs @include(if: $showEffects)
|
|
2433
|
+
bcs @include(if: $showObjectChanges)
|
|
2434
|
+
bcs @include(if: $showRawEffects)
|
|
2816
2435
|
events @include(if: $showEvents) {
|
|
2817
2436
|
pageInfo {
|
|
2818
2437
|
hasNextPage
|
|
@@ -2846,70 +2465,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
2846
2465
|
amount
|
|
2847
2466
|
}
|
|
2848
2467
|
}
|
|
2849
|
-
dependencies @include(if: $showEffects) {
|
|
2850
|
-
pageInfo {
|
|
2851
|
-
hasNextPage
|
|
2852
|
-
endCursor
|
|
2853
|
-
}
|
|
2854
|
-
nodes {
|
|
2855
|
-
digest
|
|
2856
|
-
}
|
|
2857
|
-
}
|
|
2858
|
-
status @include(if: $showEffects)
|
|
2859
|
-
gasEffects @include(if: $showEffects) {
|
|
2860
|
-
gasObject {
|
|
2861
|
-
owner {
|
|
2862
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
2863
|
-
}
|
|
2864
|
-
digest
|
|
2865
|
-
version
|
|
2866
|
-
address
|
|
2867
|
-
}
|
|
2868
|
-
gasSummary {
|
|
2869
|
-
storageCost
|
|
2870
|
-
storageRebate
|
|
2871
|
-
nonRefundableStorageFee
|
|
2872
|
-
computationCost
|
|
2873
|
-
}
|
|
2874
|
-
}
|
|
2875
|
-
executedEpoch: epoch @include(if: $showEffects) {
|
|
2876
|
-
epochId
|
|
2877
|
-
}
|
|
2878
|
-
objectChanges @include(if: $showEffects) {
|
|
2879
|
-
pageInfo {
|
|
2880
|
-
hasNextPage
|
|
2881
|
-
endCursor
|
|
2882
|
-
}
|
|
2883
|
-
nodes {
|
|
2884
|
-
idCreated
|
|
2885
|
-
idDeleted
|
|
2886
|
-
inputState {
|
|
2887
|
-
version
|
|
2888
|
-
digest
|
|
2889
|
-
address
|
|
2890
|
-
}
|
|
2891
|
-
outputState {
|
|
2892
|
-
version
|
|
2893
|
-
digest
|
|
2894
|
-
address
|
|
2895
|
-
owner {
|
|
2896
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
2897
|
-
}
|
|
2898
|
-
}
|
|
2899
|
-
}
|
|
2900
|
-
}
|
|
2901
2468
|
objectChanges @include(if: $showObjectChanges) {
|
|
2902
2469
|
pageInfo {
|
|
2903
2470
|
hasNextPage
|
|
2904
2471
|
endCursor
|
|
2905
2472
|
}
|
|
2906
2473
|
nodes {
|
|
2907
|
-
|
|
2908
|
-
idDeleted
|
|
2474
|
+
address
|
|
2909
2475
|
inputState {
|
|
2910
2476
|
version
|
|
2911
|
-
digest
|
|
2912
|
-
address
|
|
2913
2477
|
asMoveObject {
|
|
2914
2478
|
contents {
|
|
2915
2479
|
type {
|
|
@@ -2917,14 +2481,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
2917
2481
|
}
|
|
2918
2482
|
}
|
|
2919
2483
|
}
|
|
2920
|
-
owner {
|
|
2921
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
2922
|
-
}
|
|
2923
2484
|
}
|
|
2924
2485
|
outputState {
|
|
2925
|
-
version
|
|
2926
|
-
digest
|
|
2927
|
-
address
|
|
2928
2486
|
asMoveObject {
|
|
2929
2487
|
contents {
|
|
2930
2488
|
type {
|
|
@@ -2932,8 +2490,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
2932
2490
|
}
|
|
2933
2491
|
}
|
|
2934
2492
|
}
|
|
2935
|
-
|
|
2936
|
-
|
|
2493
|
+
asMovePackage {
|
|
2494
|
+
modules(first: 10) {
|
|
2495
|
+
nodes {
|
|
2496
|
+
name
|
|
2497
|
+
}
|
|
2498
|
+
}
|
|
2937
2499
|
}
|
|
2938
2500
|
}
|
|
2939
2501
|
}
|
|
@@ -2941,33 +2503,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
2941
2503
|
}
|
|
2942
2504
|
}`);
|
|
2943
2505
|
const GetTransactionBlockDocument = new TypedDocumentString(`
|
|
2944
|
-
query getTransactionBlock($digest: String!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
|
|
2506
|
+
query getTransactionBlock($digest: String!, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
|
|
2945
2507
|
transactionBlock(digest: $digest) {
|
|
2946
2508
|
...RPC_TRANSACTION_FIELDS
|
|
2947
2509
|
}
|
|
2948
2510
|
}
|
|
2949
|
-
fragment
|
|
2950
|
-
__typename
|
|
2951
|
-
... on AddressOwner {
|
|
2952
|
-
owner {
|
|
2953
|
-
asObject {
|
|
2954
|
-
address
|
|
2955
|
-
}
|
|
2956
|
-
asAddress {
|
|
2957
|
-
address
|
|
2958
|
-
}
|
|
2959
|
-
}
|
|
2960
|
-
}
|
|
2961
|
-
... on Parent {
|
|
2962
|
-
parent {
|
|
2963
|
-
address
|
|
2964
|
-
}
|
|
2965
|
-
}
|
|
2966
|
-
... on Shared {
|
|
2967
|
-
initialSharedVersion
|
|
2968
|
-
}
|
|
2969
|
-
}
|
|
2970
|
-
fragment RPC_EVENTS_FIELDS on Event {
|
|
2511
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
2971
2512
|
sendingModule {
|
|
2972
2513
|
package {
|
|
2973
2514
|
address
|
|
@@ -2993,6 +2534,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
2993
2534
|
}
|
|
2994
2535
|
signatures
|
|
2995
2536
|
effects {
|
|
2537
|
+
bcs @include(if: $showEffects)
|
|
2538
|
+
bcs @include(if: $showObjectChanges)
|
|
2539
|
+
bcs @include(if: $showRawEffects)
|
|
2996
2540
|
events @include(if: $showEvents) {
|
|
2997
2541
|
pageInfo {
|
|
2998
2542
|
hasNextPage
|
|
@@ -3026,70 +2570,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3026
2570
|
amount
|
|
3027
2571
|
}
|
|
3028
2572
|
}
|
|
3029
|
-
dependencies @include(if: $showEffects) {
|
|
3030
|
-
pageInfo {
|
|
3031
|
-
hasNextPage
|
|
3032
|
-
endCursor
|
|
3033
|
-
}
|
|
3034
|
-
nodes {
|
|
3035
|
-
digest
|
|
3036
|
-
}
|
|
3037
|
-
}
|
|
3038
|
-
status @include(if: $showEffects)
|
|
3039
|
-
gasEffects @include(if: $showEffects) {
|
|
3040
|
-
gasObject {
|
|
3041
|
-
owner {
|
|
3042
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
3043
|
-
}
|
|
3044
|
-
digest
|
|
3045
|
-
version
|
|
3046
|
-
address
|
|
3047
|
-
}
|
|
3048
|
-
gasSummary {
|
|
3049
|
-
storageCost
|
|
3050
|
-
storageRebate
|
|
3051
|
-
nonRefundableStorageFee
|
|
3052
|
-
computationCost
|
|
3053
|
-
}
|
|
3054
|
-
}
|
|
3055
|
-
executedEpoch: epoch @include(if: $showEffects) {
|
|
3056
|
-
epochId
|
|
3057
|
-
}
|
|
3058
|
-
objectChanges @include(if: $showEffects) {
|
|
3059
|
-
pageInfo {
|
|
3060
|
-
hasNextPage
|
|
3061
|
-
endCursor
|
|
3062
|
-
}
|
|
3063
|
-
nodes {
|
|
3064
|
-
idCreated
|
|
3065
|
-
idDeleted
|
|
3066
|
-
inputState {
|
|
3067
|
-
version
|
|
3068
|
-
digest
|
|
3069
|
-
address
|
|
3070
|
-
}
|
|
3071
|
-
outputState {
|
|
3072
|
-
version
|
|
3073
|
-
digest
|
|
3074
|
-
address
|
|
3075
|
-
owner {
|
|
3076
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
3077
|
-
}
|
|
3078
|
-
}
|
|
3079
|
-
}
|
|
3080
|
-
}
|
|
3081
2573
|
objectChanges @include(if: $showObjectChanges) {
|
|
3082
2574
|
pageInfo {
|
|
3083
2575
|
hasNextPage
|
|
3084
2576
|
endCursor
|
|
3085
2577
|
}
|
|
3086
2578
|
nodes {
|
|
3087
|
-
|
|
3088
|
-
idDeleted
|
|
2579
|
+
address
|
|
3089
2580
|
inputState {
|
|
3090
2581
|
version
|
|
3091
|
-
digest
|
|
3092
|
-
address
|
|
3093
2582
|
asMoveObject {
|
|
3094
2583
|
contents {
|
|
3095
2584
|
type {
|
|
@@ -3097,14 +2586,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3097
2586
|
}
|
|
3098
2587
|
}
|
|
3099
2588
|
}
|
|
3100
|
-
owner {
|
|
3101
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
3102
|
-
}
|
|
3103
2589
|
}
|
|
3104
2590
|
outputState {
|
|
3105
|
-
version
|
|
3106
|
-
digest
|
|
3107
|
-
address
|
|
3108
2591
|
asMoveObject {
|
|
3109
2592
|
contents {
|
|
3110
2593
|
type {
|
|
@@ -3112,8 +2595,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3112
2595
|
}
|
|
3113
2596
|
}
|
|
3114
2597
|
}
|
|
3115
|
-
|
|
3116
|
-
|
|
2598
|
+
asMovePackage {
|
|
2599
|
+
modules(first: 10) {
|
|
2600
|
+
nodes {
|
|
2601
|
+
name
|
|
2602
|
+
}
|
|
2603
|
+
}
|
|
3117
2604
|
}
|
|
3118
2605
|
}
|
|
3119
2606
|
}
|
|
@@ -3121,7 +2608,7 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3121
2608
|
}
|
|
3122
2609
|
}`);
|
|
3123
2610
|
const MultiGetTransactionBlocksDocument = new TypedDocumentString(`
|
|
3124
|
-
query multiGetTransactionBlocks($digests: [String!]!, $limit: Int, $cursor: String, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
|
|
2611
|
+
query multiGetTransactionBlocks($digests: [String!]!, $limit: Int, $cursor: String, $showBalanceChanges: Boolean = false, $showEffects: Boolean = false, $showRawEffects: Boolean = false, $showEvents: Boolean = false, $showInput: Boolean = false, $showObjectChanges: Boolean = false, $showRawInput: Boolean = false) {
|
|
3125
2612
|
transactionBlocks(
|
|
3126
2613
|
first: $limit
|
|
3127
2614
|
after: $cursor
|
|
@@ -3138,28 +2625,7 @@ const MultiGetTransactionBlocksDocument = new TypedDocumentString(`
|
|
|
3138
2625
|
}
|
|
3139
2626
|
}
|
|
3140
2627
|
}
|
|
3141
|
-
fragment
|
|
3142
|
-
__typename
|
|
3143
|
-
... on AddressOwner {
|
|
3144
|
-
owner {
|
|
3145
|
-
asObject {
|
|
3146
|
-
address
|
|
3147
|
-
}
|
|
3148
|
-
asAddress {
|
|
3149
|
-
address
|
|
3150
|
-
}
|
|
3151
|
-
}
|
|
3152
|
-
}
|
|
3153
|
-
... on Parent {
|
|
3154
|
-
parent {
|
|
3155
|
-
address
|
|
3156
|
-
}
|
|
3157
|
-
}
|
|
3158
|
-
... on Shared {
|
|
3159
|
-
initialSharedVersion
|
|
3160
|
-
}
|
|
3161
|
-
}
|
|
3162
|
-
fragment RPC_EVENTS_FIELDS on Event {
|
|
2628
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
3163
2629
|
sendingModule {
|
|
3164
2630
|
package {
|
|
3165
2631
|
address
|
|
@@ -3185,6 +2651,9 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3185
2651
|
}
|
|
3186
2652
|
signatures
|
|
3187
2653
|
effects {
|
|
2654
|
+
bcs @include(if: $showEffects)
|
|
2655
|
+
bcs @include(if: $showObjectChanges)
|
|
2656
|
+
bcs @include(if: $showRawEffects)
|
|
3188
2657
|
events @include(if: $showEvents) {
|
|
3189
2658
|
pageInfo {
|
|
3190
2659
|
hasNextPage
|
|
@@ -3218,70 +2687,15 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3218
2687
|
amount
|
|
3219
2688
|
}
|
|
3220
2689
|
}
|
|
3221
|
-
dependencies @include(if: $showEffects) {
|
|
3222
|
-
pageInfo {
|
|
3223
|
-
hasNextPage
|
|
3224
|
-
endCursor
|
|
3225
|
-
}
|
|
3226
|
-
nodes {
|
|
3227
|
-
digest
|
|
3228
|
-
}
|
|
3229
|
-
}
|
|
3230
|
-
status @include(if: $showEffects)
|
|
3231
|
-
gasEffects @include(if: $showEffects) {
|
|
3232
|
-
gasObject {
|
|
3233
|
-
owner {
|
|
3234
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
3235
|
-
}
|
|
3236
|
-
digest
|
|
3237
|
-
version
|
|
3238
|
-
address
|
|
3239
|
-
}
|
|
3240
|
-
gasSummary {
|
|
3241
|
-
storageCost
|
|
3242
|
-
storageRebate
|
|
3243
|
-
nonRefundableStorageFee
|
|
3244
|
-
computationCost
|
|
3245
|
-
}
|
|
3246
|
-
}
|
|
3247
|
-
executedEpoch: epoch @include(if: $showEffects) {
|
|
3248
|
-
epochId
|
|
3249
|
-
}
|
|
3250
|
-
objectChanges @include(if: $showEffects) {
|
|
3251
|
-
pageInfo {
|
|
3252
|
-
hasNextPage
|
|
3253
|
-
endCursor
|
|
3254
|
-
}
|
|
3255
|
-
nodes {
|
|
3256
|
-
idCreated
|
|
3257
|
-
idDeleted
|
|
3258
|
-
inputState {
|
|
3259
|
-
version
|
|
3260
|
-
digest
|
|
3261
|
-
address
|
|
3262
|
-
}
|
|
3263
|
-
outputState {
|
|
3264
|
-
version
|
|
3265
|
-
digest
|
|
3266
|
-
address
|
|
3267
|
-
owner {
|
|
3268
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
3269
|
-
}
|
|
3270
|
-
}
|
|
3271
|
-
}
|
|
3272
|
-
}
|
|
3273
2690
|
objectChanges @include(if: $showObjectChanges) {
|
|
3274
2691
|
pageInfo {
|
|
3275
2692
|
hasNextPage
|
|
3276
2693
|
endCursor
|
|
3277
2694
|
}
|
|
3278
2695
|
nodes {
|
|
3279
|
-
|
|
3280
|
-
idDeleted
|
|
2696
|
+
address
|
|
3281
2697
|
inputState {
|
|
3282
2698
|
version
|
|
3283
|
-
digest
|
|
3284
|
-
address
|
|
3285
2699
|
asMoveObject {
|
|
3286
2700
|
contents {
|
|
3287
2701
|
type {
|
|
@@ -3289,14 +2703,8 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3289
2703
|
}
|
|
3290
2704
|
}
|
|
3291
2705
|
}
|
|
3292
|
-
owner {
|
|
3293
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
3294
|
-
}
|
|
3295
2706
|
}
|
|
3296
2707
|
outputState {
|
|
3297
|
-
version
|
|
3298
|
-
digest
|
|
3299
|
-
address
|
|
3300
2708
|
asMoveObject {
|
|
3301
2709
|
contents {
|
|
3302
2710
|
type {
|
|
@@ -3304,8 +2712,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3304
2712
|
}
|
|
3305
2713
|
}
|
|
3306
2714
|
}
|
|
3307
|
-
|
|
3308
|
-
|
|
2715
|
+
asMovePackage {
|
|
2716
|
+
modules(first: 10) {
|
|
2717
|
+
nodes {
|
|
2718
|
+
name
|
|
2719
|
+
}
|
|
2720
|
+
}
|
|
3309
2721
|
}
|
|
3310
2722
|
}
|
|
3311
2723
|
}
|
|
@@ -3313,33 +2725,12 @@ fragment RPC_TRANSACTION_FIELDS on TransactionBlock {
|
|
|
3313
2725
|
}
|
|
3314
2726
|
}`);
|
|
3315
2727
|
const PaginateTransactionBlockListsDocument = new TypedDocumentString(`
|
|
3316
|
-
query paginateTransactionBlockLists($digest: String!, $hasMoreEvents: Boolean!, $hasMoreBalanceChanges: Boolean!, $hasMoreObjectChanges: Boolean!, $
|
|
2728
|
+
query paginateTransactionBlockLists($digest: String!, $hasMoreEvents: Boolean!, $hasMoreBalanceChanges: Boolean!, $hasMoreObjectChanges: Boolean!, $afterEvents: String, $afterBalanceChanges: String, $afterObjectChanges: String) {
|
|
3317
2729
|
transactionBlock(digest: $digest) {
|
|
3318
2730
|
...PAGINATE_TRANSACTION_LISTS
|
|
3319
2731
|
}
|
|
3320
2732
|
}
|
|
3321
|
-
fragment
|
|
3322
|
-
__typename
|
|
3323
|
-
... on AddressOwner {
|
|
3324
|
-
owner {
|
|
3325
|
-
asObject {
|
|
3326
|
-
address
|
|
3327
|
-
}
|
|
3328
|
-
asAddress {
|
|
3329
|
-
address
|
|
3330
|
-
}
|
|
3331
|
-
}
|
|
3332
|
-
}
|
|
3333
|
-
... on Parent {
|
|
3334
|
-
parent {
|
|
3335
|
-
address
|
|
3336
|
-
}
|
|
3337
|
-
}
|
|
3338
|
-
... on Shared {
|
|
3339
|
-
initialSharedVersion
|
|
3340
|
-
}
|
|
3341
|
-
}
|
|
3342
|
-
fragment RPC_EVENTS_FIELDS on Event {
|
|
2733
|
+
fragment RPC_EVENTS_FIELDS on Event {
|
|
3343
2734
|
sendingModule {
|
|
3344
2735
|
package {
|
|
3345
2736
|
address
|
|
@@ -3387,27 +2778,15 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
|
|
|
3387
2778
|
amount
|
|
3388
2779
|
}
|
|
3389
2780
|
}
|
|
3390
|
-
dependencies(after: $afterDependencies) @include(if: $hasMoreDependencies) {
|
|
3391
|
-
pageInfo {
|
|
3392
|
-
hasNextPage
|
|
3393
|
-
endCursor
|
|
3394
|
-
}
|
|
3395
|
-
nodes {
|
|
3396
|
-
digest
|
|
3397
|
-
}
|
|
3398
|
-
}
|
|
3399
2781
|
objectChanges(after: $afterObjectChanges) @include(if: $hasMoreObjectChanges) {
|
|
3400
2782
|
pageInfo {
|
|
3401
2783
|
hasNextPage
|
|
3402
2784
|
endCursor
|
|
3403
2785
|
}
|
|
3404
2786
|
nodes {
|
|
3405
|
-
|
|
3406
|
-
idDeleted
|
|
2787
|
+
address
|
|
3407
2788
|
inputState {
|
|
3408
2789
|
version
|
|
3409
|
-
digest
|
|
3410
|
-
address
|
|
3411
2790
|
asMoveObject {
|
|
3412
2791
|
contents {
|
|
3413
2792
|
type {
|
|
@@ -3415,14 +2794,8 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
|
|
|
3415
2794
|
}
|
|
3416
2795
|
}
|
|
3417
2796
|
}
|
|
3418
|
-
owner {
|
|
3419
|
-
...RPC_OBJECT_OWNER_FIELDS
|
|
3420
|
-
}
|
|
3421
2797
|
}
|
|
3422
2798
|
outputState {
|
|
3423
|
-
version
|
|
3424
|
-
digest
|
|
3425
|
-
address
|
|
3426
2799
|
asMoveObject {
|
|
3427
2800
|
contents {
|
|
3428
2801
|
type {
|
|
@@ -3430,8 +2803,12 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
|
|
|
3430
2803
|
}
|
|
3431
2804
|
}
|
|
3432
2805
|
}
|
|
3433
|
-
|
|
3434
|
-
|
|
2806
|
+
asMovePackage {
|
|
2807
|
+
modules(first: 10) {
|
|
2808
|
+
nodes {
|
|
2809
|
+
name
|
|
2810
|
+
}
|
|
2811
|
+
}
|
|
3435
2812
|
}
|
|
3436
2813
|
}
|
|
3437
2814
|
}
|
|
@@ -3441,7 +2818,6 @@ fragment PAGINATE_TRANSACTION_LISTS on TransactionBlock {
|
|
|
3441
2818
|
export {
|
|
3442
2819
|
AddressTransactionBlockRelationship,
|
|
3443
2820
|
DevInspectTransactionBlockDocument,
|
|
3444
|
-
DomainFormat,
|
|
3445
2821
|
DryRunTransactionBlockDocument,
|
|
3446
2822
|
ExecuteTransactionBlockDocument,
|
|
3447
2823
|
ExecutionStatus,
|
|
@@ -3487,8 +2863,6 @@ export {
|
|
|
3487
2863
|
Paginate_Transaction_ListsFragmentDoc,
|
|
3488
2864
|
QueryEventsDocument,
|
|
3489
2865
|
QueryTransactionBlocksDocument,
|
|
3490
|
-
ResolveNameServiceAddressDocument,
|
|
3491
|
-
ResolveNameServiceNamesDocument,
|
|
3492
2866
|
Rpc_Checkpoint_FieldsFragmentDoc,
|
|
3493
2867
|
Rpc_Credential_FieldsFragmentDoc,
|
|
3494
2868
|
Rpc_Events_FieldsFragmentDoc,
|