@ocap/client 1.18.8 → 1.18.10
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/dist/base.js +1 -1
- package/dist/browser.d.ts +602 -427
- package/dist/bundle.js +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +122 -0
- package/dist/schema/graphql.txt +2 -2
- package/dist/types.js +64 -0
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +21 -0
- package/docs/README.md +84 -0
- package/lib/base.js +1 -1
- package/lib/node.d.ts +602 -427
- package/lib/schema/graphql.json +122 -0
- package/lib/schema/graphql.txt +2 -2
- package/lib/types.js +64 -0
- package/lib/types.js.map +1 -1
- package/package.json +12 -13
package/dist/browser.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import type { PartialDeep } from 'type-fest';
|
|
2
1
|
import { WalletObject } from '@ocap/wallet';
|
|
3
2
|
|
|
3
|
+
type PartialDeep<T> = {
|
|
4
|
+
[K in keyof T]?: T[K] extends object ? PartialDeep<T[K]> : T[K];
|
|
5
|
+
};
|
|
6
|
+
|
|
4
7
|
export as namespace GraphQLClient;
|
|
5
8
|
|
|
6
9
|
/*~ This declaration specifies that the class constructor function
|
|
@@ -422,94 +425,113 @@ declare class GraphQLClient {
|
|
|
422
425
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>
|
|
423
426
|
): Promise<GraphQLClient.Transaction>;
|
|
424
427
|
getAccountState(
|
|
425
|
-
params: GraphQLClient.GetAccountStateParams
|
|
428
|
+
params: PartialDeep<GraphQLClient.GetAccountStateParams>
|
|
426
429
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetAccountState>;
|
|
427
430
|
getAssetState(
|
|
428
|
-
params: GraphQLClient.GetAssetStateParams
|
|
431
|
+
params: PartialDeep<GraphQLClient.GetAssetStateParams>
|
|
429
432
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetAssetState>;
|
|
430
433
|
getFactoryState(
|
|
431
|
-
params: GraphQLClient.GetFactoryStateParams
|
|
434
|
+
params: PartialDeep<GraphQLClient.GetFactoryStateParams>
|
|
432
435
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetFactoryState>;
|
|
433
436
|
getDelegateState(
|
|
434
|
-
params: GraphQLClient.GetDelegateStateParams
|
|
437
|
+
params: PartialDeep<GraphQLClient.GetDelegateStateParams>
|
|
435
438
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetDelegateState>;
|
|
436
439
|
getTokenState(
|
|
437
|
-
params: GraphQLClient.GetTokenStateParams
|
|
440
|
+
params: PartialDeep<GraphQLClient.GetTokenStateParams>
|
|
438
441
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetTokenState>;
|
|
439
442
|
getEvidenceState(
|
|
440
|
-
params: GraphQLClient.GetEvidenceStateParams
|
|
443
|
+
params: PartialDeep<GraphQLClient.GetEvidenceStateParams>
|
|
441
444
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetEvidenceState>;
|
|
442
445
|
getForgeState(
|
|
443
|
-
params: GraphQLClient.GetForgeStateParams
|
|
446
|
+
params: PartialDeep<GraphQLClient.GetForgeStateParams>
|
|
444
447
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetForgeState>;
|
|
445
|
-
getTx(params: GraphQLClient.GetTxParams): GraphQLClient.QueryResult<GraphQLClient.ResponseGetTx>;
|
|
446
|
-
getBlock(
|
|
447
|
-
|
|
448
|
+
getTx(params: PartialDeep<GraphQLClient.GetTxParams>): GraphQLClient.QueryResult<GraphQLClient.ResponseGetTx>;
|
|
449
|
+
getBlock(
|
|
450
|
+
params: PartialDeep<GraphQLClient.GetBlockParams>
|
|
451
|
+
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetBlock>;
|
|
452
|
+
getBlocks(
|
|
453
|
+
params: PartialDeep<GraphQLClient.GetBlocksParams>
|
|
454
|
+
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetBlocks>;
|
|
448
455
|
getUnconfirmedTxs(
|
|
449
|
-
params: GraphQLClient.GetUnconfirmedTxsParams
|
|
456
|
+
params: PartialDeep<GraphQLClient.GetUnconfirmedTxsParams>
|
|
450
457
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetUnconfirmedTxs>;
|
|
451
458
|
getChainInfo(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetChainInfo>;
|
|
452
|
-
getConfig(
|
|
459
|
+
getConfig(
|
|
460
|
+
params: PartialDeep<GraphQLClient.GetConfigParams>
|
|
461
|
+
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetConfig>;
|
|
453
462
|
getNetInfo(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetNetInfo>;
|
|
454
463
|
getNodeInfo(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetNodeInfo>;
|
|
455
464
|
getValidatorsInfo(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetValidatorsInfo>;
|
|
456
465
|
getForgeStats(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetForgeStats>;
|
|
457
466
|
listAssetTransactions(
|
|
458
|
-
params: GraphQLClient.ListAssetTransactionsParams
|
|
467
|
+
params: PartialDeep<GraphQLClient.ListAssetTransactionsParams>
|
|
459
468
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseListAssetTransactions>;
|
|
460
|
-
listAssets(
|
|
461
|
-
|
|
469
|
+
listAssets(
|
|
470
|
+
params: PartialDeep<GraphQLClient.ListAssetsParams>
|
|
471
|
+
): GraphQLClient.QueryResult<GraphQLClient.ResponseListAssets>;
|
|
472
|
+
listBlocks(
|
|
473
|
+
params: PartialDeep<GraphQLClient.ListBlocksParams>
|
|
474
|
+
): GraphQLClient.QueryResult<GraphQLClient.ResponseListBlocks>;
|
|
462
475
|
listTopAccounts(
|
|
463
|
-
params: GraphQLClient.ListTopAccountsParams
|
|
476
|
+
params: PartialDeep<GraphQLClient.ListTopAccountsParams>
|
|
464
477
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseListTopAccounts>;
|
|
465
478
|
listTransactions(
|
|
466
|
-
params: GraphQLClient.ListTransactionsParams
|
|
479
|
+
params: PartialDeep<GraphQLClient.ListTransactionsParams>
|
|
467
480
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseListTransactions>;
|
|
468
|
-
listTokens(
|
|
481
|
+
listTokens(
|
|
482
|
+
params: PartialDeep<GraphQLClient.ListTokensParams>
|
|
483
|
+
): GraphQLClient.QueryResult<GraphQLClient.ResponseListTokens>;
|
|
469
484
|
listFactories(
|
|
470
|
-
params: GraphQLClient.ListFactoriesParams
|
|
485
|
+
params: PartialDeep<GraphQLClient.ListFactoriesParams>
|
|
471
486
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseListFactories>;
|
|
472
487
|
getAccountTokens(
|
|
473
|
-
params: GraphQLClient.GetAccountTokensParams
|
|
488
|
+
params: PartialDeep<GraphQLClient.GetAccountTokensParams>
|
|
474
489
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetAccountTokens>;
|
|
475
490
|
getStakeState(
|
|
476
|
-
params: GraphQLClient.GetStakeStateParams
|
|
491
|
+
params: PartialDeep<GraphQLClient.GetStakeStateParams>
|
|
477
492
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetStakeState>;
|
|
478
|
-
listStakes(
|
|
493
|
+
listStakes(
|
|
494
|
+
params: PartialDeep<GraphQLClient.ListStakesParams>
|
|
495
|
+
): GraphQLClient.QueryResult<GraphQLClient.ResponseListStakes>;
|
|
479
496
|
getRollupState(
|
|
480
|
-
params: GraphQLClient.GetRollupStateParams
|
|
497
|
+
params: PartialDeep<GraphQLClient.GetRollupStateParams>
|
|
481
498
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetRollupState>;
|
|
482
|
-
listRollups(
|
|
499
|
+
listRollups(
|
|
500
|
+
params: PartialDeep<GraphQLClient.ListRollupsParams>
|
|
501
|
+
): GraphQLClient.QueryResult<GraphQLClient.ResponseListRollups>;
|
|
483
502
|
getRollupBlock(
|
|
484
|
-
params: GraphQLClient.GetRollupBlockParams
|
|
503
|
+
params: PartialDeep<GraphQLClient.GetRollupBlockParams>
|
|
485
504
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetRollupBlock>;
|
|
486
505
|
listRollupBlocks(
|
|
487
|
-
params: GraphQLClient.ListRollupBlocksParams
|
|
506
|
+
params: PartialDeep<GraphQLClient.ListRollupBlocksParams>
|
|
488
507
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseListRollupBlocks>;
|
|
489
508
|
listRollupValidators(
|
|
490
|
-
params: GraphQLClient.ListRollupValidatorsParams
|
|
509
|
+
params: PartialDeep<GraphQLClient.ListRollupValidatorsParams>
|
|
491
510
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseListRollupValidators>;
|
|
492
|
-
search(params: GraphQLClient.SearchParams): GraphQLClient.QueryResult<GraphQLClient.ResponseSearch>;
|
|
493
|
-
|
|
511
|
+
search(params: PartialDeep<GraphQLClient.SearchParams>): GraphQLClient.QueryResult<GraphQLClient.ResponseSearch>;
|
|
512
|
+
estimateGas(
|
|
513
|
+
params: PartialDeep<GraphQLClient.EstimateGasParams>
|
|
514
|
+
): GraphQLClient.QueryResult<GraphQLClient.ResponseEstimateGas>;
|
|
515
|
+
sendTx(params: PartialDeep<GraphQLClient.SendTxParams>): GraphQLClient.QueryResult<GraphQLClient.ResponseSendTx>;
|
|
494
516
|
}
|
|
495
517
|
|
|
496
518
|
declare namespace GraphQLClient {
|
|
497
|
-
|
|
519
|
+
interface QueryResult<T> {
|
|
498
520
|
then(fn: (result: T) => any): Promise<any>;
|
|
499
521
|
catch(fn: (err: Error) => any): Promise<any>;
|
|
500
522
|
}
|
|
501
523
|
|
|
502
|
-
|
|
524
|
+
interface SubscriptionResult<T> {
|
|
503
525
|
then(fn: (result: GraphQLClient.Subscription<T>) => any): Promise<any>;
|
|
504
526
|
catch(fn: (err: Error) => any): Promise<any>;
|
|
505
527
|
}
|
|
506
528
|
|
|
507
|
-
|
|
529
|
+
interface Subscription<T> {
|
|
508
530
|
on(event: 'data', fn: (data: T) => any): this;
|
|
509
531
|
on(event: 'error', fn: (err: Error) => void): this;
|
|
510
532
|
}
|
|
511
533
|
|
|
512
|
-
|
|
534
|
+
interface TxParam<T> {
|
|
513
535
|
tx: {
|
|
514
536
|
nonce?: number;
|
|
515
537
|
from?: string;
|
|
@@ -517,7 +539,7 @@ declare namespace GraphQLClient {
|
|
|
517
539
|
chainId?: string;
|
|
518
540
|
delegator?: string;
|
|
519
541
|
signature?: string;
|
|
520
|
-
signatures?: GraphQLClient.Multisig;
|
|
542
|
+
signatures?: PartialDeep<GraphQLClient.Multisig>[];
|
|
521
543
|
itx: T;
|
|
522
544
|
};
|
|
523
545
|
wallet: WalletObject;
|
|
@@ -525,30 +547,30 @@ declare namespace GraphQLClient {
|
|
|
525
547
|
signature?: string;
|
|
526
548
|
}
|
|
527
549
|
|
|
528
|
-
|
|
550
|
+
interface WalletTypeObject {
|
|
529
551
|
pk: number;
|
|
530
552
|
role: number;
|
|
531
553
|
address: number;
|
|
532
554
|
hash: number;
|
|
533
555
|
}
|
|
534
556
|
|
|
535
|
-
|
|
557
|
+
interface EncodeTxResult {
|
|
536
558
|
object: object;
|
|
537
559
|
buffer: buffer;
|
|
538
560
|
}
|
|
539
561
|
|
|
540
|
-
|
|
562
|
+
enum Direction {
|
|
541
563
|
MUTUAL,
|
|
542
564
|
ONE_WAY,
|
|
543
565
|
UNION,
|
|
544
566
|
}
|
|
545
567
|
|
|
546
|
-
|
|
568
|
+
enum EncodingType {
|
|
547
569
|
BASE16,
|
|
548
570
|
BASE58,
|
|
549
571
|
}
|
|
550
572
|
|
|
551
|
-
|
|
573
|
+
enum HashType {
|
|
552
574
|
KECCAK,
|
|
553
575
|
SHA3,
|
|
554
576
|
SHA2,
|
|
@@ -558,13 +580,13 @@ declare namespace GraphQLClient {
|
|
|
558
580
|
SHA3_512,
|
|
559
581
|
}
|
|
560
582
|
|
|
561
|
-
|
|
583
|
+
enum KeyType {
|
|
562
584
|
ED25519,
|
|
563
585
|
SECP256K1,
|
|
564
586
|
ETHEREUM,
|
|
565
587
|
}
|
|
566
588
|
|
|
567
|
-
|
|
589
|
+
enum RoleType {
|
|
568
590
|
ROLE_ACCOUNT,
|
|
569
591
|
ROLE_NODE,
|
|
570
592
|
ROLE_DEVICE,
|
|
@@ -589,7 +611,7 @@ declare namespace GraphQLClient {
|
|
|
589
611
|
ROLE_ANY,
|
|
590
612
|
}
|
|
591
613
|
|
|
592
|
-
|
|
614
|
+
enum StatusCode {
|
|
593
615
|
OK,
|
|
594
616
|
INVALID_NONCE,
|
|
595
617
|
INVALID_SIGNATURE,
|
|
@@ -667,7 +689,7 @@ declare namespace GraphQLClient {
|
|
|
667
689
|
TIMEOUT,
|
|
668
690
|
}
|
|
669
691
|
|
|
670
|
-
|
|
692
|
+
enum UpgradeAction {
|
|
671
693
|
VERIFY,
|
|
672
694
|
BACKUP,
|
|
673
695
|
REPLACE,
|
|
@@ -682,7 +704,7 @@ declare namespace GraphQLClient {
|
|
|
682
704
|
DROP_ADDRESS_BOOK,
|
|
683
705
|
}
|
|
684
706
|
|
|
685
|
-
|
|
707
|
+
enum UpgradeType {
|
|
686
708
|
CONFIG_APP,
|
|
687
709
|
CONFIG_FORGE,
|
|
688
710
|
CONFIG_DFS,
|
|
@@ -695,100 +717,239 @@ declare namespace GraphQLClient {
|
|
|
695
717
|
EXE_P2P,
|
|
696
718
|
}
|
|
697
719
|
|
|
698
|
-
|
|
720
|
+
enum Validity {
|
|
699
721
|
BOTH,
|
|
700
722
|
VALID,
|
|
701
723
|
INVALID,
|
|
702
724
|
}
|
|
703
725
|
|
|
704
|
-
|
|
726
|
+
interface AccountFilterInput {
|
|
727
|
+
accounts: string[];
|
|
728
|
+
}
|
|
705
729
|
|
|
706
|
-
|
|
730
|
+
interface AddressFilterInput {
|
|
731
|
+
sender: string;
|
|
732
|
+
receiver: string;
|
|
733
|
+
direction: GraphQLClient.Direction;
|
|
734
|
+
}
|
|
707
735
|
|
|
708
|
-
|
|
736
|
+
interface AssetFilterInput {
|
|
737
|
+
assets: string[];
|
|
738
|
+
}
|
|
709
739
|
|
|
710
|
-
|
|
740
|
+
interface FactoryFilterInput {
|
|
741
|
+
factories: string[];
|
|
742
|
+
}
|
|
711
743
|
|
|
712
|
-
|
|
744
|
+
interface PageInput {
|
|
745
|
+
cursor: string;
|
|
746
|
+
size: number;
|
|
747
|
+
order: GraphQLClient.PageOrderInput[];
|
|
748
|
+
}
|
|
713
749
|
|
|
714
|
-
|
|
750
|
+
interface PageOrderInput {
|
|
751
|
+
field: string;
|
|
752
|
+
type: string;
|
|
753
|
+
}
|
|
715
754
|
|
|
716
|
-
|
|
755
|
+
interface RangeFilterInput {
|
|
756
|
+
from: string;
|
|
757
|
+
to: string;
|
|
758
|
+
}
|
|
717
759
|
|
|
718
|
-
|
|
760
|
+
interface RequestEstimateGasInput {
|
|
761
|
+
typeUrl: string;
|
|
762
|
+
tx: string;
|
|
763
|
+
}
|
|
719
764
|
|
|
720
|
-
|
|
765
|
+
interface RequestGetAccountTokensInput {
|
|
766
|
+
address: string;
|
|
767
|
+
token: string;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
interface RequestGetBlockInput {
|
|
771
|
+
height: number;
|
|
772
|
+
}
|
|
721
773
|
|
|
722
|
-
|
|
774
|
+
interface RequestGetBlocksInput {
|
|
775
|
+
paging: GraphQLClient.PageInput;
|
|
776
|
+
heightFilter: GraphQLClient.RangeFilterInput;
|
|
777
|
+
emptyExcluded: boolean;
|
|
778
|
+
}
|
|
723
779
|
|
|
724
|
-
|
|
780
|
+
interface RequestGetConfigInput {
|
|
781
|
+
parsed: boolean;
|
|
782
|
+
}
|
|
725
783
|
|
|
726
|
-
|
|
784
|
+
interface RequestGetEvidenceStateInput {
|
|
785
|
+
hash: string;
|
|
786
|
+
}
|
|
727
787
|
|
|
728
|
-
|
|
788
|
+
interface RequestGetRollupBlockInput {
|
|
789
|
+
hash: string;
|
|
790
|
+
height: number;
|
|
791
|
+
rollupAddress: string;
|
|
792
|
+
}
|
|
729
793
|
|
|
730
|
-
|
|
794
|
+
interface RequestGetStateInput {
|
|
795
|
+
address: string;
|
|
796
|
+
keys: string[];
|
|
797
|
+
height: number;
|
|
798
|
+
}
|
|
731
799
|
|
|
732
|
-
|
|
800
|
+
interface RequestGetTxInput {
|
|
801
|
+
hash: string;
|
|
802
|
+
}
|
|
733
803
|
|
|
734
|
-
|
|
804
|
+
interface RequestListAssetTransactionsInput {
|
|
805
|
+
paging: GraphQLClient.PageInput;
|
|
806
|
+
address: string;
|
|
807
|
+
}
|
|
735
808
|
|
|
736
|
-
|
|
809
|
+
interface RequestListAssetsInput {
|
|
810
|
+
paging: GraphQLClient.PageInput;
|
|
811
|
+
ownerAddress: string;
|
|
812
|
+
factoryAddress: string;
|
|
813
|
+
timeFilter: GraphQLClient.TimeFilterInput;
|
|
814
|
+
}
|
|
737
815
|
|
|
738
|
-
|
|
816
|
+
interface RequestListBlocksInput {
|
|
817
|
+
paging: GraphQLClient.PageInput;
|
|
818
|
+
proposer: string;
|
|
819
|
+
timeFilter: GraphQLClient.TimeFilterInput;
|
|
820
|
+
heightFilter: GraphQLClient.RangeFilterInput;
|
|
821
|
+
numTxsFilter: GraphQLClient.RangeFilterInput;
|
|
822
|
+
numInvalidTxsFilter: GraphQLClient.RangeFilterInput;
|
|
823
|
+
}
|
|
739
824
|
|
|
740
|
-
|
|
825
|
+
interface RequestListFactoriesInput {
|
|
826
|
+
paging: GraphQLClient.PageInput;
|
|
827
|
+
ownerAddress: string;
|
|
828
|
+
addressList: string[];
|
|
829
|
+
}
|
|
741
830
|
|
|
742
|
-
|
|
831
|
+
interface RequestListRollupBlocksInput {
|
|
832
|
+
paging: GraphQLClient.PageInput;
|
|
833
|
+
rollupAddress: string;
|
|
834
|
+
tokenAddress: string;
|
|
835
|
+
proposer: string;
|
|
836
|
+
validatorFilter: GraphQLClient.ValidatorFilterInput;
|
|
837
|
+
txFilter: GraphQLClient.TxFilterInput;
|
|
838
|
+
timeFilter: GraphQLClient.TimeFilterInput;
|
|
839
|
+
}
|
|
743
840
|
|
|
744
|
-
|
|
841
|
+
interface RequestListRollupValidatorsInput {
|
|
842
|
+
paging: GraphQLClient.PageInput;
|
|
843
|
+
rollupAddress: string;
|
|
844
|
+
}
|
|
745
845
|
|
|
746
|
-
|
|
846
|
+
interface RequestListRollupsInput {
|
|
847
|
+
paging: GraphQLClient.PageInput;
|
|
848
|
+
tokenAddress: string;
|
|
849
|
+
foreignTokenAddress: string;
|
|
850
|
+
}
|
|
747
851
|
|
|
748
|
-
|
|
852
|
+
interface RequestListStakesInput {
|
|
853
|
+
paging: GraphQLClient.PageInput;
|
|
854
|
+
addressFilter: GraphQLClient.AddressFilterInput;
|
|
855
|
+
timeFilter: GraphQLClient.TimeFilterInput;
|
|
856
|
+
assetFilter: GraphQLClient.AssetFilterInput;
|
|
857
|
+
}
|
|
749
858
|
|
|
750
|
-
|
|
859
|
+
interface RequestListTokensInput {
|
|
860
|
+
paging: GraphQLClient.PageInput;
|
|
861
|
+
issuerAddress: string;
|
|
862
|
+
}
|
|
751
863
|
|
|
752
|
-
|
|
864
|
+
interface RequestListTopAccountsInput {
|
|
865
|
+
paging: GraphQLClient.PageInput;
|
|
866
|
+
tokenAddress: string;
|
|
867
|
+
}
|
|
753
868
|
|
|
754
|
-
|
|
869
|
+
interface RequestListTransactionsInput {
|
|
870
|
+
paging: GraphQLClient.PageInput;
|
|
871
|
+
timeFilter: GraphQLClient.TimeFilterInput;
|
|
872
|
+
addressFilter: GraphQLClient.AddressFilterInput;
|
|
873
|
+
typeFilter: GraphQLClient.TypeFilterInput;
|
|
874
|
+
validityFilter: GraphQLClient.ValidityFilterInput;
|
|
875
|
+
factoryFilter: GraphQLClient.FactoryFilterInput;
|
|
876
|
+
tokenFilter: GraphQLClient.TokenFilterInput;
|
|
877
|
+
assetFilter: GraphQLClient.AssetFilterInput;
|
|
878
|
+
accountFilter: GraphQLClient.AccountFilterInput;
|
|
879
|
+
txFilter: GraphQLClient.TxFilterInput;
|
|
880
|
+
rollupFilter: GraphQLClient.RollupFilterInput;
|
|
881
|
+
}
|
|
755
882
|
|
|
756
|
-
|
|
883
|
+
interface RequestSearchInput {
|
|
884
|
+
paging: GraphQLClient.PageInput;
|
|
885
|
+
keyword: string;
|
|
886
|
+
}
|
|
757
887
|
|
|
758
|
-
|
|
888
|
+
interface RequestSendTxInput {
|
|
889
|
+
tx: string;
|
|
890
|
+
wallet: GraphQLClient.WalletInfoInput;
|
|
891
|
+
token: string;
|
|
892
|
+
commit: boolean;
|
|
893
|
+
}
|
|
759
894
|
|
|
760
|
-
|
|
895
|
+
interface RollupFilterInput {
|
|
896
|
+
rollups: string[];
|
|
897
|
+
}
|
|
761
898
|
|
|
762
|
-
|
|
899
|
+
interface TimeFilterInput {
|
|
900
|
+
startDateTime: string;
|
|
901
|
+
endDateTime: string;
|
|
902
|
+
field: string;
|
|
903
|
+
}
|
|
763
904
|
|
|
764
|
-
|
|
905
|
+
interface TokenFilterInput {
|
|
906
|
+
tokens: string[];
|
|
907
|
+
}
|
|
765
908
|
|
|
766
|
-
|
|
909
|
+
interface TxFilterInput {
|
|
910
|
+
txs: string[];
|
|
911
|
+
}
|
|
767
912
|
|
|
768
|
-
|
|
913
|
+
interface TypeFilterInput {
|
|
914
|
+
types: string[];
|
|
915
|
+
}
|
|
769
916
|
|
|
770
|
-
|
|
917
|
+
interface ValidatorFilterInput {
|
|
918
|
+
validators: string[];
|
|
919
|
+
}
|
|
771
920
|
|
|
772
|
-
|
|
921
|
+
interface ValidityFilterInput {
|
|
922
|
+
validity: GraphQLClient.Validity;
|
|
923
|
+
}
|
|
773
924
|
|
|
774
|
-
|
|
925
|
+
interface WalletInfoInput {
|
|
926
|
+
type: GraphQLClient.WalletTypeInput;
|
|
927
|
+
sk: string;
|
|
928
|
+
pk: string;
|
|
929
|
+
address: string;
|
|
930
|
+
}
|
|
775
931
|
|
|
776
|
-
|
|
932
|
+
interface WalletTypeInput {
|
|
933
|
+
pk: GraphQLClient.KeyType;
|
|
934
|
+
hash: GraphQLClient.HashType;
|
|
935
|
+
address: GraphQLClient.EncodingType;
|
|
936
|
+
role: GraphQLClient.RoleType;
|
|
937
|
+
}
|
|
777
938
|
|
|
778
|
-
|
|
939
|
+
interface AccountConfig {
|
|
779
940
|
address: string;
|
|
780
941
|
pk: string;
|
|
781
942
|
balance: string;
|
|
782
943
|
}
|
|
783
944
|
|
|
784
|
-
|
|
945
|
+
interface AccountMigrateTx {
|
|
785
946
|
pk: string;
|
|
786
947
|
type: GraphQLClient.WalletType;
|
|
787
948
|
address: string;
|
|
788
949
|
data: GraphQLClient.Any;
|
|
789
950
|
}
|
|
790
951
|
|
|
791
|
-
|
|
952
|
+
interface AccountState {
|
|
792
953
|
balance: string;
|
|
793
954
|
nonce: string;
|
|
794
955
|
numTxs: string;
|
|
@@ -799,78 +960,78 @@ declare namespace GraphQLClient {
|
|
|
799
960
|
context: GraphQLClient.StateContext;
|
|
800
961
|
issuer: string;
|
|
801
962
|
gasBalance: string;
|
|
802
|
-
migratedTo:
|
|
803
|
-
migratedFrom:
|
|
963
|
+
migratedTo: string[];
|
|
964
|
+
migratedFrom: string[];
|
|
804
965
|
numAssets: string;
|
|
805
|
-
tokens:
|
|
966
|
+
tokens: GraphQLClient.IndexedTokenInput[];
|
|
806
967
|
data: GraphQLClient.Any;
|
|
807
968
|
}
|
|
808
969
|
|
|
809
|
-
|
|
970
|
+
interface AccountToken {
|
|
810
971
|
address: string;
|
|
811
972
|
symbol: string;
|
|
812
973
|
balance: string;
|
|
813
974
|
decimal: number;
|
|
814
975
|
}
|
|
815
976
|
|
|
816
|
-
|
|
977
|
+
interface AcquireAssetV2Tx {
|
|
817
978
|
factory: string;
|
|
818
979
|
address: string;
|
|
819
|
-
assets:
|
|
820
|
-
variables:
|
|
980
|
+
assets: string[];
|
|
981
|
+
variables: GraphQLClient.VariableInput[];
|
|
821
982
|
issuer: GraphQLClient.NFTIssuer;
|
|
822
983
|
data: GraphQLClient.Any;
|
|
823
984
|
}
|
|
824
985
|
|
|
825
|
-
|
|
986
|
+
interface AcquireAssetV3Tx {
|
|
826
987
|
factory: string;
|
|
827
988
|
address: string;
|
|
828
|
-
inputs:
|
|
989
|
+
inputs: GraphQLClient.TransactionInput[];
|
|
829
990
|
owner: string;
|
|
830
|
-
variables:
|
|
991
|
+
variables: GraphQLClient.VariableInput[];
|
|
831
992
|
issuer: GraphQLClient.NFTIssuer;
|
|
832
993
|
data: GraphQLClient.Any;
|
|
833
994
|
}
|
|
834
995
|
|
|
835
|
-
|
|
996
|
+
interface Any {
|
|
836
997
|
typeUrl: string;
|
|
837
998
|
value: string;
|
|
838
999
|
}
|
|
839
1000
|
|
|
840
|
-
|
|
1001
|
+
interface AssetFactoryHook {
|
|
841
1002
|
name: string;
|
|
842
1003
|
type: string;
|
|
843
1004
|
hook: string;
|
|
844
1005
|
}
|
|
845
1006
|
|
|
846
|
-
|
|
1007
|
+
interface AssetFactoryInput {
|
|
847
1008
|
value: string;
|
|
848
|
-
tokens:
|
|
849
|
-
assets:
|
|
850
|
-
variables:
|
|
1009
|
+
tokens: GraphQLClient.TokenInput[];
|
|
1010
|
+
assets: string[];
|
|
1011
|
+
variables: GraphQLClient.VariableInput[];
|
|
851
1012
|
}
|
|
852
1013
|
|
|
853
|
-
|
|
1014
|
+
interface AssetFactoryState {
|
|
854
1015
|
address: string;
|
|
855
1016
|
owner: string;
|
|
856
1017
|
name: string;
|
|
857
1018
|
description: string;
|
|
858
1019
|
settlement: string;
|
|
859
1020
|
limit: number;
|
|
860
|
-
trustedIssuers:
|
|
1021
|
+
trustedIssuers: string[];
|
|
861
1022
|
input: GraphQLClient.IndexedFactoryInput;
|
|
862
1023
|
output: GraphQLClient.CreateAssetTx;
|
|
863
|
-
hooks:
|
|
1024
|
+
hooks: GraphQLClient.AssetFactoryHook[];
|
|
864
1025
|
data: GraphQLClient.Any;
|
|
865
1026
|
context: GraphQLClient.StateContext;
|
|
866
1027
|
balance: string;
|
|
867
|
-
tokens:
|
|
1028
|
+
tokens: GraphQLClient.IndexedTokenInput[];
|
|
868
1029
|
numMinted: number;
|
|
869
1030
|
display: GraphQLClient.NFTDisplay;
|
|
870
1031
|
lastSettlement: string;
|
|
871
1032
|
}
|
|
872
1033
|
|
|
873
|
-
|
|
1034
|
+
interface AssetState {
|
|
874
1035
|
address: string;
|
|
875
1036
|
owner: string;
|
|
876
1037
|
moniker: string;
|
|
@@ -882,27 +1043,27 @@ declare namespace GraphQLClient {
|
|
|
882
1043
|
parent: string;
|
|
883
1044
|
endpoint: GraphQLClient.NFTEndpoint;
|
|
884
1045
|
display: GraphQLClient.NFTDisplay;
|
|
885
|
-
tags:
|
|
1046
|
+
tags: string[];
|
|
886
1047
|
context: GraphQLClient.StateContext;
|
|
887
1048
|
data: GraphQLClient.Any;
|
|
888
1049
|
}
|
|
889
1050
|
|
|
890
|
-
|
|
1051
|
+
interface BlockID {
|
|
891
1052
|
hash: string;
|
|
892
1053
|
partsHeader: GraphQLClient.PartSetHeader;
|
|
893
1054
|
}
|
|
894
1055
|
|
|
895
|
-
|
|
1056
|
+
interface BlockInfo {
|
|
896
1057
|
height: string;
|
|
897
1058
|
numTxs: number;
|
|
898
1059
|
time: string;
|
|
899
1060
|
appHash: string;
|
|
900
1061
|
proposer: string;
|
|
901
|
-
txs:
|
|
1062
|
+
txs: GraphQLClient.TransactionInfo[];
|
|
902
1063
|
totalTxs: string;
|
|
903
|
-
invalidTxs:
|
|
904
|
-
txsHashes:
|
|
905
|
-
invalidTxsHashes:
|
|
1064
|
+
invalidTxs: GraphQLClient.TransactionInfo[];
|
|
1065
|
+
txsHashes: string[];
|
|
1066
|
+
invalidTxsHashes: string[];
|
|
906
1067
|
consensusHash: string;
|
|
907
1068
|
dataHash: string;
|
|
908
1069
|
evidenceHash: string;
|
|
@@ -914,15 +1075,15 @@ declare namespace GraphQLClient {
|
|
|
914
1075
|
lastBlockId: GraphQLClient.BlockID;
|
|
915
1076
|
}
|
|
916
1077
|
|
|
917
|
-
|
|
1078
|
+
interface BlockInfoSimple {
|
|
918
1079
|
height: string;
|
|
919
1080
|
numTxs: number;
|
|
920
1081
|
time: string;
|
|
921
1082
|
appHash: string;
|
|
922
1083
|
proposer: string;
|
|
923
1084
|
totalTxs: string;
|
|
924
|
-
txsHashes:
|
|
925
|
-
invalidTxsHashes:
|
|
1085
|
+
txsHashes: string[];
|
|
1086
|
+
invalidTxsHashes: string[];
|
|
926
1087
|
consensusHash: string;
|
|
927
1088
|
dataHash: string;
|
|
928
1089
|
evidenceHash: string;
|
|
@@ -934,7 +1095,7 @@ declare namespace GraphQLClient {
|
|
|
934
1095
|
lastBlockId: GraphQLClient.BlockID;
|
|
935
1096
|
}
|
|
936
1097
|
|
|
937
|
-
|
|
1098
|
+
interface ChainInfo {
|
|
938
1099
|
id: string;
|
|
939
1100
|
network: string;
|
|
940
1101
|
moniker: string;
|
|
@@ -948,16 +1109,16 @@ declare namespace GraphQLClient {
|
|
|
948
1109
|
votingPower: string;
|
|
949
1110
|
totalTxs: string;
|
|
950
1111
|
version: string;
|
|
951
|
-
forgeAppsVersion:
|
|
952
|
-
supportedTxs:
|
|
1112
|
+
forgeAppsVersion: GraphQLClient.ChainInfo_ForgeAppsVersionEntry[];
|
|
1113
|
+
supportedTxs: string[];
|
|
953
1114
|
}
|
|
954
1115
|
|
|
955
|
-
|
|
1116
|
+
interface ChainInfo_ForgeAppsVersionEntry {
|
|
956
1117
|
key: string;
|
|
957
1118
|
value: string;
|
|
958
1119
|
}
|
|
959
1120
|
|
|
960
|
-
|
|
1121
|
+
interface ClaimBlockRewardTx {
|
|
961
1122
|
rollup: string;
|
|
962
1123
|
blockHeight: number;
|
|
963
1124
|
blockHash: string;
|
|
@@ -966,24 +1127,24 @@ declare namespace GraphQLClient {
|
|
|
966
1127
|
data: GraphQLClient.Any;
|
|
967
1128
|
}
|
|
968
1129
|
|
|
969
|
-
|
|
1130
|
+
interface ClaimStakeTx {
|
|
970
1131
|
address: string;
|
|
971
1132
|
evidence: GraphQLClient.Evidence;
|
|
972
1133
|
data: GraphQLClient.Any;
|
|
973
1134
|
}
|
|
974
1135
|
|
|
975
|
-
|
|
1136
|
+
interface ConsensusParams {
|
|
976
1137
|
maxBytes: string;
|
|
977
1138
|
maxGas: string;
|
|
978
1139
|
maxValidators: number;
|
|
979
1140
|
maxCandidates: number;
|
|
980
|
-
pubKeyTypes:
|
|
981
|
-
validators:
|
|
1141
|
+
pubKeyTypes: string[];
|
|
1142
|
+
validators: GraphQLClient.Validator[];
|
|
982
1143
|
validatorChanged: boolean;
|
|
983
1144
|
paramChanged: boolean;
|
|
984
1145
|
}
|
|
985
1146
|
|
|
986
|
-
|
|
1147
|
+
interface CreateAssetTx {
|
|
987
1148
|
moniker: string;
|
|
988
1149
|
data: GraphQLClient.Any;
|
|
989
1150
|
readonly: boolean;
|
|
@@ -994,42 +1155,42 @@ declare namespace GraphQLClient {
|
|
|
994
1155
|
issuer: string;
|
|
995
1156
|
endpoint: GraphQLClient.NFTEndpoint;
|
|
996
1157
|
display: GraphQLClient.NFTDisplay;
|
|
997
|
-
tags:
|
|
1158
|
+
tags: string[];
|
|
998
1159
|
}
|
|
999
1160
|
|
|
1000
|
-
|
|
1161
|
+
interface CreateFactoryTx {
|
|
1001
1162
|
name: string;
|
|
1002
1163
|
description: string;
|
|
1003
1164
|
settlement: string;
|
|
1004
1165
|
limit: number;
|
|
1005
|
-
trustedIssuers:
|
|
1166
|
+
trustedIssuers: string[];
|
|
1006
1167
|
input: GraphQLClient.AssetFactoryInput;
|
|
1007
1168
|
output: GraphQLClient.CreateAssetTx;
|
|
1008
|
-
hooks:
|
|
1169
|
+
hooks: GraphQLClient.AssetFactoryHook[];
|
|
1009
1170
|
address: string;
|
|
1010
1171
|
display: GraphQLClient.NFTDisplay;
|
|
1011
1172
|
data: GraphQLClient.Any;
|
|
1012
1173
|
}
|
|
1013
1174
|
|
|
1014
|
-
|
|
1175
|
+
interface CreateRollupBlockTx {
|
|
1015
1176
|
hash: string;
|
|
1016
1177
|
height: number;
|
|
1017
1178
|
merkleRoot: string;
|
|
1018
1179
|
previousHash: string;
|
|
1019
1180
|
txsHash: string;
|
|
1020
|
-
txs:
|
|
1181
|
+
txs: string[];
|
|
1021
1182
|
proposer: string;
|
|
1022
|
-
signatures:
|
|
1183
|
+
signatures: GraphQLClient.Multisig[];
|
|
1023
1184
|
rollup: string;
|
|
1024
1185
|
minReward: string;
|
|
1025
1186
|
data: GraphQLClient.Any;
|
|
1026
1187
|
}
|
|
1027
1188
|
|
|
1028
|
-
|
|
1189
|
+
interface CreateRollupTx {
|
|
1029
1190
|
address: string;
|
|
1030
1191
|
tokenAddress: string;
|
|
1031
1192
|
contractAddress: string;
|
|
1032
|
-
seedValidators:
|
|
1193
|
+
seedValidators: GraphQLClient.RollupValidator[];
|
|
1033
1194
|
minStakeAmount: string;
|
|
1034
1195
|
maxStakeAmount: string;
|
|
1035
1196
|
minSignerCount: number;
|
|
@@ -1059,7 +1220,7 @@ declare namespace GraphQLClient {
|
|
|
1059
1220
|
data: GraphQLClient.Any;
|
|
1060
1221
|
}
|
|
1061
1222
|
|
|
1062
|
-
|
|
1223
|
+
interface CreateTokenTx {
|
|
1063
1224
|
name: string;
|
|
1064
1225
|
description: string;
|
|
1065
1226
|
symbol: string;
|
|
@@ -1073,23 +1234,23 @@ declare namespace GraphQLClient {
|
|
|
1073
1234
|
data: GraphQLClient.Any;
|
|
1074
1235
|
}
|
|
1075
1236
|
|
|
1076
|
-
|
|
1237
|
+
interface DeclareTx {
|
|
1077
1238
|
moniker: string;
|
|
1078
1239
|
issuer: string;
|
|
1079
1240
|
data: GraphQLClient.Any;
|
|
1080
1241
|
}
|
|
1081
1242
|
|
|
1082
|
-
|
|
1243
|
+
interface DelegateConfig {
|
|
1083
1244
|
deltaInterval: number;
|
|
1084
|
-
typeUrls:
|
|
1245
|
+
typeUrls: string[];
|
|
1085
1246
|
}
|
|
1086
1247
|
|
|
1087
|
-
|
|
1248
|
+
interface DelegateOp {
|
|
1088
1249
|
typeUrl: string;
|
|
1089
|
-
rules:
|
|
1250
|
+
rules: string[];
|
|
1090
1251
|
}
|
|
1091
1252
|
|
|
1092
|
-
|
|
1253
|
+
interface DelegateOpState {
|
|
1093
1254
|
rule: string;
|
|
1094
1255
|
numTxs: number;
|
|
1095
1256
|
numTxsDelta: number;
|
|
@@ -1097,26 +1258,26 @@ declare namespace GraphQLClient {
|
|
|
1097
1258
|
balanceDelta: string;
|
|
1098
1259
|
}
|
|
1099
1260
|
|
|
1100
|
-
|
|
1261
|
+
interface DelegateState {
|
|
1101
1262
|
address: string;
|
|
1102
|
-
ops:
|
|
1263
|
+
ops: GraphQLClient.DelegateState_OpsEntry[];
|
|
1103
1264
|
context: GraphQLClient.StateContext;
|
|
1104
1265
|
data: GraphQLClient.Any;
|
|
1105
1266
|
}
|
|
1106
1267
|
|
|
1107
|
-
|
|
1268
|
+
interface DelegateState_OpsEntry {
|
|
1108
1269
|
key: string;
|
|
1109
1270
|
value: GraphQLClient.DelegateOpState;
|
|
1110
1271
|
}
|
|
1111
1272
|
|
|
1112
|
-
|
|
1273
|
+
interface DelegateTx {
|
|
1113
1274
|
address: string;
|
|
1114
1275
|
to: string;
|
|
1115
|
-
ops:
|
|
1276
|
+
ops: GraphQLClient.DelegateOp[];
|
|
1116
1277
|
data: GraphQLClient.Any;
|
|
1117
1278
|
}
|
|
1118
1279
|
|
|
1119
|
-
|
|
1280
|
+
interface DepositTokenV2Tx {
|
|
1120
1281
|
token: GraphQLClient.TokenInput;
|
|
1121
1282
|
to: string;
|
|
1122
1283
|
proposer: string;
|
|
@@ -1126,28 +1287,28 @@ declare namespace GraphQLClient {
|
|
|
1126
1287
|
data: GraphQLClient.Any;
|
|
1127
1288
|
}
|
|
1128
1289
|
|
|
1129
|
-
|
|
1290
|
+
interface Evidence {
|
|
1130
1291
|
hash: string;
|
|
1131
1292
|
}
|
|
1132
1293
|
|
|
1133
|
-
|
|
1294
|
+
interface EvidenceState {
|
|
1134
1295
|
hash: string;
|
|
1135
1296
|
data: string;
|
|
1136
1297
|
context: GraphQLClient.StateContext;
|
|
1137
1298
|
}
|
|
1138
1299
|
|
|
1139
|
-
|
|
1300
|
+
interface ExchangeInfo {
|
|
1140
1301
|
value: string;
|
|
1141
|
-
assets:
|
|
1302
|
+
assets: string[];
|
|
1142
1303
|
}
|
|
1143
1304
|
|
|
1144
|
-
|
|
1305
|
+
interface ExchangeInfoV2 {
|
|
1145
1306
|
value: string;
|
|
1146
|
-
assets:
|
|
1147
|
-
tokens:
|
|
1307
|
+
assets: string[];
|
|
1308
|
+
tokens: GraphQLClient.TokenInput[];
|
|
1148
1309
|
}
|
|
1149
1310
|
|
|
1150
|
-
|
|
1311
|
+
interface ExchangeTx {
|
|
1151
1312
|
to: string;
|
|
1152
1313
|
sender: GraphQLClient.ExchangeInfo;
|
|
1153
1314
|
receiver: GraphQLClient.ExchangeInfo;
|
|
@@ -1155,7 +1316,7 @@ declare namespace GraphQLClient {
|
|
|
1155
1316
|
data: GraphQLClient.Any;
|
|
1156
1317
|
}
|
|
1157
1318
|
|
|
1158
|
-
|
|
1319
|
+
interface ExchangeV2Tx {
|
|
1159
1320
|
to: string;
|
|
1160
1321
|
sender: GraphQLClient.ExchangeInfoV2;
|
|
1161
1322
|
receiver: GraphQLClient.ExchangeInfoV2;
|
|
@@ -1163,7 +1324,7 @@ declare namespace GraphQLClient {
|
|
|
1163
1324
|
data: GraphQLClient.Any;
|
|
1164
1325
|
}
|
|
1165
1326
|
|
|
1166
|
-
|
|
1327
|
+
interface ForeignToken {
|
|
1167
1328
|
type: string;
|
|
1168
1329
|
contractAddress: string;
|
|
1169
1330
|
chainType: string;
|
|
@@ -1171,46 +1332,46 @@ declare namespace GraphQLClient {
|
|
|
1171
1332
|
chainId: number;
|
|
1172
1333
|
}
|
|
1173
1334
|
|
|
1174
|
-
|
|
1335
|
+
interface ForgeState {
|
|
1175
1336
|
address: string;
|
|
1176
1337
|
consensus: GraphQLClient.ConsensusParams;
|
|
1177
|
-
tasks:
|
|
1338
|
+
tasks: GraphQLClient.ForgeState_TasksEntry[];
|
|
1178
1339
|
version: string;
|
|
1179
1340
|
token: GraphQLClient.ForgeToken;
|
|
1180
1341
|
txConfig: GraphQLClient.TransactionConfig;
|
|
1181
1342
|
upgradeInfo: GraphQLClient.UpgradeInfo;
|
|
1182
|
-
accountConfig:
|
|
1343
|
+
accountConfig: GraphQLClient.AccountConfig[];
|
|
1183
1344
|
data: GraphQLClient.Any;
|
|
1184
1345
|
}
|
|
1185
1346
|
|
|
1186
|
-
|
|
1347
|
+
interface ForgeState_TasksEntry {
|
|
1187
1348
|
key: number;
|
|
1188
1349
|
value: GraphQLClient.UpgradeTasks;
|
|
1189
1350
|
}
|
|
1190
1351
|
|
|
1191
|
-
|
|
1192
|
-
numBlocks:
|
|
1193
|
-
numTxs:
|
|
1194
|
-
numStakes:
|
|
1195
|
-
numValidators:
|
|
1196
|
-
numAccountMigrateTxs:
|
|
1197
|
-
numCreateAssetTxs:
|
|
1198
|
-
numConsensusUpgradeTxs:
|
|
1199
|
-
numDeclareTxs:
|
|
1200
|
-
numDeclareFileTxs:
|
|
1201
|
-
numExchangeTxs:
|
|
1202
|
-
numStakeTxs:
|
|
1203
|
-
numSysUpgradeTxs:
|
|
1204
|
-
numTransferTxs:
|
|
1205
|
-
numUpdateAssetTxs:
|
|
1206
|
-
numConsumeAssetTxs:
|
|
1207
|
-
tps:
|
|
1352
|
+
interface ForgeStats {
|
|
1353
|
+
numBlocks: string[];
|
|
1354
|
+
numTxs: string[];
|
|
1355
|
+
numStakes: string[];
|
|
1356
|
+
numValidators: number[];
|
|
1357
|
+
numAccountMigrateTxs: string[];
|
|
1358
|
+
numCreateAssetTxs: string[];
|
|
1359
|
+
numConsensusUpgradeTxs: number[];
|
|
1360
|
+
numDeclareTxs: string[];
|
|
1361
|
+
numDeclareFileTxs: string[];
|
|
1362
|
+
numExchangeTxs: string[];
|
|
1363
|
+
numStakeTxs: string[];
|
|
1364
|
+
numSysUpgradeTxs: number[];
|
|
1365
|
+
numTransferTxs: string[];
|
|
1366
|
+
numUpdateAssetTxs: string[];
|
|
1367
|
+
numConsumeAssetTxs: string[];
|
|
1368
|
+
tps: number[];
|
|
1208
1369
|
maxTps: number;
|
|
1209
1370
|
avgTps: number;
|
|
1210
1371
|
avgBlockTime: number;
|
|
1211
1372
|
}
|
|
1212
1373
|
|
|
1213
|
-
|
|
1374
|
+
interface ForgeToken {
|
|
1214
1375
|
name: string;
|
|
1215
1376
|
symbol: string;
|
|
1216
1377
|
unit: string;
|
|
@@ -1223,14 +1384,18 @@ declare namespace GraphQLClient {
|
|
|
1223
1384
|
address: string;
|
|
1224
1385
|
}
|
|
1225
1386
|
|
|
1226
|
-
|
|
1387
|
+
interface GasEstimate {
|
|
1388
|
+
max: string;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
interface GeoInfo {
|
|
1227
1392
|
city: string;
|
|
1228
1393
|
country: string;
|
|
1229
1394
|
latitude: number;
|
|
1230
1395
|
longitude: number;
|
|
1231
1396
|
}
|
|
1232
1397
|
|
|
1233
|
-
|
|
1398
|
+
interface IndexedAccountState {
|
|
1234
1399
|
address: string;
|
|
1235
1400
|
balance: string;
|
|
1236
1401
|
numAssets: string;
|
|
@@ -1244,11 +1409,11 @@ declare namespace GraphQLClient {
|
|
|
1244
1409
|
totalReceivedStakes: string;
|
|
1245
1410
|
totalStakes: string;
|
|
1246
1411
|
totalUnstakes: string;
|
|
1247
|
-
recentNumTxs:
|
|
1248
|
-
tokens:
|
|
1412
|
+
recentNumTxs: string[];
|
|
1413
|
+
tokens: GraphQLClient.TokenInfo[];
|
|
1249
1414
|
}
|
|
1250
1415
|
|
|
1251
|
-
|
|
1416
|
+
interface IndexedAssetState {
|
|
1252
1417
|
address: string;
|
|
1253
1418
|
owner: string;
|
|
1254
1419
|
genesisTime: string;
|
|
@@ -1262,11 +1427,11 @@ declare namespace GraphQLClient {
|
|
|
1262
1427
|
ttl: string;
|
|
1263
1428
|
display: GraphQLClient.NFTDisplay;
|
|
1264
1429
|
endpoint: GraphQLClient.NFTEndpoint;
|
|
1265
|
-
tags:
|
|
1430
|
+
tags: string[];
|
|
1266
1431
|
data: GraphQLClient.Any;
|
|
1267
1432
|
}
|
|
1268
1433
|
|
|
1269
|
-
|
|
1434
|
+
interface IndexedBlock {
|
|
1270
1435
|
height: string;
|
|
1271
1436
|
time: string;
|
|
1272
1437
|
proposer: string;
|
|
@@ -1274,27 +1439,27 @@ declare namespace GraphQLClient {
|
|
|
1274
1439
|
numInvalidTxs: string;
|
|
1275
1440
|
}
|
|
1276
1441
|
|
|
1277
|
-
|
|
1442
|
+
interface IndexedFactoryInput {
|
|
1278
1443
|
value: string;
|
|
1279
|
-
tokens:
|
|
1280
|
-
assets:
|
|
1281
|
-
variables:
|
|
1444
|
+
tokens: GraphQLClient.IndexedTokenInput[];
|
|
1445
|
+
assets: string[];
|
|
1446
|
+
variables: GraphQLClient.VariableInput[];
|
|
1282
1447
|
}
|
|
1283
1448
|
|
|
1284
|
-
|
|
1449
|
+
interface IndexedFactoryState {
|
|
1285
1450
|
address: string;
|
|
1286
1451
|
owner: string;
|
|
1287
1452
|
name: string;
|
|
1288
1453
|
description: string;
|
|
1289
1454
|
settlement: string;
|
|
1290
1455
|
limit: string;
|
|
1291
|
-
trustedIssuers:
|
|
1456
|
+
trustedIssuers: string[];
|
|
1292
1457
|
input: GraphQLClient.IndexedFactoryInput;
|
|
1293
1458
|
output: GraphQLClient.CreateAssetTx;
|
|
1294
|
-
hooks:
|
|
1459
|
+
hooks: GraphQLClient.AssetFactoryHook[];
|
|
1295
1460
|
data: GraphQLClient.Any;
|
|
1296
1461
|
balance: string;
|
|
1297
|
-
tokens:
|
|
1462
|
+
tokens: GraphQLClient.TokenInfo[];
|
|
1298
1463
|
numMinted: number;
|
|
1299
1464
|
lastSettlement: string;
|
|
1300
1465
|
genesisTime: string;
|
|
@@ -1302,15 +1467,15 @@ declare namespace GraphQLClient {
|
|
|
1302
1467
|
display: GraphQLClient.NFTDisplay;
|
|
1303
1468
|
}
|
|
1304
1469
|
|
|
1305
|
-
|
|
1470
|
+
interface IndexedRollupBlock {
|
|
1306
1471
|
hash: string;
|
|
1307
1472
|
height: number;
|
|
1308
1473
|
merkleRoot: string;
|
|
1309
1474
|
previousHash: string;
|
|
1310
1475
|
txsHash: string;
|
|
1311
|
-
txs:
|
|
1476
|
+
txs: string[];
|
|
1312
1477
|
proposer: string;
|
|
1313
|
-
signatures:
|
|
1478
|
+
signatures: GraphQLClient.Multisig[];
|
|
1314
1479
|
genesisTime: string;
|
|
1315
1480
|
renaissanceTime: string;
|
|
1316
1481
|
rollup: string;
|
|
@@ -1321,12 +1486,12 @@ declare namespace GraphQLClient {
|
|
|
1321
1486
|
data: GraphQLClient.Any;
|
|
1322
1487
|
}
|
|
1323
1488
|
|
|
1324
|
-
|
|
1489
|
+
interface IndexedRollupState {
|
|
1325
1490
|
address: string;
|
|
1326
1491
|
tokenAddress: string;
|
|
1327
1492
|
contractAddress: string;
|
|
1328
|
-
seedValidators:
|
|
1329
|
-
validators:
|
|
1493
|
+
seedValidators: GraphQLClient.RollupValidator[];
|
|
1494
|
+
validators: GraphQLClient.RollupValidator[];
|
|
1330
1495
|
minStakeAmount: string;
|
|
1331
1496
|
maxStakeAmount: string;
|
|
1332
1497
|
minSignerCount: number;
|
|
@@ -1360,11 +1525,11 @@ declare namespace GraphQLClient {
|
|
|
1360
1525
|
publisherFeeShare: number;
|
|
1361
1526
|
publishWaitingPeriod: number;
|
|
1362
1527
|
publishSlashRate: number;
|
|
1363
|
-
migrateHistory:
|
|
1528
|
+
migrateHistory: string[];
|
|
1364
1529
|
data: GraphQLClient.Any;
|
|
1365
1530
|
}
|
|
1366
1531
|
|
|
1367
|
-
|
|
1532
|
+
interface IndexedRollupValidator {
|
|
1368
1533
|
pk: string;
|
|
1369
1534
|
address: string;
|
|
1370
1535
|
moniker: string;
|
|
@@ -1384,23 +1549,23 @@ declare namespace GraphQLClient {
|
|
|
1384
1549
|
rollup: string;
|
|
1385
1550
|
}
|
|
1386
1551
|
|
|
1387
|
-
|
|
1552
|
+
interface IndexedStakeState {
|
|
1388
1553
|
address: string;
|
|
1389
1554
|
sender: string;
|
|
1390
1555
|
receiver: string;
|
|
1391
|
-
tokens:
|
|
1392
|
-
assets:
|
|
1556
|
+
tokens: GraphQLClient.TokenInfo[];
|
|
1557
|
+
assets: string[];
|
|
1393
1558
|
revocable: boolean;
|
|
1394
1559
|
genesisTime: string;
|
|
1395
1560
|
renaissanceTime: string;
|
|
1396
1561
|
message: string;
|
|
1397
1562
|
revokeWaitingPeriod: number;
|
|
1398
|
-
revokedTokens:
|
|
1399
|
-
revokedAssets:
|
|
1563
|
+
revokedTokens: GraphQLClient.TokenInfo[];
|
|
1564
|
+
revokedAssets: string[];
|
|
1400
1565
|
data: GraphQLClient.Any;
|
|
1401
1566
|
}
|
|
1402
1567
|
|
|
1403
|
-
|
|
1568
|
+
interface IndexedTokenInput {
|
|
1404
1569
|
address: string;
|
|
1405
1570
|
value: string;
|
|
1406
1571
|
decimal: number;
|
|
@@ -1408,7 +1573,7 @@ declare namespace GraphQLClient {
|
|
|
1408
1573
|
symbol: string;
|
|
1409
1574
|
}
|
|
1410
1575
|
|
|
1411
|
-
|
|
1576
|
+
interface IndexedTokenState {
|
|
1412
1577
|
name: string;
|
|
1413
1578
|
description: string;
|
|
1414
1579
|
symbol: string;
|
|
@@ -1424,7 +1589,7 @@ declare namespace GraphQLClient {
|
|
|
1424
1589
|
data: GraphQLClient.Any;
|
|
1425
1590
|
}
|
|
1426
1591
|
|
|
1427
|
-
|
|
1592
|
+
interface IndexedTransaction {
|
|
1428
1593
|
hash: string;
|
|
1429
1594
|
sender: string;
|
|
1430
1595
|
receiver: string;
|
|
@@ -1433,37 +1598,37 @@ declare namespace GraphQLClient {
|
|
|
1433
1598
|
tx: GraphQLClient.Transaction;
|
|
1434
1599
|
valid: boolean;
|
|
1435
1600
|
code: string;
|
|
1436
|
-
tokenSymbols:
|
|
1437
|
-
receipts:
|
|
1601
|
+
tokenSymbols: GraphQLClient.TokenSymbol[];
|
|
1602
|
+
receipts: GraphQLClient.TransactionReceipt[];
|
|
1438
1603
|
}
|
|
1439
1604
|
|
|
1440
|
-
|
|
1605
|
+
interface JoinRollupTx {
|
|
1441
1606
|
rollup: string;
|
|
1442
1607
|
endpoint: string;
|
|
1443
1608
|
evidence: GraphQLClient.Evidence;
|
|
1444
|
-
signatures:
|
|
1609
|
+
signatures: GraphQLClient.Multisig[];
|
|
1445
1610
|
data: GraphQLClient.Any;
|
|
1446
1611
|
}
|
|
1447
1612
|
|
|
1448
|
-
|
|
1613
|
+
interface KVPair {
|
|
1449
1614
|
key: string;
|
|
1450
1615
|
value: string;
|
|
1451
1616
|
}
|
|
1452
1617
|
|
|
1453
|
-
|
|
1618
|
+
interface LeaveRollupTx {
|
|
1454
1619
|
rollup: string;
|
|
1455
1620
|
evidence: GraphQLClient.Evidence;
|
|
1456
|
-
signatures:
|
|
1621
|
+
signatures: GraphQLClient.Multisig[];
|
|
1457
1622
|
data: GraphQLClient.Any;
|
|
1458
1623
|
}
|
|
1459
1624
|
|
|
1460
|
-
|
|
1625
|
+
interface MigrateRollupContractTx {
|
|
1461
1626
|
rollup: string;
|
|
1462
1627
|
to: string;
|
|
1463
1628
|
data: GraphQLClient.Any;
|
|
1464
1629
|
}
|
|
1465
1630
|
|
|
1466
|
-
|
|
1631
|
+
interface MigrateRollupTokenTx {
|
|
1467
1632
|
rollup: string;
|
|
1468
1633
|
from: string;
|
|
1469
1634
|
to: string;
|
|
@@ -1471,16 +1636,16 @@ declare namespace GraphQLClient {
|
|
|
1471
1636
|
data: GraphQLClient.Any;
|
|
1472
1637
|
}
|
|
1473
1638
|
|
|
1474
|
-
|
|
1639
|
+
interface MintAssetTx {
|
|
1475
1640
|
factory: string;
|
|
1476
1641
|
address: string;
|
|
1477
|
-
assets:
|
|
1478
|
-
variables:
|
|
1642
|
+
assets: string[];
|
|
1643
|
+
variables: GraphQLClient.VariableInput[];
|
|
1479
1644
|
owner: string;
|
|
1480
1645
|
data: GraphQLClient.Any;
|
|
1481
1646
|
}
|
|
1482
1647
|
|
|
1483
|
-
|
|
1648
|
+
interface Multisig {
|
|
1484
1649
|
signer: string;
|
|
1485
1650
|
pk: string;
|
|
1486
1651
|
signature: string;
|
|
@@ -1488,30 +1653,30 @@ declare namespace GraphQLClient {
|
|
|
1488
1653
|
data: GraphQLClient.Any;
|
|
1489
1654
|
}
|
|
1490
1655
|
|
|
1491
|
-
|
|
1656
|
+
interface NFTDisplay {
|
|
1492
1657
|
type: string;
|
|
1493
1658
|
content: string;
|
|
1494
1659
|
}
|
|
1495
1660
|
|
|
1496
|
-
|
|
1661
|
+
interface NFTEndpoint {
|
|
1497
1662
|
id: string;
|
|
1498
1663
|
scope: string;
|
|
1499
1664
|
}
|
|
1500
1665
|
|
|
1501
|
-
|
|
1666
|
+
interface NFTIssuer {
|
|
1502
1667
|
id: string;
|
|
1503
1668
|
pk: string;
|
|
1504
1669
|
name: string;
|
|
1505
1670
|
}
|
|
1506
1671
|
|
|
1507
|
-
|
|
1672
|
+
interface NetInfo {
|
|
1508
1673
|
listening: boolean;
|
|
1509
|
-
listeners:
|
|
1674
|
+
listeners: string[];
|
|
1510
1675
|
nPeers: number;
|
|
1511
|
-
peers:
|
|
1676
|
+
peers: GraphQLClient.PeerInfo[];
|
|
1512
1677
|
}
|
|
1513
1678
|
|
|
1514
|
-
|
|
1679
|
+
interface NodeInfo {
|
|
1515
1680
|
id: string;
|
|
1516
1681
|
network: string;
|
|
1517
1682
|
moniker: string;
|
|
@@ -1525,35 +1690,35 @@ declare namespace GraphQLClient {
|
|
|
1525
1690
|
votingPower: string;
|
|
1526
1691
|
totalTxs: string;
|
|
1527
1692
|
version: string;
|
|
1528
|
-
forgeAppsVersion:
|
|
1529
|
-
supportedTxs:
|
|
1693
|
+
forgeAppsVersion: GraphQLClient.NodeInfo_ForgeAppsVersionEntry[];
|
|
1694
|
+
supportedTxs: string[];
|
|
1530
1695
|
ip: string;
|
|
1531
1696
|
geoInfo: GraphQLClient.GeoInfo;
|
|
1532
1697
|
p2pAddress: string;
|
|
1533
1698
|
}
|
|
1534
1699
|
|
|
1535
|
-
|
|
1700
|
+
interface NodeInfo_ForgeAppsVersionEntry {
|
|
1536
1701
|
key: string;
|
|
1537
1702
|
value: string;
|
|
1538
1703
|
}
|
|
1539
1704
|
|
|
1540
|
-
|
|
1705
|
+
interface PageInfo {
|
|
1541
1706
|
cursor: string;
|
|
1542
1707
|
next: boolean;
|
|
1543
1708
|
total: number;
|
|
1544
1709
|
}
|
|
1545
1710
|
|
|
1546
|
-
|
|
1711
|
+
interface PartSetHeader {
|
|
1547
1712
|
total: number;
|
|
1548
1713
|
hash: string;
|
|
1549
1714
|
}
|
|
1550
1715
|
|
|
1551
|
-
|
|
1716
|
+
interface PauseRollupTx {
|
|
1552
1717
|
rollup: string;
|
|
1553
1718
|
data: GraphQLClient.Any;
|
|
1554
1719
|
}
|
|
1555
1720
|
|
|
1556
|
-
|
|
1721
|
+
interface PeerInfo {
|
|
1557
1722
|
id: string;
|
|
1558
1723
|
network: string;
|
|
1559
1724
|
consensusVersion: string;
|
|
@@ -1562,228 +1727,233 @@ declare namespace GraphQLClient {
|
|
|
1562
1727
|
geoInfo: GraphQLClient.GeoInfo;
|
|
1563
1728
|
}
|
|
1564
1729
|
|
|
1565
|
-
|
|
1730
|
+
interface PubKey {
|
|
1566
1731
|
type: string;
|
|
1567
1732
|
data: string;
|
|
1568
1733
|
}
|
|
1569
1734
|
|
|
1570
|
-
|
|
1735
|
+
interface ReceiptChange {
|
|
1571
1736
|
target: string;
|
|
1572
1737
|
action: string;
|
|
1573
1738
|
value: string;
|
|
1574
1739
|
}
|
|
1575
1740
|
|
|
1576
|
-
|
|
1741
|
+
interface ResponseEstimateGas {
|
|
1742
|
+
code: string;
|
|
1743
|
+
estimate: GraphQLClient.GasEstimate;
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
interface ResponseGetAccountState {
|
|
1577
1747
|
code: string;
|
|
1578
1748
|
state: GraphQLClient.AccountState;
|
|
1579
1749
|
}
|
|
1580
1750
|
|
|
1581
|
-
|
|
1751
|
+
interface ResponseGetAccountTokens {
|
|
1582
1752
|
code: string;
|
|
1583
|
-
tokens:
|
|
1753
|
+
tokens: GraphQLClient.AccountToken[];
|
|
1584
1754
|
}
|
|
1585
1755
|
|
|
1586
|
-
|
|
1756
|
+
interface ResponseGetAssetState {
|
|
1587
1757
|
code: string;
|
|
1588
1758
|
state: GraphQLClient.AssetState;
|
|
1589
1759
|
}
|
|
1590
1760
|
|
|
1591
|
-
|
|
1761
|
+
interface ResponseGetBlock {
|
|
1592
1762
|
code: string;
|
|
1593
1763
|
block: GraphQLClient.BlockInfo;
|
|
1594
1764
|
}
|
|
1595
1765
|
|
|
1596
|
-
|
|
1766
|
+
interface ResponseGetBlocks {
|
|
1597
1767
|
code: string;
|
|
1598
1768
|
page: GraphQLClient.PageInfo;
|
|
1599
|
-
blocks:
|
|
1769
|
+
blocks: GraphQLClient.BlockInfoSimple[];
|
|
1600
1770
|
}
|
|
1601
1771
|
|
|
1602
|
-
|
|
1772
|
+
interface ResponseGetChainInfo {
|
|
1603
1773
|
code: string;
|
|
1604
1774
|
info: GraphQLClient.ChainInfo;
|
|
1605
1775
|
}
|
|
1606
1776
|
|
|
1607
|
-
|
|
1777
|
+
interface ResponseGetConfig {
|
|
1608
1778
|
code: string;
|
|
1609
1779
|
config: string;
|
|
1610
1780
|
}
|
|
1611
1781
|
|
|
1612
|
-
|
|
1782
|
+
interface ResponseGetDelegateState {
|
|
1613
1783
|
code: string;
|
|
1614
1784
|
state: GraphQLClient.DelegateState;
|
|
1615
1785
|
}
|
|
1616
1786
|
|
|
1617
|
-
|
|
1787
|
+
interface ResponseGetEvidenceState {
|
|
1618
1788
|
code: string;
|
|
1619
1789
|
state: GraphQLClient.EvidenceState;
|
|
1620
1790
|
}
|
|
1621
1791
|
|
|
1622
|
-
|
|
1792
|
+
interface ResponseGetFactoryState {
|
|
1623
1793
|
code: string;
|
|
1624
1794
|
state: GraphQLClient.AssetFactoryState;
|
|
1625
1795
|
}
|
|
1626
1796
|
|
|
1627
|
-
|
|
1797
|
+
interface ResponseGetForgeState {
|
|
1628
1798
|
code: string;
|
|
1629
1799
|
state: GraphQLClient.ForgeState;
|
|
1630
1800
|
}
|
|
1631
1801
|
|
|
1632
|
-
|
|
1802
|
+
interface ResponseGetForgeStats {
|
|
1633
1803
|
code: string;
|
|
1634
1804
|
forgeStats: GraphQLClient.ForgeStats;
|
|
1635
1805
|
}
|
|
1636
1806
|
|
|
1637
|
-
|
|
1807
|
+
interface ResponseGetNetInfo {
|
|
1638
1808
|
code: string;
|
|
1639
1809
|
netInfo: GraphQLClient.NetInfo;
|
|
1640
1810
|
}
|
|
1641
1811
|
|
|
1642
|
-
|
|
1812
|
+
interface ResponseGetNodeInfo {
|
|
1643
1813
|
code: string;
|
|
1644
1814
|
info: GraphQLClient.NodeInfo;
|
|
1645
1815
|
}
|
|
1646
1816
|
|
|
1647
|
-
|
|
1817
|
+
interface ResponseGetRollupBlock {
|
|
1648
1818
|
code: string;
|
|
1649
1819
|
block: GraphQLClient.RollupBlock;
|
|
1650
1820
|
}
|
|
1651
1821
|
|
|
1652
|
-
|
|
1822
|
+
interface ResponseGetRollupState {
|
|
1653
1823
|
code: string;
|
|
1654
1824
|
state: GraphQLClient.RollupState;
|
|
1655
1825
|
}
|
|
1656
1826
|
|
|
1657
|
-
|
|
1827
|
+
interface ResponseGetStakeState {
|
|
1658
1828
|
code: string;
|
|
1659
1829
|
state: GraphQLClient.StakeState;
|
|
1660
1830
|
}
|
|
1661
1831
|
|
|
1662
|
-
|
|
1832
|
+
interface ResponseGetTokenState {
|
|
1663
1833
|
code: string;
|
|
1664
1834
|
state: GraphQLClient.TokenState;
|
|
1665
1835
|
}
|
|
1666
1836
|
|
|
1667
|
-
|
|
1837
|
+
interface ResponseGetTx {
|
|
1668
1838
|
code: string;
|
|
1669
1839
|
info: GraphQLClient.TransactionInfo;
|
|
1670
1840
|
}
|
|
1671
1841
|
|
|
1672
|
-
|
|
1842
|
+
interface ResponseGetUnconfirmedTxs {
|
|
1673
1843
|
code: string;
|
|
1674
1844
|
page: GraphQLClient.PageInfo;
|
|
1675
1845
|
unconfirmedTxs: GraphQLClient.UnconfirmedTxs;
|
|
1676
1846
|
}
|
|
1677
1847
|
|
|
1678
|
-
|
|
1848
|
+
interface ResponseGetValidatorsInfo {
|
|
1679
1849
|
code: string;
|
|
1680
1850
|
validatorsInfo: GraphQLClient.ValidatorsInfo;
|
|
1681
1851
|
}
|
|
1682
1852
|
|
|
1683
|
-
|
|
1853
|
+
interface ResponseListAssetTransactions {
|
|
1684
1854
|
code: string;
|
|
1685
1855
|
page: GraphQLClient.PageInfo;
|
|
1686
|
-
transactions:
|
|
1856
|
+
transactions: GraphQLClient.IndexedTransaction[];
|
|
1687
1857
|
}
|
|
1688
1858
|
|
|
1689
|
-
|
|
1859
|
+
interface ResponseListAssets {
|
|
1690
1860
|
code: string;
|
|
1691
1861
|
page: GraphQLClient.PageInfo;
|
|
1692
|
-
assets:
|
|
1862
|
+
assets: GraphQLClient.IndexedAssetState[];
|
|
1693
1863
|
}
|
|
1694
1864
|
|
|
1695
|
-
|
|
1865
|
+
interface ResponseListBlocks {
|
|
1696
1866
|
code: string;
|
|
1697
1867
|
page: GraphQLClient.PageInfo;
|
|
1698
|
-
blocks:
|
|
1868
|
+
blocks: GraphQLClient.IndexedBlock[];
|
|
1699
1869
|
}
|
|
1700
1870
|
|
|
1701
|
-
|
|
1871
|
+
interface ResponseListFactories {
|
|
1702
1872
|
code: string;
|
|
1703
1873
|
page: GraphQLClient.PageInfo;
|
|
1704
|
-
factories:
|
|
1874
|
+
factories: GraphQLClient.IndexedFactoryState[];
|
|
1705
1875
|
}
|
|
1706
1876
|
|
|
1707
|
-
|
|
1877
|
+
interface ResponseListRollupBlocks {
|
|
1708
1878
|
code: string;
|
|
1709
1879
|
page: GraphQLClient.PageInfo;
|
|
1710
|
-
blocks:
|
|
1880
|
+
blocks: GraphQLClient.IndexedRollupBlock[];
|
|
1711
1881
|
}
|
|
1712
1882
|
|
|
1713
|
-
|
|
1883
|
+
interface ResponseListRollupValidators {
|
|
1714
1884
|
code: string;
|
|
1715
1885
|
page: GraphQLClient.PageInfo;
|
|
1716
|
-
validators:
|
|
1886
|
+
validators: GraphQLClient.IndexedRollupValidator[];
|
|
1717
1887
|
}
|
|
1718
1888
|
|
|
1719
|
-
|
|
1889
|
+
interface ResponseListRollups {
|
|
1720
1890
|
code: string;
|
|
1721
1891
|
page: GraphQLClient.PageInfo;
|
|
1722
|
-
rollups:
|
|
1892
|
+
rollups: GraphQLClient.IndexedRollupState[];
|
|
1723
1893
|
}
|
|
1724
1894
|
|
|
1725
|
-
|
|
1895
|
+
interface ResponseListStakes {
|
|
1726
1896
|
code: string;
|
|
1727
1897
|
page: GraphQLClient.PageInfo;
|
|
1728
|
-
stakes:
|
|
1898
|
+
stakes: GraphQLClient.IndexedStakeState[];
|
|
1729
1899
|
}
|
|
1730
1900
|
|
|
1731
|
-
|
|
1901
|
+
interface ResponseListTokens {
|
|
1732
1902
|
code: string;
|
|
1733
1903
|
page: GraphQLClient.PageInfo;
|
|
1734
|
-
tokens:
|
|
1904
|
+
tokens: GraphQLClient.IndexedTokenState[];
|
|
1735
1905
|
}
|
|
1736
1906
|
|
|
1737
|
-
|
|
1907
|
+
interface ResponseListTopAccounts {
|
|
1738
1908
|
code: string;
|
|
1739
1909
|
page: GraphQLClient.PageInfo;
|
|
1740
|
-
accounts:
|
|
1910
|
+
accounts: GraphQLClient.IndexedAccountState[];
|
|
1741
1911
|
}
|
|
1742
1912
|
|
|
1743
|
-
|
|
1913
|
+
interface ResponseListTransactions {
|
|
1744
1914
|
code: string;
|
|
1745
1915
|
page: GraphQLClient.PageInfo;
|
|
1746
|
-
transactions:
|
|
1916
|
+
transactions: GraphQLClient.IndexedTransaction[];
|
|
1747
1917
|
}
|
|
1748
1918
|
|
|
1749
|
-
|
|
1919
|
+
interface ResponseSearch {
|
|
1750
1920
|
code: string;
|
|
1751
1921
|
page: GraphQLClient.PageInfo;
|
|
1752
|
-
results:
|
|
1922
|
+
results: GraphQLClient.SearchResult[];
|
|
1753
1923
|
}
|
|
1754
1924
|
|
|
1755
|
-
|
|
1925
|
+
interface ResponseSendTx {
|
|
1756
1926
|
code: string;
|
|
1757
1927
|
hash: string;
|
|
1758
1928
|
}
|
|
1759
1929
|
|
|
1760
|
-
|
|
1930
|
+
interface ResumeRollupTx {
|
|
1761
1931
|
rollup: string;
|
|
1762
1932
|
data: GraphQLClient.Any;
|
|
1763
1933
|
}
|
|
1764
1934
|
|
|
1765
|
-
|
|
1935
|
+
interface RevokeDelegateTx {
|
|
1766
1936
|
address: string;
|
|
1767
1937
|
to: string;
|
|
1768
|
-
typeUrls:
|
|
1938
|
+
typeUrls: string[];
|
|
1769
1939
|
data: GraphQLClient.Any;
|
|
1770
1940
|
}
|
|
1771
1941
|
|
|
1772
|
-
|
|
1942
|
+
interface RevokeStakeTx {
|
|
1773
1943
|
address: string;
|
|
1774
|
-
outputs:
|
|
1944
|
+
outputs: GraphQLClient.TransactionInput[];
|
|
1775
1945
|
data: GraphQLClient.Any;
|
|
1776
1946
|
}
|
|
1777
1947
|
|
|
1778
|
-
|
|
1948
|
+
interface RollupBlock {
|
|
1779
1949
|
hash: string;
|
|
1780
1950
|
height: number;
|
|
1781
1951
|
merkleRoot: string;
|
|
1782
1952
|
previousHash: string;
|
|
1783
1953
|
txsHash: string;
|
|
1784
|
-
txs:
|
|
1954
|
+
txs: string[];
|
|
1785
1955
|
proposer: string;
|
|
1786
|
-
signatures:
|
|
1956
|
+
signatures: GraphQLClient.Multisig[];
|
|
1787
1957
|
rollup: string;
|
|
1788
1958
|
mintedAmount: string;
|
|
1789
1959
|
burnedAmount: string;
|
|
@@ -1793,12 +1963,12 @@ declare namespace GraphQLClient {
|
|
|
1793
1963
|
data: GraphQLClient.Any;
|
|
1794
1964
|
}
|
|
1795
1965
|
|
|
1796
|
-
|
|
1966
|
+
interface RollupState {
|
|
1797
1967
|
address: string;
|
|
1798
1968
|
tokenAddress: string;
|
|
1799
1969
|
contractAddress: string;
|
|
1800
|
-
seedValidators:
|
|
1801
|
-
validators:
|
|
1970
|
+
seedValidators: GraphQLClient.RollupValidator[];
|
|
1971
|
+
validators: GraphQLClient.RollupValidator[];
|
|
1802
1972
|
minStakeAmount: string;
|
|
1803
1973
|
maxStakeAmount: string;
|
|
1804
1974
|
minSignerCount: number;
|
|
@@ -1830,55 +2000,55 @@ declare namespace GraphQLClient {
|
|
|
1830
2000
|
leaveWaitingPeriod: number;
|
|
1831
2001
|
publishWaitingPeriod: number;
|
|
1832
2002
|
publishSlashRate: number;
|
|
1833
|
-
migrateHistory:
|
|
2003
|
+
migrateHistory: string[];
|
|
1834
2004
|
context: GraphQLClient.StateContext;
|
|
1835
2005
|
data: GraphQLClient.Any;
|
|
1836
2006
|
}
|
|
1837
2007
|
|
|
1838
|
-
|
|
2008
|
+
interface RollupValidator {
|
|
1839
2009
|
pk: string;
|
|
1840
2010
|
address: string;
|
|
1841
2011
|
endpoint: string;
|
|
1842
2012
|
}
|
|
1843
2013
|
|
|
1844
|
-
|
|
2014
|
+
interface SearchResult {
|
|
1845
2015
|
type: string;
|
|
1846
2016
|
id: string;
|
|
1847
2017
|
}
|
|
1848
2018
|
|
|
1849
|
-
|
|
2019
|
+
interface StakeState {
|
|
1850
2020
|
address: string;
|
|
1851
2021
|
sender: string;
|
|
1852
2022
|
receiver: string;
|
|
1853
|
-
tokens:
|
|
1854
|
-
assets:
|
|
2023
|
+
tokens: GraphQLClient.IndexedTokenInput[];
|
|
2024
|
+
assets: string[];
|
|
1855
2025
|
revocable: boolean;
|
|
1856
2026
|
message: string;
|
|
1857
2027
|
revokeWaitingPeriod: number;
|
|
1858
|
-
revokedTokens:
|
|
1859
|
-
revokedAssets:
|
|
2028
|
+
revokedTokens: GraphQLClient.IndexedTokenInput[];
|
|
2029
|
+
revokedAssets: string[];
|
|
1860
2030
|
context: GraphQLClient.StateContext;
|
|
1861
2031
|
data: GraphQLClient.Any;
|
|
1862
2032
|
}
|
|
1863
2033
|
|
|
1864
|
-
|
|
2034
|
+
interface StakeTx {
|
|
1865
2035
|
address: string;
|
|
1866
2036
|
receiver: string;
|
|
1867
|
-
inputs:
|
|
2037
|
+
inputs: GraphQLClient.TransactionInput[];
|
|
1868
2038
|
locked: boolean;
|
|
1869
2039
|
message: string;
|
|
1870
2040
|
revokeWaitingPeriod: number;
|
|
1871
2041
|
data: GraphQLClient.Any;
|
|
1872
2042
|
}
|
|
1873
2043
|
|
|
1874
|
-
|
|
2044
|
+
interface StateContext {
|
|
1875
2045
|
genesisTx: GraphQLClient.TransactionInfo;
|
|
1876
2046
|
renaissanceTx: GraphQLClient.TransactionInfo;
|
|
1877
2047
|
genesisTime: string;
|
|
1878
2048
|
renaissanceTime: string;
|
|
1879
2049
|
}
|
|
1880
2050
|
|
|
1881
|
-
|
|
2051
|
+
interface TokenInfo {
|
|
1882
2052
|
address: string;
|
|
1883
2053
|
balance: string;
|
|
1884
2054
|
decimal: number;
|
|
@@ -1886,12 +2056,12 @@ declare namespace GraphQLClient {
|
|
|
1886
2056
|
symbol: string;
|
|
1887
2057
|
}
|
|
1888
2058
|
|
|
1889
|
-
|
|
2059
|
+
interface TokenInput {
|
|
1890
2060
|
address: string;
|
|
1891
2061
|
value: string;
|
|
1892
2062
|
}
|
|
1893
2063
|
|
|
1894
|
-
|
|
2064
|
+
interface TokenState {
|
|
1895
2065
|
address: string;
|
|
1896
2066
|
issuer: string;
|
|
1897
2067
|
name: string;
|
|
@@ -1906,21 +2076,21 @@ declare namespace GraphQLClient {
|
|
|
1906
2076
|
data: GraphQLClient.Any;
|
|
1907
2077
|
}
|
|
1908
2078
|
|
|
1909
|
-
|
|
2079
|
+
interface TokenSymbol {
|
|
1910
2080
|
address: string;
|
|
1911
2081
|
symbol: string;
|
|
1912
2082
|
decimal: number;
|
|
1913
2083
|
unit: string;
|
|
1914
2084
|
}
|
|
1915
2085
|
|
|
1916
|
-
|
|
2086
|
+
interface Transaction {
|
|
1917
2087
|
from: string;
|
|
1918
2088
|
delegator: string;
|
|
1919
2089
|
nonce: string;
|
|
1920
2090
|
chainId: string;
|
|
1921
2091
|
pk: string;
|
|
1922
2092
|
signature: string;
|
|
1923
|
-
signatures:
|
|
2093
|
+
signatures: GraphQLClient.Multisig[];
|
|
1924
2094
|
itxJson: undefined;
|
|
1925
2095
|
sender: string;
|
|
1926
2096
|
receiver: string;
|
|
@@ -1929,67 +2099,67 @@ declare namespace GraphQLClient {
|
|
|
1929
2099
|
gasPaid: string;
|
|
1930
2100
|
}
|
|
1931
2101
|
|
|
1932
|
-
|
|
2102
|
+
interface TransactionConfig {
|
|
1933
2103
|
maxAssetSize: number;
|
|
1934
2104
|
maxListSize: number;
|
|
1935
2105
|
maxMultisig: number;
|
|
1936
2106
|
delegate: GraphQLClient.DelegateConfig;
|
|
1937
|
-
txFee:
|
|
2107
|
+
txFee: GraphQLClient.TxFeeConfig[];
|
|
1938
2108
|
txGas: GraphQLClient.TxGasConfig;
|
|
1939
2109
|
}
|
|
1940
2110
|
|
|
1941
|
-
|
|
2111
|
+
interface TransactionInfo {
|
|
1942
2112
|
tx: GraphQLClient.Transaction;
|
|
1943
2113
|
height: string;
|
|
1944
2114
|
index: number;
|
|
1945
2115
|
hash: string;
|
|
1946
|
-
tags:
|
|
2116
|
+
tags: GraphQLClient.KVPair[];
|
|
1947
2117
|
code: string;
|
|
1948
2118
|
time: string;
|
|
1949
|
-
receipts:
|
|
2119
|
+
receipts: GraphQLClient.TransactionReceipt[];
|
|
1950
2120
|
sender: string;
|
|
1951
2121
|
receiver: string;
|
|
1952
|
-
tokenSymbols:
|
|
2122
|
+
tokenSymbols: GraphQLClient.TokenSymbol[];
|
|
1953
2123
|
}
|
|
1954
2124
|
|
|
1955
|
-
|
|
2125
|
+
interface TransactionInput {
|
|
1956
2126
|
owner: string;
|
|
1957
|
-
tokens:
|
|
1958
|
-
assets:
|
|
2127
|
+
tokens: GraphQLClient.TokenInput[];
|
|
2128
|
+
assets: string[];
|
|
1959
2129
|
}
|
|
1960
2130
|
|
|
1961
|
-
|
|
2131
|
+
interface TransactionReceipt {
|
|
1962
2132
|
address: string;
|
|
1963
|
-
changes:
|
|
2133
|
+
changes: GraphQLClient.ReceiptChange[];
|
|
1964
2134
|
}
|
|
1965
2135
|
|
|
1966
|
-
|
|
2136
|
+
interface TransferTx {
|
|
1967
2137
|
to: string;
|
|
1968
2138
|
value: string;
|
|
1969
|
-
assets:
|
|
2139
|
+
assets: string[];
|
|
1970
2140
|
data: GraphQLClient.Any;
|
|
1971
2141
|
}
|
|
1972
2142
|
|
|
1973
|
-
|
|
2143
|
+
interface TransferV2Tx {
|
|
1974
2144
|
to: string;
|
|
1975
2145
|
value: string;
|
|
1976
|
-
assets:
|
|
1977
|
-
tokens:
|
|
2146
|
+
assets: string[];
|
|
2147
|
+
tokens: GraphQLClient.TokenInput[];
|
|
1978
2148
|
data: GraphQLClient.Any;
|
|
1979
2149
|
}
|
|
1980
2150
|
|
|
1981
|
-
|
|
1982
|
-
inputs:
|
|
1983
|
-
outputs:
|
|
2151
|
+
interface TransferV3Tx {
|
|
2152
|
+
inputs: GraphQLClient.TransactionInput[];
|
|
2153
|
+
outputs: GraphQLClient.TransactionInput[];
|
|
1984
2154
|
data: GraphQLClient.Any;
|
|
1985
2155
|
}
|
|
1986
2156
|
|
|
1987
|
-
|
|
2157
|
+
interface TxFeeConfig {
|
|
1988
2158
|
typeUrl: string;
|
|
1989
2159
|
fee: string;
|
|
1990
2160
|
}
|
|
1991
2161
|
|
|
1992
|
-
|
|
2162
|
+
interface TxGasConfig {
|
|
1993
2163
|
price: number;
|
|
1994
2164
|
createState: number;
|
|
1995
2165
|
updateState: number;
|
|
@@ -1999,18 +2169,18 @@ declare namespace GraphQLClient {
|
|
|
1999
2169
|
stakeLockPeriod: number;
|
|
2000
2170
|
}
|
|
2001
2171
|
|
|
2002
|
-
|
|
2172
|
+
interface UnconfirmedTxs {
|
|
2003
2173
|
nTxs: number;
|
|
2004
|
-
txs:
|
|
2174
|
+
txs: GraphQLClient.Transaction[];
|
|
2005
2175
|
}
|
|
2006
2176
|
|
|
2007
|
-
|
|
2177
|
+
interface UpdateAssetTx {
|
|
2008
2178
|
address: string;
|
|
2009
2179
|
moniker: string;
|
|
2010
2180
|
data: GraphQLClient.Any;
|
|
2011
2181
|
}
|
|
2012
2182
|
|
|
2013
|
-
|
|
2183
|
+
interface UpdateRollupTx {
|
|
2014
2184
|
minStakeAmount: string;
|
|
2015
2185
|
maxStakeAmount: string;
|
|
2016
2186
|
minSignerCount: number;
|
|
@@ -2038,33 +2208,33 @@ declare namespace GraphQLClient {
|
|
|
2038
2208
|
data: GraphQLClient.Any;
|
|
2039
2209
|
}
|
|
2040
2210
|
|
|
2041
|
-
|
|
2211
|
+
interface UpgradeInfo {
|
|
2042
2212
|
height: string;
|
|
2043
2213
|
version: string;
|
|
2044
2214
|
}
|
|
2045
2215
|
|
|
2046
|
-
|
|
2216
|
+
interface UpgradeNodeTx {
|
|
2047
2217
|
height: number;
|
|
2048
2218
|
version: string;
|
|
2049
2219
|
override: boolean;
|
|
2050
2220
|
}
|
|
2051
2221
|
|
|
2052
|
-
|
|
2222
|
+
interface UpgradeTask {
|
|
2053
2223
|
type: GraphQLClient.UpgradeType;
|
|
2054
2224
|
dataHash: string;
|
|
2055
|
-
actions:
|
|
2225
|
+
actions: GraphQLClient.UpgradeAction[];
|
|
2056
2226
|
}
|
|
2057
2227
|
|
|
2058
|
-
|
|
2059
|
-
item:
|
|
2228
|
+
interface UpgradeTasks {
|
|
2229
|
+
item: GraphQLClient.UpgradeTask[];
|
|
2060
2230
|
}
|
|
2061
2231
|
|
|
2062
|
-
|
|
2232
|
+
interface Validator {
|
|
2063
2233
|
address: string;
|
|
2064
2234
|
power: string;
|
|
2065
2235
|
}
|
|
2066
2236
|
|
|
2067
|
-
|
|
2237
|
+
interface ValidatorInfo {
|
|
2068
2238
|
address: string;
|
|
2069
2239
|
pubKey: GraphQLClient.PubKey;
|
|
2070
2240
|
votingPower: string;
|
|
@@ -2073,31 +2243,31 @@ declare namespace GraphQLClient {
|
|
|
2073
2243
|
geoInfo: GraphQLClient.GeoInfo;
|
|
2074
2244
|
}
|
|
2075
2245
|
|
|
2076
|
-
|
|
2246
|
+
interface ValidatorsInfo {
|
|
2077
2247
|
blockHeight: string;
|
|
2078
|
-
validators:
|
|
2248
|
+
validators: GraphQLClient.ValidatorInfo[];
|
|
2079
2249
|
}
|
|
2080
2250
|
|
|
2081
|
-
|
|
2251
|
+
interface VariableInput {
|
|
2082
2252
|
name: string;
|
|
2083
2253
|
value: string;
|
|
2084
2254
|
description: string;
|
|
2085
2255
|
required: boolean;
|
|
2086
2256
|
}
|
|
2087
2257
|
|
|
2088
|
-
|
|
2258
|
+
interface Version {
|
|
2089
2259
|
block: number;
|
|
2090
2260
|
app: number;
|
|
2091
2261
|
}
|
|
2092
2262
|
|
|
2093
|
-
|
|
2263
|
+
interface WalletType {
|
|
2094
2264
|
pk: GraphQLClient.KeyType;
|
|
2095
2265
|
hash: GraphQLClient.HashType;
|
|
2096
2266
|
address: GraphQLClient.EncodingType;
|
|
2097
2267
|
role: GraphQLClient.RoleType;
|
|
2098
2268
|
}
|
|
2099
2269
|
|
|
2100
|
-
|
|
2270
|
+
interface WithdrawTokenV2Tx {
|
|
2101
2271
|
token: GraphQLClient.TokenInput;
|
|
2102
2272
|
to: string;
|
|
2103
2273
|
rollup: string;
|
|
@@ -2107,171 +2277,176 @@ declare namespace GraphQLClient {
|
|
|
2107
2277
|
data: GraphQLClient.Any;
|
|
2108
2278
|
}
|
|
2109
2279
|
|
|
2110
|
-
|
|
2280
|
+
interface GetAccountStateParams {
|
|
2111
2281
|
address: string;
|
|
2112
2282
|
height: string;
|
|
2113
|
-
keys:
|
|
2283
|
+
keys: string[];
|
|
2114
2284
|
}
|
|
2115
2285
|
|
|
2116
|
-
|
|
2286
|
+
interface GetAssetStateParams {
|
|
2117
2287
|
address: string;
|
|
2118
2288
|
height: string;
|
|
2119
|
-
keys:
|
|
2289
|
+
keys: string[];
|
|
2120
2290
|
}
|
|
2121
2291
|
|
|
2122
|
-
|
|
2292
|
+
interface GetFactoryStateParams {
|
|
2123
2293
|
address: string;
|
|
2124
2294
|
}
|
|
2125
2295
|
|
|
2126
|
-
|
|
2296
|
+
interface GetDelegateStateParams {
|
|
2127
2297
|
address: string;
|
|
2128
2298
|
height: string;
|
|
2129
|
-
keys:
|
|
2299
|
+
keys: string[];
|
|
2130
2300
|
}
|
|
2131
2301
|
|
|
2132
|
-
|
|
2302
|
+
interface GetTokenStateParams {
|
|
2133
2303
|
address: string;
|
|
2134
2304
|
}
|
|
2135
2305
|
|
|
2136
|
-
|
|
2306
|
+
interface GetEvidenceStateParams {
|
|
2137
2307
|
hash: string;
|
|
2138
2308
|
}
|
|
2139
2309
|
|
|
2140
|
-
|
|
2310
|
+
interface GetForgeStateParams {
|
|
2141
2311
|
height: string;
|
|
2142
|
-
keys:
|
|
2312
|
+
keys: string[];
|
|
2143
2313
|
}
|
|
2144
2314
|
|
|
2145
|
-
|
|
2315
|
+
interface GetTxParams {
|
|
2146
2316
|
hash: string;
|
|
2147
2317
|
}
|
|
2148
2318
|
|
|
2149
|
-
|
|
2319
|
+
interface GetBlockParams {
|
|
2150
2320
|
height: string;
|
|
2151
2321
|
}
|
|
2152
2322
|
|
|
2153
|
-
|
|
2323
|
+
interface GetBlocksParams {
|
|
2154
2324
|
emptyExcluded: boolean;
|
|
2155
|
-
heightFilter:
|
|
2156
|
-
paging:
|
|
2325
|
+
heightFilter: GraphQLClient.RangeFilterInput;
|
|
2326
|
+
paging: GraphQLClient.PageInput;
|
|
2157
2327
|
}
|
|
2158
2328
|
|
|
2159
|
-
|
|
2160
|
-
paging:
|
|
2329
|
+
interface GetUnconfirmedTxsParams {
|
|
2330
|
+
paging: GraphQLClient.PageInput;
|
|
2161
2331
|
}
|
|
2162
2332
|
|
|
2163
|
-
|
|
2333
|
+
interface GetConfigParams {
|
|
2164
2334
|
parsed: boolean;
|
|
2165
2335
|
}
|
|
2166
2336
|
|
|
2167
|
-
|
|
2337
|
+
interface ListAssetTransactionsParams {
|
|
2168
2338
|
address: string;
|
|
2169
|
-
paging:
|
|
2339
|
+
paging: GraphQLClient.PageInput;
|
|
2170
2340
|
}
|
|
2171
2341
|
|
|
2172
|
-
|
|
2342
|
+
interface ListAssetsParams {
|
|
2173
2343
|
ownerAddress: string;
|
|
2174
|
-
paging:
|
|
2344
|
+
paging: GraphQLClient.PageInput;
|
|
2175
2345
|
factoryAddress: string;
|
|
2176
|
-
timeFilter:
|
|
2346
|
+
timeFilter: GraphQLClient.TimeFilterInput;
|
|
2177
2347
|
}
|
|
2178
2348
|
|
|
2179
|
-
|
|
2180
|
-
heightFilter:
|
|
2181
|
-
numInvalidTxsFilter:
|
|
2182
|
-
numTxsFilter:
|
|
2183
|
-
paging:
|
|
2349
|
+
interface ListBlocksParams {
|
|
2350
|
+
heightFilter: GraphQLClient.RangeFilterInput;
|
|
2351
|
+
numInvalidTxsFilter: GraphQLClient.RangeFilterInput;
|
|
2352
|
+
numTxsFilter: GraphQLClient.RangeFilterInput;
|
|
2353
|
+
paging: GraphQLClient.PageInput;
|
|
2184
2354
|
proposer: string;
|
|
2185
|
-
timeFilter:
|
|
2355
|
+
timeFilter: GraphQLClient.TimeFilterInput;
|
|
2186
2356
|
}
|
|
2187
2357
|
|
|
2188
|
-
|
|
2189
|
-
paging:
|
|
2358
|
+
interface ListTopAccountsParams {
|
|
2359
|
+
paging: GraphQLClient.PageInput;
|
|
2190
2360
|
tokenAddress: string;
|
|
2191
2361
|
}
|
|
2192
2362
|
|
|
2193
|
-
|
|
2194
|
-
addressFilter:
|
|
2195
|
-
paging:
|
|
2196
|
-
timeFilter:
|
|
2197
|
-
typeFilter:
|
|
2198
|
-
validityFilter:
|
|
2199
|
-
factoryFilter:
|
|
2200
|
-
tokenFilter:
|
|
2201
|
-
assetFilter:
|
|
2202
|
-
accountFilter:
|
|
2203
|
-
txFilter:
|
|
2204
|
-
rollupFilter:
|
|
2363
|
+
interface ListTransactionsParams {
|
|
2364
|
+
addressFilter: GraphQLClient.AddressFilterInput;
|
|
2365
|
+
paging: GraphQLClient.PageInput;
|
|
2366
|
+
timeFilter: GraphQLClient.TimeFilterInput;
|
|
2367
|
+
typeFilter: GraphQLClient.TypeFilterInput;
|
|
2368
|
+
validityFilter: GraphQLClient.ValidityFilterInput;
|
|
2369
|
+
factoryFilter: GraphQLClient.FactoryFilterInput;
|
|
2370
|
+
tokenFilter: GraphQLClient.TokenFilterInput;
|
|
2371
|
+
assetFilter: GraphQLClient.AssetFilterInput;
|
|
2372
|
+
accountFilter: GraphQLClient.AccountFilterInput;
|
|
2373
|
+
txFilter: GraphQLClient.TxFilterInput;
|
|
2374
|
+
rollupFilter: GraphQLClient.RollupFilterInput;
|
|
2205
2375
|
}
|
|
2206
2376
|
|
|
2207
|
-
|
|
2377
|
+
interface ListTokensParams {
|
|
2208
2378
|
issuerAddress: string;
|
|
2209
|
-
paging:
|
|
2379
|
+
paging: GraphQLClient.PageInput;
|
|
2210
2380
|
}
|
|
2211
2381
|
|
|
2212
|
-
|
|
2382
|
+
interface ListFactoriesParams {
|
|
2213
2383
|
ownerAddress: string;
|
|
2214
|
-
addressList:
|
|
2215
|
-
paging:
|
|
2384
|
+
addressList: string[];
|
|
2385
|
+
paging: GraphQLClient.PageInput;
|
|
2216
2386
|
}
|
|
2217
2387
|
|
|
2218
|
-
|
|
2388
|
+
interface GetAccountTokensParams {
|
|
2219
2389
|
address: string;
|
|
2220
2390
|
token: string;
|
|
2221
2391
|
}
|
|
2222
2392
|
|
|
2223
|
-
|
|
2393
|
+
interface GetStakeStateParams {
|
|
2224
2394
|
address: string;
|
|
2225
2395
|
height: string;
|
|
2226
|
-
keys:
|
|
2396
|
+
keys: string[];
|
|
2227
2397
|
}
|
|
2228
2398
|
|
|
2229
|
-
|
|
2230
|
-
addressFilter:
|
|
2231
|
-
assetFilter:
|
|
2232
|
-
timeFilter:
|
|
2233
|
-
paging:
|
|
2399
|
+
interface ListStakesParams {
|
|
2400
|
+
addressFilter: GraphQLClient.AddressFilterInput;
|
|
2401
|
+
assetFilter: GraphQLClient.AssetFilterInput;
|
|
2402
|
+
timeFilter: GraphQLClient.TimeFilterInput;
|
|
2403
|
+
paging: GraphQLClient.PageInput;
|
|
2234
2404
|
}
|
|
2235
2405
|
|
|
2236
|
-
|
|
2406
|
+
interface GetRollupStateParams {
|
|
2237
2407
|
address: string;
|
|
2238
2408
|
height: string;
|
|
2239
|
-
keys:
|
|
2409
|
+
keys: string[];
|
|
2240
2410
|
}
|
|
2241
2411
|
|
|
2242
|
-
|
|
2243
|
-
paging:
|
|
2412
|
+
interface ListRollupsParams {
|
|
2413
|
+
paging: GraphQLClient.PageInput;
|
|
2244
2414
|
tokenAddress: string;
|
|
2245
2415
|
erc20TokenAddress: string;
|
|
2246
2416
|
foreignTokenAddress: string;
|
|
2247
2417
|
}
|
|
2248
2418
|
|
|
2249
|
-
|
|
2419
|
+
interface GetRollupBlockParams {
|
|
2250
2420
|
hash: string;
|
|
2251
2421
|
height: string;
|
|
2252
2422
|
rollupAddress: string;
|
|
2253
2423
|
}
|
|
2254
2424
|
|
|
2255
|
-
|
|
2256
|
-
paging:
|
|
2425
|
+
interface ListRollupBlocksParams {
|
|
2426
|
+
paging: GraphQLClient.PageInput;
|
|
2257
2427
|
rollupAddress: string;
|
|
2258
2428
|
tokenAddress: string;
|
|
2259
2429
|
proposer: string;
|
|
2260
|
-
validatorFilter:
|
|
2261
|
-
txFilter:
|
|
2430
|
+
validatorFilter: GraphQLClient.ValidatorFilterInput;
|
|
2431
|
+
txFilter: GraphQLClient.TxFilterInput;
|
|
2262
2432
|
}
|
|
2263
2433
|
|
|
2264
|
-
|
|
2265
|
-
paging:
|
|
2434
|
+
interface ListRollupValidatorsParams {
|
|
2435
|
+
paging: GraphQLClient.PageInput;
|
|
2266
2436
|
rollupAddress: string;
|
|
2267
2437
|
}
|
|
2268
2438
|
|
|
2269
|
-
|
|
2270
|
-
paging:
|
|
2439
|
+
interface SearchParams {
|
|
2440
|
+
paging: GraphQLClient.PageInput;
|
|
2271
2441
|
keyword: string;
|
|
2272
2442
|
}
|
|
2273
2443
|
|
|
2274
|
-
|
|
2444
|
+
interface EstimateGasParams {
|
|
2445
|
+
typeUrl: string;
|
|
2446
|
+
tx: string;
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
interface SendTxParams {
|
|
2275
2450
|
commit: boolean;
|
|
2276
2451
|
token: string;
|
|
2277
2452
|
tx: string;
|