@ocap/proto 1.18.105 → 1.18.107

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.
@@ -0,0 +1,2017 @@
1
+ # Code generated by protoc-gen-gogql. DO NOT EDIT
2
+ # source: service.proto
3
+
4
+ directive @oneof(name: String) on INPUT_FIELD_DEFINITION
5
+
6
+ scalar Any
7
+
8
+ scalar Bytes
9
+
10
+ scalar Float32
11
+
12
+ scalar Int32
13
+
14
+ scalar Int64
15
+
16
+ scalar Uint32
17
+
18
+ scalar Uint64
19
+
20
+ # map with key: 'String' and value: 'String'
21
+ scalar ChainInfo_ForgeAppsVersionEntry
22
+
23
+ # map with key: 'String' and value: 'DelegateOpState'
24
+ scalar DelegateState_OpsEntry
25
+
26
+ # map with key: 'Uint64' and value: 'UpgradeTasks'
27
+ scalar ForgeState_TasksEntry
28
+
29
+ # map with key: 'String' and value: 'DelegateOpState'
30
+ scalar IndexedDelegationState_OpsEntry
31
+
32
+ # map with key: 'String' and value: 'String'
33
+ scalar NodeInfo_ForgeAppsVersionEntry
34
+
35
+ input AccountFilterInput {
36
+ accounts: [String!]
37
+ }
38
+
39
+ input AddressFilterInput {
40
+ sender: String
41
+ receiver: String
42
+ direction: Direction
43
+ }
44
+
45
+ input AssetFilterInput {
46
+ assets: [String!]
47
+ }
48
+
49
+ input FactoryFilterInput {
50
+ factories: [String!]
51
+ }
52
+
53
+ input PageInput {
54
+ cursor: String
55
+ size: Uint32
56
+ order: [PageOrderInput!]
57
+ }
58
+
59
+ input PageOrderInput {
60
+ field: String
61
+ type: String
62
+ }
63
+
64
+ input RangeFilterInput {
65
+ from: String
66
+ to: String
67
+ }
68
+
69
+ input RequestEstimateGasInput {
70
+ typeUrl: String
71
+ tx: String
72
+ }
73
+
74
+ input RequestGetAccountStateInput {
75
+ address: String
76
+ keys: [String!]
77
+ height: Uint64
78
+ traceMigration: Boolean
79
+ }
80
+
81
+ input RequestGetAccountTokensInput {
82
+ address: String
83
+ token: String
84
+ }
85
+
86
+ input RequestGetBlockInput {
87
+ height: Uint64
88
+ }
89
+
90
+ input RequestGetBlocksInput {
91
+ paging: PageInput
92
+ heightFilter: RangeFilterInput
93
+ emptyExcluded: Boolean
94
+ }
95
+
96
+ input RequestGetConfigInput {
97
+ parsed: Boolean
98
+ }
99
+
100
+ input RequestGetEvidenceStateInput {
101
+ hash: String
102
+ }
103
+
104
+ input RequestGetRollupBlockInput {
105
+ hash: String
106
+ height: Uint64
107
+ rollupAddress: String
108
+ }
109
+
110
+ input RequestGetStateInput {
111
+ address: String
112
+ keys: [String!]
113
+ height: Uint64
114
+ }
115
+
116
+ input RequestGetTxInput {
117
+ hash: String
118
+ }
119
+
120
+ input RequestListAssetTransactionsInput {
121
+ paging: PageInput
122
+ address: String
123
+ }
124
+
125
+ input RequestListAssetsInput {
126
+ paging: PageInput
127
+ ownerAddress: String
128
+ factoryAddress: String
129
+ timeFilter: TimeFilterInput
130
+ }
131
+
132
+ input RequestListBlocksInput {
133
+ paging: PageInput
134
+ proposer: String
135
+ timeFilter: TimeFilterInput
136
+ heightFilter: RangeFilterInput
137
+ numTxsFilter: RangeFilterInput
138
+ numInvalidTxsFilter: RangeFilterInput
139
+ }
140
+
141
+ input RequestListDelegationsInput {
142
+ paging: PageInput
143
+ from: String
144
+ to: String
145
+ timeFilter: TimeFilterInput
146
+ }
147
+
148
+ input RequestListFactoriesInput {
149
+ paging: PageInput
150
+ ownerAddress: String
151
+ addressList: [String!]
152
+ timeFilter: TimeFilterInput
153
+ }
154
+
155
+ input RequestListRollupBlocksInput {
156
+ paging: PageInput
157
+ rollupAddress: String
158
+ tokenAddress: String
159
+ proposer: String
160
+ validatorFilter: ValidatorFilterInput
161
+ txFilter: TxFilterInput
162
+ timeFilter: TimeFilterInput
163
+ }
164
+
165
+ input RequestListRollupValidatorsInput {
166
+ paging: PageInput
167
+ rollupAddress: String
168
+ }
169
+
170
+ input RequestListRollupsInput {
171
+ paging: PageInput
172
+ tokenAddress: String
173
+ foreignTokenAddress: String
174
+ timeFilter: TimeFilterInput
175
+ }
176
+
177
+ input RequestListStakesInput {
178
+ paging: PageInput
179
+ addressFilter: AddressFilterInput
180
+ timeFilter: TimeFilterInput
181
+ assetFilter: AssetFilterInput
182
+ }
183
+
184
+ input RequestListTokensInput {
185
+ paging: PageInput
186
+ issuerAddress: String
187
+ timeFilter: TimeFilterInput
188
+ }
189
+
190
+ input RequestListTopAccountsInput {
191
+ paging: PageInput
192
+ tokenAddress: String
193
+ timeFilter: TimeFilterInput
194
+ }
195
+
196
+ input RequestListTransactionsInput {
197
+ paging: PageInput
198
+ timeFilter: TimeFilterInput
199
+ addressFilter: AddressFilterInput
200
+ typeFilter: TypeFilterInput
201
+ validityFilter: ValidityFilterInput
202
+ factoryFilter: FactoryFilterInput
203
+ tokenFilter: TokenFilterInput
204
+ assetFilter: AssetFilterInput
205
+ accountFilter: AccountFilterInput
206
+ txFilter: TxFilterInput
207
+ rollupFilter: RollupFilterInput
208
+ stakeFilter: StakeFilterInput
209
+ }
210
+
211
+ input RequestSearchInput {
212
+ paging: PageInput
213
+ keyword: String
214
+ }
215
+
216
+ input RequestSendTxInput {
217
+ tx: String
218
+ wallet: WalletInfoInput
219
+ token: String
220
+ commit: Boolean
221
+ }
222
+
223
+ input RollupFilterInput {
224
+ rollups: [String!]
225
+ }
226
+
227
+ input StakeFilterInput {
228
+ stakes: [String!]
229
+ }
230
+
231
+ input TimeFilterInput {
232
+ startDateTime: String
233
+ endDateTime: String
234
+ field: String
235
+ }
236
+
237
+ input TokenFilterInput {
238
+ tokens: [String!]
239
+ }
240
+
241
+ input TxFilterInput {
242
+ txs: [String!]
243
+ }
244
+
245
+ input TypeFilterInput {
246
+ types: [String!]
247
+ }
248
+
249
+ input ValidatorFilterInput {
250
+ validators: [String!]
251
+ }
252
+
253
+ input ValidityFilterInput {
254
+ validity: Validity
255
+ }
256
+
257
+ input WalletInfoInput {
258
+ type: WalletTypeInput
259
+ sk: Bytes
260
+ pk: Bytes
261
+ address: String
262
+ }
263
+
264
+ input WalletTypeInput {
265
+ pk: KeyType
266
+ hash: HashType
267
+ address: EncodingType
268
+ role: RoleType
269
+ }
270
+
271
+ type Timestamp {
272
+ seconds: Int64
273
+ nanos: Int32
274
+ }
275
+
276
+ type AccountConfig {
277
+ address: String
278
+ pk: Bytes
279
+ balance: BigUint
280
+ }
281
+
282
+ type AccountMigrateTx {
283
+ pk: Bytes
284
+ type: WalletType
285
+ address: String
286
+ data: Any
287
+ }
288
+
289
+ type AccountState {
290
+ balance: BigUint
291
+ nonce: String
292
+ numTxs: String
293
+ address: String
294
+ pk: Bytes
295
+ type: WalletType
296
+ moniker: String
297
+ context: StateContext
298
+ issuer: String
299
+ gasBalance: BigUint
300
+ migratedTo: [String!]
301
+ migratedFrom: [String!]
302
+ numAssets: String
303
+ tokens: [IndexedTokenInput!]
304
+ data: Any
305
+ }
306
+
307
+ type AccountToken {
308
+ address: String
309
+ symbol: String
310
+ balance: String
311
+ decimal: Uint32
312
+ }
313
+
314
+ type AcquireAssetV2Tx {
315
+ factory: String
316
+ address: String
317
+ assets: [String!]
318
+ variables: [VariableInput!]
319
+ issuer: NFTIssuer
320
+ data: Any
321
+ }
322
+
323
+ type AcquireAssetV3Tx {
324
+ factory: String
325
+ address: String
326
+ inputs: [TransactionInput!]
327
+ owner: String
328
+ variables: [VariableInput!]
329
+ issuer: NFTIssuer
330
+ data: Any
331
+ }
332
+
333
+ type AssetFactoryHook {
334
+ name: String
335
+ type: String
336
+ hook: String
337
+ }
338
+
339
+ type AssetFactoryInput {
340
+ value: String
341
+ tokens: [TokenInput!]
342
+ assets: [String!]
343
+ variables: [VariableInput!]
344
+ }
345
+
346
+ type AssetFactoryState {
347
+ address: String
348
+ owner: String
349
+ name: String
350
+ description: String
351
+ settlement: String
352
+ limit: Uint32
353
+ trustedIssuers: [String!]
354
+ input: IndexedFactoryInput
355
+ output: CreateAssetTx
356
+ hooks: [AssetFactoryHook!]
357
+ data: Any
358
+ context: StateContext
359
+ balance: BigUint
360
+ tokens: [IndexedTokenInput!]
361
+ numMinted: Uint32
362
+ display: NFTDisplay
363
+ lastSettlement: Timestamp
364
+ }
365
+
366
+ type AssetState {
367
+ address: String
368
+ owner: String
369
+ moniker: String
370
+ readonly: Boolean
371
+ transferrable: Boolean
372
+ ttl: Uint32
373
+ consumedTime: Timestamp
374
+ issuer: String
375
+ parent: String
376
+ endpoint: NFTEndpoint
377
+ display: NFTDisplay
378
+ tags: [String!]
379
+ context: StateContext
380
+ data: Any
381
+ }
382
+
383
+ type BigUint {
384
+ value: Bytes
385
+ }
386
+
387
+ type BlockInfo {
388
+ height: String
389
+ numTxs: Uint32
390
+ time: Timestamp
391
+ appHash: Bytes
392
+ proposer: Bytes
393
+ txs: [TransactionInfo!]
394
+ totalTxs: String
395
+ invalidTxs: [TransactionInfo!]
396
+ txsHashes: [String!]
397
+ invalidTxsHashes: [String!]
398
+ consensusHash: Bytes
399
+ dataHash: Bytes
400
+ evidenceHash: Bytes
401
+ lastCommitHash: Bytes
402
+ lastResultsHash: Bytes
403
+ nextValidatorsHash: Bytes
404
+ validatorsHash: Bytes
405
+ version: Version
406
+ lastBlockId: BlockID
407
+ }
408
+
409
+ type BlockInfoSimple {
410
+ height: String
411
+ numTxs: Uint32
412
+ time: Timestamp
413
+ appHash: Bytes
414
+ proposer: Bytes
415
+ totalTxs: String
416
+ txsHashes: [String!]
417
+ invalidTxsHashes: [String!]
418
+ consensusHash: Bytes
419
+ dataHash: Bytes
420
+ evidenceHash: Bytes
421
+ lastCommitHash: Bytes
422
+ lastResultsHash: Bytes
423
+ nextValidatorsHash: Bytes
424
+ validatorsHash: Bytes
425
+ version: Version
426
+ lastBlockId: BlockID
427
+ }
428
+
429
+ type ChainInfo {
430
+ id: String
431
+ network: String
432
+ moniker: String
433
+ consensusVersion: String
434
+ synced: Boolean
435
+ appHash: Bytes
436
+ blockHash: Bytes
437
+ blockHeight: String
438
+ blockTime: Timestamp
439
+ address: String
440
+ votingPower: String
441
+ totalTxs: String
442
+ version: String
443
+ forgeAppsVersion: ChainInfo_ForgeAppsVersionEntry
444
+ supportedTxs: [String!]
445
+ }
446
+
447
+ type ClaimBlockRewardTx {
448
+ rollup: String
449
+ blockHeight: Uint64
450
+ blockHash: String
451
+ evidence: Evidence
452
+ publisher: String
453
+ data: Any
454
+ }
455
+
456
+ type ClaimStakeTx {
457
+ address: String
458
+ evidence: Evidence
459
+ data: Any
460
+ }
461
+
462
+ type CloseRollupTx {
463
+ rollup: String
464
+ message: String
465
+ data: Any
466
+ }
467
+
468
+ type ConsensusParams {
469
+ maxBytes: String
470
+ maxGas: String
471
+ maxValidators: Uint32
472
+ maxCandidates: Uint32
473
+ pubKeyTypes: [String!]
474
+ validators: [Validator!]
475
+ validatorChanged: Boolean
476
+ paramChanged: Boolean
477
+ }
478
+
479
+ type ConsumeAssetTx {
480
+ address: String
481
+ data: Any
482
+ }
483
+
484
+ type CreateAssetTx {
485
+ moniker: String
486
+ data: Any
487
+ readonly: Boolean
488
+ transferrable: Boolean
489
+ ttl: Uint32
490
+ parent: String
491
+ address: String
492
+ issuer: String
493
+ endpoint: NFTEndpoint
494
+ display: NFTDisplay
495
+ tags: [String!]
496
+ }
497
+
498
+ type CreateFactoryTx {
499
+ name: String
500
+ description: String
501
+ settlement: String
502
+ limit: Uint32
503
+ trustedIssuers: [String!]
504
+ input: AssetFactoryInput
505
+ output: CreateAssetTx
506
+ hooks: [AssetFactoryHook!]
507
+ address: String
508
+ display: NFTDisplay
509
+ data: Any
510
+ }
511
+
512
+ type CreateRollupBlockTx {
513
+ hash: String
514
+ height: Uint64
515
+ merkleRoot: String
516
+ previousHash: String
517
+ txsHash: String
518
+ txs: [String!]
519
+ proposer: String
520
+ signatures: [Multisig!]
521
+ rollup: String
522
+ minReward: String
523
+ governance: Boolean
524
+ data: Any
525
+ }
526
+
527
+ type CreateRollupTx {
528
+ address: String
529
+ tokenAddress: String
530
+ vaultAddress: String
531
+ contractAddress: String
532
+ seedValidators: [RollupValidator!]
533
+ minStakeAmount: String
534
+ maxStakeAmount: String
535
+ minSignerCount: Uint32
536
+ maxSignerCount: Uint32
537
+ minBlockSize: Uint32
538
+ maxBlockSize: Uint32
539
+ minBlockInterval: Uint32
540
+ minBlockConfirmation: Uint32
541
+ foreignChainType: String
542
+ foreignChainId: String
543
+ depositFeeRate: Uint32
544
+ withdrawFeeRate: Uint32
545
+ proposerFeeShare: Uint32
546
+ minDepositAmount: String
547
+ minWithdrawAmount: String
548
+ maxDepositAmount: String
549
+ maxWithdrawAmount: String
550
+ minDepositFee: String
551
+ maxDepositFee: String
552
+ minWithdrawFee: String
553
+ maxWithdrawFee: String
554
+ paused: Boolean
555
+ leaveWaitingPeriod: Uint32
556
+ publisherFeeShare: Uint32
557
+ publishWaitingPeriod: Uint32
558
+ publishSlashRate: Uint32
559
+ data: Any
560
+ }
561
+
562
+ type CreateTokenTx {
563
+ name: String
564
+ description: String
565
+ symbol: String
566
+ unit: String
567
+ decimal: Int32
568
+ icon: String
569
+ totalSupply: String
570
+ address: String
571
+ initialSupply: String
572
+ foreignToken: ForeignToken
573
+ data: Any
574
+ }
575
+
576
+ type DeclareTx {
577
+ moniker: String
578
+ issuer: String
579
+ data: Any
580
+ }
581
+
582
+ type DelegateConfig {
583
+ deltaInterval: Uint32
584
+ typeUrls: [String!]
585
+ }
586
+
587
+ type DelegateOp {
588
+ typeUrl: String
589
+ rules: [String!]
590
+ }
591
+
592
+ type DelegateOpState {
593
+ rule: String
594
+ numTxs: Uint64
595
+ numTxsDelta: Uint64
596
+ balance: BigUint
597
+ balanceDelta: BigUint
598
+ }
599
+
600
+ type DelegateState {
601
+ address: String
602
+ ops: DelegateState_OpsEntry
603
+ context: StateContext
604
+ data: Any
605
+ }
606
+
607
+ type DelegateTx {
608
+ address: String
609
+ to: String
610
+ ops: [DelegateOp!]
611
+ data: Any
612
+ }
613
+
614
+ type DepositTokenV2Tx {
615
+ token: TokenInput
616
+ to: String
617
+ proposer: String
618
+ evidence: Evidence
619
+ rollup: String
620
+ actualFee: String
621
+ data: Any
622
+ }
623
+
624
+ type Evidence {
625
+ hash: String
626
+ }
627
+
628
+ type EvidenceState {
629
+ hash: String
630
+ data: String
631
+ context: StateContext
632
+ }
633
+
634
+ type ExchangeInfo {
635
+ value: BigUint
636
+ assets: [String!]
637
+ }
638
+
639
+ type ExchangeInfoV2 {
640
+ value: BigUint
641
+ assets: [String!]
642
+ tokens: [TokenInput!]
643
+ }
644
+
645
+ type ExchangeTx {
646
+ to: String
647
+ sender: ExchangeInfo
648
+ receiver: ExchangeInfo
649
+ expiredAt: Timestamp
650
+ data: Any
651
+ }
652
+
653
+ type ExchangeV2Tx {
654
+ to: String
655
+ sender: ExchangeInfoV2
656
+ receiver: ExchangeInfoV2
657
+ expiredAt: Timestamp
658
+ data: Any
659
+ }
660
+
661
+ type ForeignToken {
662
+ type: String
663
+ contractAddress: String
664
+ chainType: String
665
+ chainName: String
666
+ chainId: Int32
667
+ }
668
+
669
+ type ForgeState {
670
+ address: String
671
+ consensus: ConsensusParams
672
+ tasks: ForgeState_TasksEntry
673
+ version: String
674
+ token: ForgeToken
675
+ txConfig: TransactionConfig
676
+ upgradeInfo: UpgradeInfo
677
+ accountConfig: [AccountConfig!]
678
+ vaults: VaultConfig
679
+ data: Any
680
+ }
681
+
682
+ type ForgeStats {
683
+ numBlocks: [String!]
684
+ numTxs: [String!]
685
+ numStakes: [BigUint!]
686
+ numValidators: [Uint32!]
687
+ numAccountMigrateTxs: [String!]
688
+ numCreateAssetTxs: [String!]
689
+ numConsensusUpgradeTxs: [Uint32!]
690
+ numDeclareTxs: [String!]
691
+ numDeclareFileTxs: [String!]
692
+ numExchangeTxs: [String!]
693
+ numStakeTxs: [String!]
694
+ numSysUpgradeTxs: [Uint32!]
695
+ numTransferTxs: [String!]
696
+ numUpdateAssetTxs: [String!]
697
+ numConsumeAssetTxs: [String!]
698
+ tps: [Uint32!]
699
+ maxTps: Uint32
700
+ avgTps: Uint32
701
+ avgBlockTime: Float32
702
+ }
703
+
704
+ type ForgeToken {
705
+ name: String
706
+ symbol: String
707
+ unit: String
708
+ description: String
709
+ icon: Bytes
710
+ decimal: Uint32
711
+ initialSupply: String
712
+ totalSupply: String
713
+ inflationRate: Uint32
714
+ address: String
715
+ }
716
+
717
+ type GasEstimate {
718
+ max: String
719
+ }
720
+
721
+ type GeoInfo {
722
+ city: String
723
+ country: String
724
+ latitude: Float32
725
+ longitude: Float32
726
+ }
727
+
728
+ type IndexedAccountState {
729
+ address: String
730
+ balance: BigUint
731
+ numAssets: String
732
+ numTxs: String
733
+ nonce: String
734
+ genesisTime: String
735
+ renaissanceTime: String
736
+ moniker: String
737
+ migratedFrom: String
738
+ migratedTo: String
739
+ totalReceivedStakes: BigUint
740
+ totalStakes: BigUint
741
+ totalUnstakes: BigUint
742
+ recentNumTxs: [String!]
743
+ tokens: [TokenInfo!]
744
+ }
745
+
746
+ type IndexedAssetState {
747
+ address: String
748
+ owner: String
749
+ genesisTime: String
750
+ renaissanceTime: String
751
+ moniker: String
752
+ readonly: Boolean
753
+ consumedTime: String
754
+ issuer: String
755
+ parent: String
756
+ transferrable: Boolean
757
+ ttl: String
758
+ display: NFTDisplay
759
+ endpoint: NFTEndpoint
760
+ tags: [String!]
761
+ data: Any
762
+ }
763
+
764
+ type IndexedBlock {
765
+ height: String
766
+ time: String
767
+ proposer: String
768
+ numTxs: String
769
+ numInvalidTxs: String
770
+ }
771
+
772
+ type IndexedDelegationState {
773
+ address: String
774
+ from: String
775
+ to: String
776
+ genesisTime: String
777
+ renaissanceTime: String
778
+ ops: IndexedDelegationState_OpsEntry
779
+ data: Any
780
+ }
781
+
782
+ type IndexedFactoryInput {
783
+ value: String
784
+ tokens: [IndexedTokenInput!]
785
+ assets: [String!]
786
+ variables: [VariableInput!]
787
+ }
788
+
789
+ type IndexedFactoryState {
790
+ address: String
791
+ owner: String
792
+ name: String
793
+ description: String
794
+ settlement: String
795
+ limit: String
796
+ trustedIssuers: [String!]
797
+ input: IndexedFactoryInput
798
+ output: CreateAssetTx
799
+ hooks: [AssetFactoryHook!]
800
+ data: Any
801
+ balance: String
802
+ tokens: [TokenInfo!]
803
+ numMinted: Uint32
804
+ lastSettlement: String
805
+ genesisTime: String
806
+ renaissanceTime: String
807
+ display: NFTDisplay
808
+ }
809
+
810
+ type IndexedRollupBlock {
811
+ hash: String
812
+ height: Uint64
813
+ merkleRoot: String
814
+ previousHash: String
815
+ txsHash: String
816
+ txs: [String!]
817
+ proposer: String
818
+ signatures: [Multisig!]
819
+ genesisTime: String
820
+ renaissanceTime: String
821
+ rollup: String
822
+ mintedAmount: String
823
+ burnedAmount: String
824
+ rewardAmount: String
825
+ governance: Boolean
826
+ tokenInfo: IndexedTokenInput
827
+ data: Any
828
+ }
829
+
830
+ type IndexedRollupState {
831
+ address: String
832
+ tokenAddress: String
833
+ vaultAddress: String
834
+ contractAddress: String
835
+ seedValidators: [RollupValidator!]
836
+ validators: [RollupValidator!]
837
+ minStakeAmount: String
838
+ maxStakeAmount: String
839
+ minSignerCount: Uint32
840
+ maxSignerCount: Uint32
841
+ minBlockSize: Uint32
842
+ maxBlockSize: Uint32
843
+ minBlockInterval: Uint32
844
+ genesisTime: String
845
+ renaissanceTime: String
846
+ tokenInfo: IndexedTokenInput
847
+ issuer: String
848
+ depositFeeRate: Uint32
849
+ withdrawFeeRate: Uint32
850
+ proposerFeeShare: Uint32
851
+ minDepositAmount: String
852
+ minWithdrawAmount: String
853
+ blockHeight: Uint64
854
+ blockHash: String
855
+ minBlockConfirmation: Uint32
856
+ totalDepositAmount: String
857
+ totalWithdrawAmount: String
858
+ maxDepositAmount: String
859
+ maxWithdrawAmount: String
860
+ minDepositFee: String
861
+ maxDepositFee: String
862
+ minWithdrawFee: String
863
+ maxWithdrawFee: String
864
+ paused: Boolean
865
+ foreignToken: ForeignToken
866
+ leaveWaitingPeriod: Uint32
867
+ publisherFeeShare: Uint32
868
+ publishWaitingPeriod: Uint32
869
+ publishSlashRate: Uint32
870
+ migrateHistory: [String!]
871
+ closed: Boolean
872
+ vaultHistory: [String!]
873
+ data: Any
874
+ }
875
+
876
+ type IndexedRollupValidator {
877
+ pk: String
878
+ address: String
879
+ moniker: String
880
+ endpoint: String
881
+ joinTime: String
882
+ leaveTime: String
883
+ genesisTime: String
884
+ renaissanceTime: String
885
+ totalStake: String
886
+ revokedStake: String
887
+ availableStake: String
888
+ totalGain: String
889
+ proposedBlockCount: Uint64
890
+ verifiedBlockCount: Uint64
891
+ latestBlockHeight: Uint64
892
+ latestBlockHash: String
893
+ rollup: String
894
+ }
895
+
896
+ type IndexedStakeState {
897
+ address: String
898
+ sender: String
899
+ receiver: String
900
+ tokens: [TokenInfo!]
901
+ assets: [String!]
902
+ revocable: Boolean
903
+ genesisTime: String
904
+ renaissanceTime: String
905
+ message: String
906
+ revokeWaitingPeriod: Uint32
907
+ revokedTokens: [TokenInfo!]
908
+ revokedAssets: [String!]
909
+ slashers: [String!]
910
+ data: Any
911
+ }
912
+
913
+ type IndexedTokenInput {
914
+ address: String
915
+ value: String
916
+ decimal: Int32
917
+ unit: String
918
+ symbol: String
919
+ }
920
+
921
+ type IndexedTokenState {
922
+ name: String
923
+ description: String
924
+ symbol: String
925
+ unit: String
926
+ decimal: Int32
927
+ issuer: String
928
+ icon: String
929
+ totalSupply: String
930
+ address: String
931
+ genesisTime: String
932
+ renaissanceTime: String
933
+ foreignToken: ForeignToken
934
+ data: Any
935
+ }
936
+
937
+ type IndexedTransaction {
938
+ hash: String
939
+ sender: String
940
+ receiver: String
941
+ time: String
942
+ type: String
943
+ tx: Transaction
944
+ valid: Boolean
945
+ code: StatusCode
946
+ tokenSymbols: [TokenSymbol!]
947
+ receipts: [TransactionReceipt!]
948
+ }
949
+
950
+ type ItxStub {
951
+ value: IsItxStubValue
952
+ }
953
+
954
+ type ItxStub_AccountMigrate {
955
+ accountMigrate: AccountMigrateTx
956
+ }
957
+
958
+ type ItxStub_AcquireAssetV2 {
959
+ acquireAssetV2: AcquireAssetV2Tx
960
+ }
961
+
962
+ type ItxStub_AcquireAssetV3 {
963
+ acquireAssetV3: AcquireAssetV3Tx
964
+ }
965
+
966
+ type ItxStub_ClaimBlockReward {
967
+ claimBlockReward: ClaimBlockRewardTx
968
+ }
969
+
970
+ type ItxStub_ClaimStake {
971
+ claimStake: ClaimStakeTx
972
+ }
973
+
974
+ type ItxStub_CloseRollup {
975
+ closeRollup: CloseRollupTx
976
+ }
977
+
978
+ type ItxStub_ConsumeAsset {
979
+ consumeAsset: ConsumeAssetTx
980
+ }
981
+
982
+ type ItxStub_CreateAsset {
983
+ createAsset: CreateAssetTx
984
+ }
985
+
986
+ type ItxStub_CreateFactory {
987
+ createFactory: CreateFactoryTx
988
+ }
989
+
990
+ type ItxStub_CreateRollup {
991
+ createRollup: CreateRollupTx
992
+ }
993
+
994
+ type ItxStub_CreateRollupBlock {
995
+ createRollupBlock: CreateRollupBlockTx
996
+ }
997
+
998
+ type ItxStub_CreateToken {
999
+ createToken: CreateTokenTx
1000
+ }
1001
+
1002
+ type ItxStub_Declare {
1003
+ declare: DeclareTx
1004
+ }
1005
+
1006
+ type ItxStub_Delegate {
1007
+ delegate: DelegateTx
1008
+ }
1009
+
1010
+ type ItxStub_DepositToken {
1011
+ depositToken: DepositTokenV2Tx
1012
+ }
1013
+
1014
+ type ItxStub_Exchange {
1015
+ exchange: ExchangeTx
1016
+ }
1017
+
1018
+ type ItxStub_ExchangeV2 {
1019
+ exchangeV2: ExchangeV2Tx
1020
+ }
1021
+
1022
+ type ItxStub_JoinRollup {
1023
+ joinRollup: JoinRollupTx
1024
+ }
1025
+
1026
+ type ItxStub_LeaveRollup {
1027
+ leaveRollup: LeaveRollupTx
1028
+ }
1029
+
1030
+ type ItxStub_MigrateRollup {
1031
+ migrateRollup: MigrateRollupTx
1032
+ }
1033
+
1034
+ type ItxStub_MintAsset {
1035
+ mintAsset: MintAssetTx
1036
+ }
1037
+
1038
+ type ItxStub_PauseRollup {
1039
+ pauseRollup: PauseRollupTx
1040
+ }
1041
+
1042
+ type ItxStub_ResumeRollup {
1043
+ resumeRollup: ResumeRollupTx
1044
+ }
1045
+
1046
+ type ItxStub_RevokeDelegate {
1047
+ revokeDelegate: RevokeDelegateTx
1048
+ }
1049
+
1050
+ type ItxStub_RevokeStake {
1051
+ revokeStake: RevokeStakeTx
1052
+ }
1053
+
1054
+ type ItxStub_SlashStake {
1055
+ slashStake: SlashStakeTx
1056
+ }
1057
+
1058
+ type ItxStub_Stake {
1059
+ stake: StakeTx
1060
+ }
1061
+
1062
+ type ItxStub_Transfer {
1063
+ transfer: TransferTx
1064
+ }
1065
+
1066
+ type ItxStub_TransferV2 {
1067
+ transferV2: TransferV2Tx
1068
+ }
1069
+
1070
+ type ItxStub_TransferV3 {
1071
+ transferV3: TransferV3Tx
1072
+ }
1073
+
1074
+ type ItxStub_UpdateAsset {
1075
+ updateAsset: UpdateAssetTx
1076
+ }
1077
+
1078
+ type ItxStub_UpdateRollup {
1079
+ updateRollup: UpdateRollupTx
1080
+ }
1081
+
1082
+ type ItxStub_UpgradeNode {
1083
+ upgradeNode: UpgradeNodeTx
1084
+ }
1085
+
1086
+ type ItxStub_WithdrawToken {
1087
+ withdrawToken: WithdrawTokenV2Tx
1088
+ }
1089
+
1090
+ type JoinRollupTx {
1091
+ rollup: String
1092
+ endpoint: String
1093
+ evidence: Evidence
1094
+ signatures: [Multisig!]
1095
+ data: Any
1096
+ }
1097
+
1098
+ type LeaveRollupTx {
1099
+ rollup: String
1100
+ evidence: Evidence
1101
+ signatures: [Multisig!]
1102
+ data: Any
1103
+ }
1104
+
1105
+ type MigrateRollupTx {
1106
+ rollup: String
1107
+ to: String
1108
+ type: String
1109
+ message: String
1110
+ data: Any
1111
+ }
1112
+
1113
+ type MintAssetTx {
1114
+ factory: String
1115
+ address: String
1116
+ assets: [String!]
1117
+ variables: [VariableInput!]
1118
+ owner: String
1119
+ data: Any
1120
+ }
1121
+
1122
+ type Multisig {
1123
+ signer: String
1124
+ pk: Bytes
1125
+ signature: Bytes
1126
+ delegator: String
1127
+ data: Any
1128
+ }
1129
+
1130
+ type NFTDisplay {
1131
+ type: String
1132
+ content: String
1133
+ }
1134
+
1135
+ type NFTEndpoint {
1136
+ id: String
1137
+ scope: String
1138
+ }
1139
+
1140
+ type NFTIssuer {
1141
+ id: String
1142
+ pk: String
1143
+ name: String
1144
+ }
1145
+
1146
+ type NetInfo {
1147
+ listening: Boolean
1148
+ listeners: [String!]
1149
+ nPeers: Uint32
1150
+ peers: [PeerInfo!]
1151
+ }
1152
+
1153
+ type NodeInfo {
1154
+ id: String
1155
+ network: String
1156
+ moniker: String
1157
+ consensusVersion: String
1158
+ synced: Boolean
1159
+ appHash: Bytes
1160
+ blockHash: Bytes
1161
+ blockHeight: String
1162
+ blockTime: Timestamp
1163
+ address: String
1164
+ votingPower: String
1165
+ totalTxs: String
1166
+ version: String
1167
+ forgeAppsVersion: NodeInfo_ForgeAppsVersionEntry
1168
+ supportedTxs: [String!]
1169
+ ip: String
1170
+ geoInfo: GeoInfo
1171
+ p2PAddress: String
1172
+ }
1173
+
1174
+ type PageInfo {
1175
+ cursor: String
1176
+ next: Boolean
1177
+ total: Uint32
1178
+ }
1179
+
1180
+ type PauseRollupTx {
1181
+ rollup: String
1182
+ data: Any
1183
+ }
1184
+
1185
+ type PeerInfo {
1186
+ id: String
1187
+ network: String
1188
+ consensusVersion: String
1189
+ moniker: String
1190
+ ip: String
1191
+ geoInfo: GeoInfo
1192
+ }
1193
+
1194
+ type ReceiptChange {
1195
+ target: String
1196
+ action: String
1197
+ value: String
1198
+ }
1199
+
1200
+ type ResponseEstimateGas {
1201
+ code: StatusCode
1202
+ estimate: GasEstimate
1203
+ }
1204
+
1205
+ type ResponseGetAccountState {
1206
+ code: StatusCode
1207
+ state: AccountState
1208
+ }
1209
+
1210
+ type ResponseGetAccountTokens {
1211
+ code: StatusCode
1212
+ tokens: [AccountToken!]
1213
+ }
1214
+
1215
+ type ResponseGetAssetState {
1216
+ code: StatusCode
1217
+ state: AssetState
1218
+ }
1219
+
1220
+ type ResponseGetBlock {
1221
+ code: StatusCode
1222
+ block: BlockInfo
1223
+ }
1224
+
1225
+ type ResponseGetBlocks {
1226
+ code: StatusCode
1227
+ page: PageInfo
1228
+ blocks: [BlockInfoSimple!]
1229
+ }
1230
+
1231
+ type ResponseGetChainInfo {
1232
+ code: StatusCode
1233
+ info: ChainInfo
1234
+ }
1235
+
1236
+ type ResponseGetConfig {
1237
+ code: StatusCode
1238
+ config: String
1239
+ }
1240
+
1241
+ type ResponseGetDelegateState {
1242
+ code: StatusCode
1243
+ state: DelegateState
1244
+ }
1245
+
1246
+ type ResponseGetEvidenceState {
1247
+ code: StatusCode
1248
+ state: EvidenceState
1249
+ }
1250
+
1251
+ type ResponseGetFactoryState {
1252
+ code: StatusCode
1253
+ state: AssetFactoryState
1254
+ }
1255
+
1256
+ type ResponseGetForgeState {
1257
+ code: StatusCode
1258
+ state: ForgeState
1259
+ }
1260
+
1261
+ type ResponseGetForgeStats {
1262
+ code: StatusCode
1263
+ forgeStats: ForgeStats
1264
+ }
1265
+
1266
+ type ResponseGetNetInfo {
1267
+ code: StatusCode
1268
+ netInfo: NetInfo
1269
+ }
1270
+
1271
+ type ResponseGetNodeInfo {
1272
+ code: StatusCode
1273
+ info: NodeInfo
1274
+ }
1275
+
1276
+ type ResponseGetRollupBlock {
1277
+ code: StatusCode
1278
+ block: RollupBlock
1279
+ }
1280
+
1281
+ type ResponseGetRollupState {
1282
+ code: StatusCode
1283
+ state: RollupState
1284
+ }
1285
+
1286
+ type ResponseGetStakeState {
1287
+ code: StatusCode
1288
+ state: StakeState
1289
+ }
1290
+
1291
+ type ResponseGetTokenState {
1292
+ code: StatusCode
1293
+ state: TokenState
1294
+ }
1295
+
1296
+ type ResponseGetTx {
1297
+ code: StatusCode
1298
+ info: TransactionInfo
1299
+ }
1300
+
1301
+ type ResponseGetUnconfirmedTxs {
1302
+ code: StatusCode
1303
+ page: PageInfo
1304
+ unconfirmedTxs: UnconfirmedTxs
1305
+ }
1306
+
1307
+ type ResponseGetValidatorsInfo {
1308
+ code: StatusCode
1309
+ validatorsInfo: ValidatorsInfo
1310
+ }
1311
+
1312
+ type ResponseListAssetTransactions {
1313
+ code: StatusCode
1314
+ page: PageInfo
1315
+ transactions: [IndexedTransaction!]
1316
+ }
1317
+
1318
+ type ResponseListAssets {
1319
+ code: StatusCode
1320
+ page: PageInfo
1321
+ assets: [IndexedAssetState!]
1322
+ }
1323
+
1324
+ type ResponseListBlocks {
1325
+ code: StatusCode
1326
+ page: PageInfo
1327
+ blocks: [IndexedBlock!]
1328
+ }
1329
+
1330
+ type ResponseListDelegations {
1331
+ code: StatusCode
1332
+ page: PageInfo
1333
+ delegations: [IndexedDelegationState!]
1334
+ }
1335
+
1336
+ type ResponseListFactories {
1337
+ code: StatusCode
1338
+ page: PageInfo
1339
+ factories: [IndexedFactoryState!]
1340
+ }
1341
+
1342
+ type ResponseListRollupBlocks {
1343
+ code: StatusCode
1344
+ page: PageInfo
1345
+ blocks: [IndexedRollupBlock!]
1346
+ }
1347
+
1348
+ type ResponseListRollupValidators {
1349
+ code: StatusCode
1350
+ page: PageInfo
1351
+ validators: [IndexedRollupValidator!]
1352
+ }
1353
+
1354
+ type ResponseListRollups {
1355
+ code: StatusCode
1356
+ page: PageInfo
1357
+ rollups: [IndexedRollupState!]
1358
+ }
1359
+
1360
+ type ResponseListStakes {
1361
+ code: StatusCode
1362
+ page: PageInfo
1363
+ stakes: [IndexedStakeState!]
1364
+ }
1365
+
1366
+ type ResponseListTokens {
1367
+ code: StatusCode
1368
+ page: PageInfo
1369
+ tokens: [IndexedTokenState!]
1370
+ }
1371
+
1372
+ type ResponseListTopAccounts {
1373
+ code: StatusCode
1374
+ page: PageInfo
1375
+ accounts: [IndexedAccountState!]
1376
+ }
1377
+
1378
+ type ResponseListTransactions {
1379
+ code: StatusCode
1380
+ page: PageInfo
1381
+ transactions: [IndexedTransaction!]
1382
+ }
1383
+
1384
+ type ResponseSearch {
1385
+ code: StatusCode
1386
+ page: PageInfo
1387
+ results: [SearchResult!]
1388
+ }
1389
+
1390
+ type ResponseSendTx {
1391
+ code: StatusCode
1392
+ hash: String
1393
+ }
1394
+
1395
+ type ResumeRollupTx {
1396
+ rollup: String
1397
+ data: Any
1398
+ }
1399
+
1400
+ type RevokeDelegateTx {
1401
+ address: String
1402
+ to: String
1403
+ typeUrls: [String!]
1404
+ data: Any
1405
+ }
1406
+
1407
+ type RevokeStakeTx {
1408
+ address: String
1409
+ outputs: [TransactionInput!]
1410
+ data: Any
1411
+ }
1412
+
1413
+ type RollupBlock {
1414
+ hash: String
1415
+ height: Uint64
1416
+ merkleRoot: String
1417
+ previousHash: String
1418
+ txsHash: String
1419
+ txs: [String!]
1420
+ proposer: String
1421
+ signatures: [Multisig!]
1422
+ rollup: String
1423
+ mintedAmount: String
1424
+ burnedAmount: String
1425
+ rewardAmount: String
1426
+ minReward: String
1427
+ governance: Boolean
1428
+ context: StateContext
1429
+ data: Any
1430
+ }
1431
+
1432
+ type RollupState {
1433
+ address: String
1434
+ tokenAddress: String
1435
+ vaultAddress: String
1436
+ contractAddress: String
1437
+ seedValidators: [RollupValidator!]
1438
+ validators: [RollupValidator!]
1439
+ minStakeAmount: String
1440
+ maxStakeAmount: String
1441
+ minSignerCount: Uint32
1442
+ maxSignerCount: Uint32
1443
+ minBlockSize: Uint32
1444
+ maxBlockSize: Uint32
1445
+ minBlockInterval: Uint32
1446
+ minBlockConfirmation: Uint32
1447
+ issuer: String
1448
+ depositFeeRate: Uint32
1449
+ withdrawFeeRate: Uint32
1450
+ proposerFeeShare: Uint32
1451
+ publisherFeeShare: Uint32
1452
+ minDepositAmount: String
1453
+ minWithdrawAmount: String
1454
+ blockHeight: Uint64
1455
+ blockHash: String
1456
+ tokenInfo: IndexedTokenInput
1457
+ totalDepositAmount: String
1458
+ totalWithdrawAmount: String
1459
+ maxDepositAmount: String
1460
+ maxWithdrawAmount: String
1461
+ minDepositFee: String
1462
+ maxDepositFee: String
1463
+ minWithdrawFee: String
1464
+ maxWithdrawFee: String
1465
+ paused: Boolean
1466
+ foreignToken: ForeignToken
1467
+ leaveWaitingPeriod: Uint32
1468
+ publishWaitingPeriod: Uint32
1469
+ publishSlashRate: Uint32
1470
+ migrateHistory: [String!]
1471
+ closed: Boolean
1472
+ vaultHistory: [String!]
1473
+ context: StateContext
1474
+ data: Any
1475
+ }
1476
+
1477
+ type RollupValidator {
1478
+ pk: String
1479
+ address: String
1480
+ endpoint: String
1481
+ }
1482
+
1483
+ type SearchResult {
1484
+ type: String
1485
+ id: String
1486
+ }
1487
+
1488
+ type SlashStakeTx {
1489
+ address: String
1490
+ outputs: [TransactionInput!]
1491
+ message: String
1492
+ data: Any
1493
+ }
1494
+
1495
+ type StakeState {
1496
+ address: String
1497
+ sender: String
1498
+ receiver: String
1499
+ tokens: [IndexedTokenInput!]
1500
+ assets: [String!]
1501
+ revocable: Boolean
1502
+ message: String
1503
+ revokeWaitingPeriod: Uint32
1504
+ revokedTokens: [IndexedTokenInput!]
1505
+ revokedAssets: [String!]
1506
+ slashers: [String!]
1507
+ context: StateContext
1508
+ data: Any
1509
+ }
1510
+
1511
+ type StakeTx {
1512
+ address: String
1513
+ receiver: String
1514
+ inputs: [TransactionInput!]
1515
+ locked: Boolean
1516
+ message: String
1517
+ revokeWaitingPeriod: Uint32
1518
+ slashers: [String!]
1519
+ data: Any
1520
+ }
1521
+
1522
+ type StateContext {
1523
+ genesisTx: String
1524
+ renaissanceTx: String
1525
+ genesisTime: Timestamp
1526
+ renaissanceTime: Timestamp
1527
+ }
1528
+
1529
+ type TokenInfo {
1530
+ address: String
1531
+ balance: String
1532
+ decimal: Int32
1533
+ unit: String
1534
+ symbol: String
1535
+ }
1536
+
1537
+ type TokenInput {
1538
+ address: String
1539
+ value: String
1540
+ }
1541
+
1542
+ type TokenState {
1543
+ address: String
1544
+ issuer: String
1545
+ name: String
1546
+ description: String
1547
+ symbol: String
1548
+ unit: String
1549
+ decimal: Uint32
1550
+ icon: String
1551
+ totalSupply: String
1552
+ foreignToken: ForeignToken
1553
+ context: StateContext
1554
+ data: Any
1555
+ }
1556
+
1557
+ type TokenSymbol {
1558
+ address: String
1559
+ symbol: String
1560
+ decimal: Int32
1561
+ unit: String
1562
+ }
1563
+
1564
+ type Transaction {
1565
+ from: String
1566
+ nonce: Uint64
1567
+ chainId: String
1568
+ pk: Bytes
1569
+ gas: Uint32
1570
+ delegator: String
1571
+ signature: Bytes
1572
+ signatures: [Multisig!]
1573
+ itx: Any
1574
+ receipts: [TransactionReceipt!]
1575
+ serviceFee: String
1576
+ }
1577
+
1578
+ type TransactionConfig {
1579
+ maxAssetSize: Uint32
1580
+ maxListSize: Uint32
1581
+ maxMultisig: Uint32
1582
+ delegate: DelegateConfig
1583
+ txFee: [TxFeeConfig!]
1584
+ txGas: TxGasConfig
1585
+ }
1586
+
1587
+ type TransactionInfo {
1588
+ tx: Transaction
1589
+ height: String
1590
+ index: Uint32
1591
+ hash: String
1592
+ tags: [KVPair!]
1593
+ code: StatusCode
1594
+ time: Timestamp
1595
+ receipts: [TransactionReceipt!]
1596
+ sender: String
1597
+ receiver: String
1598
+ tokenSymbols: [TokenSymbol!]
1599
+ }
1600
+
1601
+ type TransactionInput {
1602
+ owner: String
1603
+ tokens: [TokenInput!]
1604
+ assets: [String!]
1605
+ }
1606
+
1607
+ type TransactionReceipt {
1608
+ address: String
1609
+ changes: [ReceiptChange!]
1610
+ }
1611
+
1612
+ type TransferTx {
1613
+ to: String
1614
+ value: BigUint
1615
+ assets: [String!]
1616
+ data: Any
1617
+ }
1618
+
1619
+ type TransferV2Tx {
1620
+ to: String
1621
+ value: BigUint
1622
+ assets: [String!]
1623
+ tokens: [TokenInput!]
1624
+ data: Any
1625
+ }
1626
+
1627
+ type TransferV3Tx {
1628
+ inputs: [TransactionInput!]
1629
+ outputs: [TransactionInput!]
1630
+ data: Any
1631
+ }
1632
+
1633
+ type TxFeeConfig {
1634
+ typeUrl: String
1635
+ fee: String
1636
+ }
1637
+
1638
+ type TxGasConfig {
1639
+ price: Uint64
1640
+ createState: Uint64
1641
+ updateState: Uint64
1642
+ dataStorage: Uint64
1643
+ minStake: String
1644
+ maxStake: String
1645
+ stakeLockPeriod: Uint64
1646
+ }
1647
+
1648
+ type UnconfirmedTxs {
1649
+ nTxs: Uint32
1650
+ txs: [Transaction!]
1651
+ }
1652
+
1653
+ type UpdateAssetTx {
1654
+ address: String
1655
+ moniker: String
1656
+ consumed: Boolean
1657
+ data: Any
1658
+ }
1659
+
1660
+ type UpdateRollupTx {
1661
+ minStakeAmount: String
1662
+ maxStakeAmount: String
1663
+ minSignerCount: Uint32
1664
+ maxSignerCount: Uint32
1665
+ minBlockSize: Uint32
1666
+ maxBlockSize: Uint32
1667
+ minBlockInterval: Uint32
1668
+ minBlockConfirmation: Uint32
1669
+ depositFeeRate: Uint32
1670
+ withdrawFeeRate: Uint32
1671
+ proposerFeeShare: Uint32
1672
+ minDepositAmount: String
1673
+ minWithdrawAmount: String
1674
+ maxDepositAmount: String
1675
+ maxWithdrawAmount: String
1676
+ minDepositFee: String
1677
+ maxDepositFee: String
1678
+ minWithdrawFee: String
1679
+ maxWithdrawFee: String
1680
+ publisherFeeShare: Uint32
1681
+ leaveWaitingPeriod: Uint32
1682
+ publishWaitingPeriod: Uint32
1683
+ publishSlashRate: Uint32
1684
+ rollup: String
1685
+ data: Any
1686
+ }
1687
+
1688
+ type UpgradeInfo {
1689
+ height: String
1690
+ version: String
1691
+ }
1692
+
1693
+ type UpgradeNodeTx {
1694
+ height: Uint64
1695
+ version: String
1696
+ override: Boolean
1697
+ }
1698
+
1699
+ type UpgradeTask {
1700
+ type: UpgradeType
1701
+ dataHash: String
1702
+ actions: [UpgradeAction!]
1703
+ }
1704
+
1705
+ type UpgradeTasks {
1706
+ item: [UpgradeTask!]
1707
+ }
1708
+
1709
+ type Validator {
1710
+ address: String
1711
+ power: String
1712
+ }
1713
+
1714
+ type ValidatorInfo {
1715
+ address: String
1716
+ pubKey: PubKey
1717
+ votingPower: String
1718
+ proposerPriority: String
1719
+ name: String
1720
+ geoInfo: GeoInfo
1721
+ }
1722
+
1723
+ type ValidatorsInfo {
1724
+ blockHeight: String
1725
+ validators: [ValidatorInfo!]
1726
+ }
1727
+
1728
+ type VariableInput {
1729
+ name: String
1730
+ value: String
1731
+ description: String
1732
+ required: Boolean
1733
+ }
1734
+
1735
+ type VaultConfig {
1736
+ slashedStake: String
1737
+ txFee: String
1738
+ txGas: [String!]
1739
+ }
1740
+
1741
+ type WalletType {
1742
+ pk: KeyType
1743
+ hash: HashType
1744
+ address: EncodingType
1745
+ role: RoleType
1746
+ }
1747
+
1748
+ type WithdrawTokenV2Tx {
1749
+ token: TokenInput
1750
+ to: String
1751
+ rollup: String
1752
+ proposer: String
1753
+ maxFee: String
1754
+ actualFee: String
1755
+ data: Any
1756
+ }
1757
+
1758
+ type BlockID {
1759
+ hash: Bytes
1760
+ partsHeader: PartSetHeader
1761
+ }
1762
+
1763
+ type KVPair {
1764
+ key: Bytes
1765
+ value: Bytes
1766
+ }
1767
+
1768
+ type PartSetHeader {
1769
+ total: Int32
1770
+ hash: Bytes
1771
+ }
1772
+
1773
+ type PubKey {
1774
+ type: String
1775
+ data: Bytes
1776
+ }
1777
+
1778
+ type Version {
1779
+ block: Uint64
1780
+ app: Uint64
1781
+ }
1782
+
1783
+ union IsItxStubValue = ItxStub_AccountMigrate | ItxStub_AcquireAssetV2 | ItxStub_AcquireAssetV3 | ItxStub_ClaimBlockReward | ItxStub_ClaimStake | ItxStub_CloseRollup | ItxStub_ConsumeAsset | ItxStub_CreateAsset | ItxStub_CreateFactory | ItxStub_CreateRollup | ItxStub_CreateRollupBlock | ItxStub_CreateToken | ItxStub_Declare | ItxStub_Delegate | ItxStub_DepositToken | ItxStub_Exchange | ItxStub_ExchangeV2 | ItxStub_JoinRollup | ItxStub_LeaveRollup | ItxStub_MigrateRollup | ItxStub_MintAsset | ItxStub_PauseRollup | ItxStub_ResumeRollup | ItxStub_RevokeDelegate | ItxStub_RevokeStake | ItxStub_SlashStake | ItxStub_Stake | ItxStub_Transfer | ItxStub_TransferV2 | ItxStub_TransferV3 | ItxStub_UpdateAsset | ItxStub_UpdateRollup | ItxStub_UpgradeNode | ItxStub_WithdrawToken
1784
+
1785
+ enum Direction {
1786
+ MUTUAL
1787
+ ONE_WAY
1788
+ UNION
1789
+ }
1790
+
1791
+ enum EncodingType {
1792
+ BASE16
1793
+ BASE58
1794
+ }
1795
+
1796
+ enum HashType {
1797
+ KECCAK
1798
+ SHA3
1799
+ SHA2
1800
+ KECCAK_384
1801
+ SHA3_384
1802
+ KECCAK_512
1803
+ SHA3_512
1804
+ }
1805
+
1806
+ enum KeyType {
1807
+ ED25519
1808
+ SECP256K1
1809
+ ETHEREUM
1810
+ }
1811
+
1812
+ enum RoleType {
1813
+ ROLE_ACCOUNT
1814
+ ROLE_NODE
1815
+ ROLE_DEVICE
1816
+ ROLE_APPLICATION
1817
+ ROLE_SMART_CONTRACT
1818
+ ROLE_BOT
1819
+ ROLE_ASSET
1820
+ ROLE_STAKE
1821
+ ROLE_VALIDATOR
1822
+ ROLE_GROUP
1823
+ ROLE_TX
1824
+ ROLE_TETHER
1825
+ ROLE_SWAP
1826
+ ROLE_DELEGATION
1827
+ ROLE_VC
1828
+ ROLE_BLOCKLET
1829
+ ROLE_STORE
1830
+ ROLE_TOKEN
1831
+ ROLE_FACTORY
1832
+ ROLE_ROLLUP
1833
+ ROLE_STORAGE
1834
+ ROLE_ANY
1835
+ }
1836
+
1837
+ enum StatusCode {
1838
+ OK
1839
+ INVALID_NONCE
1840
+ INVALID_SIGNATURE
1841
+ INVALID_SENDER_STATE
1842
+ INVALID_RECEIVER_STATE
1843
+ INSUFFICIENT_DATA
1844
+ INSUFFICIENT_FUND
1845
+ INVALID_OWNER
1846
+ INVALID_TX
1847
+ UNSUPPORTED_TX
1848
+ EXPIRED_TX
1849
+ TOO_MANY_TXS
1850
+ INVALID_LOCK_STATUS
1851
+ INVALID_REQUEST
1852
+ INVALID_MONIKER
1853
+ INVALID_PASSPHRASE
1854
+ INVALID_MULTISIG
1855
+ INVALID_WALLET
1856
+ INVALID_CHAIN_ID
1857
+ CONSENSUS_RPC_ERROR
1858
+ STORAGE_RPC_ERROR
1859
+ NOENT
1860
+ ACCOUNT_MIGRATED
1861
+ RPC_CONNECTION_ERROR
1862
+ UNSUPPORTED_STAKE
1863
+ INSUFFICIENT_STAKE
1864
+ INVALID_STAKE_STATE
1865
+ EXPIRED_WALLET_TOKEN
1866
+ BANNED_UNSTAKE
1867
+ INVALID_ASSET
1868
+ INVALID_TX_SIZE
1869
+ INVALID_SIGNER_STATE
1870
+ INVALID_FORGE_STATE
1871
+ EXPIRED_ASSET
1872
+ UNTRANSFERRABLE_ASSET
1873
+ READONLY_ASSET
1874
+ CONSUMED_ASSET
1875
+ INVALID_DEPOSIT_VALUE
1876
+ EXCEED_DEPOSIT_CAP
1877
+ INVALID_DEPOSIT_TARGET
1878
+ INVALID_DEPOSITOR
1879
+ INVALID_WITHDRAWER
1880
+ INVALID_EXPIRY_DATE
1881
+ INVALID_CUSTODIAN
1882
+ INSUFFICIENT_GAS
1883
+ INVALID_SWAP
1884
+ INVALID_HASHKEY
1885
+ INVALID_DELEGATION
1886
+ INSUFFICIENT_DELEGATION
1887
+ INVALID_DELEGATION_RULE
1888
+ INVALID_DELEGATION_TYPE_URL
1889
+ SENDER_NOT_AUTHORIZED
1890
+ PROTOCOL_NOT_RUNNING
1891
+ PROTOCOL_NOT_PAUSED
1892
+ PROTOCOL_NOT_ACTIVATED
1893
+ INVALID_DEACTIVATION
1894
+ SENDER_WITHDRAW_ITEMS_FULL
1895
+ WITHDRAW_ITEM_MISSING
1896
+ INVALID_WITHDRAW_TX
1897
+ INVALID_CHAIN_TYPE
1898
+ INVALID_TIME
1899
+ INVALID_SUBSCRIBE
1900
+ INVALID_DID_TYPE
1901
+ INVALID_CANDIDATE_STATE
1902
+ VALIDATOR_NOT_FOUND
1903
+ VALIDATOR_NOT_CHANGED
1904
+ INVALID_FACTORY_STATE
1905
+ INVALID_FACTORY_PROPS
1906
+ INVALID_FACTORY_INPUT
1907
+ INVALID_TOKEN
1908
+ INVALID_ROLLUP
1909
+ INVALID_BLOCK
1910
+ FORBIDDEN
1911
+ INTERNAL
1912
+ TIMEOUT
1913
+ }
1914
+
1915
+ enum UpgradeAction {
1916
+ VERIFY
1917
+ BACKUP
1918
+ REPLACE
1919
+ RESTART_APP
1920
+ RESTART_DFS
1921
+ RESTART_CONSENSUS
1922
+ RESTART_P2P
1923
+ RESTART_FORGE
1924
+ ROLLBACK_IF_FAIL
1925
+ RESTART_ALL_IF_FAIL
1926
+ CRASH_IF_FAIL
1927
+ DROP_ADDRESS_BOOK
1928
+ }
1929
+
1930
+ enum UpgradeType {
1931
+ CONFIG_APP
1932
+ CONFIG_FORGE
1933
+ CONFIG_DFS
1934
+ CONFIG_CONSENSUS
1935
+ CONFIG_P2P
1936
+ EXE_APP
1937
+ EXE_FORGE
1938
+ EXE_DFS
1939
+ EXE_CONSENSUS
1940
+ EXE_P2P
1941
+ }
1942
+
1943
+ enum Validity {
1944
+ BOTH
1945
+ VALID
1946
+ INVALID
1947
+ }
1948
+
1949
+ type Mutation {
1950
+ # See the Subscription with the same name
1951
+ queryGetTx(in: RequestGetTxInput): Boolean
1952
+ # See the Subscription with the same name
1953
+ queryGetBlock(in: RequestGetBlockInput): Boolean
1954
+ queryGetBlocks(in: RequestGetBlocksInput): ResponseGetBlocks
1955
+ queryGetUnconfirmedTxs: ResponseGetUnconfirmedTxs
1956
+ queryGetChainInfo: ResponseGetChainInfo
1957
+ queryGetNodeInfo: ResponseGetNodeInfo
1958
+ queryGetNetInfo: ResponseGetNetInfo
1959
+ queryGetValidatorsInfo: ResponseGetValidatorsInfo
1960
+ queryGetConfig(in: RequestGetConfigInput): ResponseGetConfig
1961
+ queryGetForgeStats: ResponseGetForgeStats
1962
+ # See the Subscription with the same name
1963
+ queryGetAccountState(in: RequestGetAccountStateInput): Boolean
1964
+ # See the Subscription with the same name
1965
+ queryGetAssetState(in: RequestGetStateInput): Boolean
1966
+ # See the Subscription with the same name
1967
+ queryGetFactoryState(in: RequestGetStateInput): Boolean
1968
+ queryGetForgeState(in: RequestGetStateInput): ResponseGetForgeState
1969
+ # See the Subscription with the same name
1970
+ queryGetDelegateState(in: RequestGetStateInput): Boolean
1971
+ # See the Subscription with the same name
1972
+ queryGetTokenState(in: RequestGetStateInput): Boolean
1973
+ # See the Subscription with the same name
1974
+ queryGetEvidenceState(in: RequestGetEvidenceStateInput): Boolean
1975
+ # See the Subscription with the same name
1976
+ queryGetAccountTokens(in: RequestGetAccountTokensInput): Boolean
1977
+ queryListTransactions(in: RequestListTransactionsInput): ResponseListTransactions
1978
+ queryListAssets(in: RequestListAssetsInput): ResponseListAssets
1979
+ queryListFactories(in: RequestListFactoriesInput): ResponseListFactories
1980
+ queryListTopAccounts(in: RequestListTopAccountsInput): ResponseListTopAccounts
1981
+ queryListAssetTransactions(in: RequestListAssetTransactionsInput): ResponseListAssetTransactions
1982
+ queryListBlocks(in: RequestListBlocksInput): ResponseListBlocks
1983
+ queryListTokens(in: RequestListTokensInput): ResponseListTokens
1984
+ queryItxSub(in: RequestGetConfigInput): ItxStub
1985
+ # See the Subscription with the same name
1986
+ queryGetStakeState(in: RequestGetStateInput): Boolean
1987
+ queryListStakes(in: RequestListStakesInput): ResponseListStakes
1988
+ # See the Subscription with the same name
1989
+ queryGetRollupState(in: RequestGetStateInput): Boolean
1990
+ queryListRollups(in: RequestListRollupsInput): ResponseListRollups
1991
+ # See the Subscription with the same name
1992
+ queryGetRollupBlock(in: RequestGetRollupBlockInput): Boolean
1993
+ queryListRollupBlocks(in: RequestListRollupBlocksInput): ResponseListRollupBlocks
1994
+ queryListRollupValidators(in: RequestListRollupValidatorsInput): ResponseListRollupValidators
1995
+ queryListDelegations(in: RequestListDelegationsInput): ResponseListDelegations
1996
+ querySearch(in: RequestSearchInput): ResponseSearch
1997
+ queryEstimateGas(in: RequestEstimateGasInput): ResponseEstimateGas
1998
+ mutationSendTx(in: RequestSendTxInput): ResponseSendTx
1999
+ }
2000
+
2001
+ type Query { dummy: Boolean }
2002
+
2003
+ type Subscription {
2004
+ queryGetTx(in: RequestGetTxInput): ResponseGetTx
2005
+ queryGetBlock(in: RequestGetBlockInput): ResponseGetBlock
2006
+ queryGetAccountState(in: RequestGetAccountStateInput): ResponseGetAccountState
2007
+ queryGetAssetState(in: RequestGetStateInput): ResponseGetAssetState
2008
+ queryGetFactoryState(in: RequestGetStateInput): ResponseGetFactoryState
2009
+ queryGetDelegateState(in: RequestGetStateInput): ResponseGetDelegateState
2010
+ queryGetTokenState(in: RequestGetStateInput): ResponseGetTokenState
2011
+ queryGetEvidenceState(in: RequestGetEvidenceStateInput): ResponseGetEvidenceState
2012
+ queryGetAccountTokens(in: RequestGetAccountTokensInput): ResponseGetAccountTokens
2013
+ queryGetStakeState(in: RequestGetStateInput): ResponseGetStakeState
2014
+ queryGetRollupState(in: RequestGetStateInput): ResponseGetRollupState
2015
+ queryGetRollupBlock(in: RequestGetRollupBlockInput): ResponseGetRollupBlock
2016
+ }
2017
+