@ocap/client 1.18.9 → 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 +273 -101
- 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 +273 -101
- 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 -12
package/dist/browser.d.ts
CHANGED
|
@@ -425,75 +425,94 @@ declare class GraphQLClient {
|
|
|
425
425
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>
|
|
426
426
|
): Promise<GraphQLClient.Transaction>;
|
|
427
427
|
getAccountState(
|
|
428
|
-
params: GraphQLClient.GetAccountStateParams
|
|
428
|
+
params: PartialDeep<GraphQLClient.GetAccountStateParams>
|
|
429
429
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetAccountState>;
|
|
430
430
|
getAssetState(
|
|
431
|
-
params: GraphQLClient.GetAssetStateParams
|
|
431
|
+
params: PartialDeep<GraphQLClient.GetAssetStateParams>
|
|
432
432
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetAssetState>;
|
|
433
433
|
getFactoryState(
|
|
434
|
-
params: GraphQLClient.GetFactoryStateParams
|
|
434
|
+
params: PartialDeep<GraphQLClient.GetFactoryStateParams>
|
|
435
435
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetFactoryState>;
|
|
436
436
|
getDelegateState(
|
|
437
|
-
params: GraphQLClient.GetDelegateStateParams
|
|
437
|
+
params: PartialDeep<GraphQLClient.GetDelegateStateParams>
|
|
438
438
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetDelegateState>;
|
|
439
439
|
getTokenState(
|
|
440
|
-
params: GraphQLClient.GetTokenStateParams
|
|
440
|
+
params: PartialDeep<GraphQLClient.GetTokenStateParams>
|
|
441
441
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetTokenState>;
|
|
442
442
|
getEvidenceState(
|
|
443
|
-
params: GraphQLClient.GetEvidenceStateParams
|
|
443
|
+
params: PartialDeep<GraphQLClient.GetEvidenceStateParams>
|
|
444
444
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetEvidenceState>;
|
|
445
445
|
getForgeState(
|
|
446
|
-
params: GraphQLClient.GetForgeStateParams
|
|
446
|
+
params: PartialDeep<GraphQLClient.GetForgeStateParams>
|
|
447
447
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetForgeState>;
|
|
448
|
-
getTx(params: GraphQLClient.GetTxParams): GraphQLClient.QueryResult<GraphQLClient.ResponseGetTx>;
|
|
449
|
-
getBlock(
|
|
450
|
-
|
|
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>;
|
|
451
455
|
getUnconfirmedTxs(
|
|
452
|
-
params: GraphQLClient.GetUnconfirmedTxsParams
|
|
456
|
+
params: PartialDeep<GraphQLClient.GetUnconfirmedTxsParams>
|
|
453
457
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetUnconfirmedTxs>;
|
|
454
458
|
getChainInfo(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetChainInfo>;
|
|
455
|
-
getConfig(
|
|
459
|
+
getConfig(
|
|
460
|
+
params: PartialDeep<GraphQLClient.GetConfigParams>
|
|
461
|
+
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetConfig>;
|
|
456
462
|
getNetInfo(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetNetInfo>;
|
|
457
463
|
getNodeInfo(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetNodeInfo>;
|
|
458
464
|
getValidatorsInfo(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetValidatorsInfo>;
|
|
459
465
|
getForgeStats(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetForgeStats>;
|
|
460
466
|
listAssetTransactions(
|
|
461
|
-
params: GraphQLClient.ListAssetTransactionsParams
|
|
467
|
+
params: PartialDeep<GraphQLClient.ListAssetTransactionsParams>
|
|
462
468
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseListAssetTransactions>;
|
|
463
|
-
listAssets(
|
|
464
|
-
|
|
469
|
+
listAssets(
|
|
470
|
+
params: PartialDeep<GraphQLClient.ListAssetsParams>
|
|
471
|
+
): GraphQLClient.QueryResult<GraphQLClient.ResponseListAssets>;
|
|
472
|
+
listBlocks(
|
|
473
|
+
params: PartialDeep<GraphQLClient.ListBlocksParams>
|
|
474
|
+
): GraphQLClient.QueryResult<GraphQLClient.ResponseListBlocks>;
|
|
465
475
|
listTopAccounts(
|
|
466
|
-
params: GraphQLClient.ListTopAccountsParams
|
|
476
|
+
params: PartialDeep<GraphQLClient.ListTopAccountsParams>
|
|
467
477
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseListTopAccounts>;
|
|
468
478
|
listTransactions(
|
|
469
|
-
params: GraphQLClient.ListTransactionsParams
|
|
479
|
+
params: PartialDeep<GraphQLClient.ListTransactionsParams>
|
|
470
480
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseListTransactions>;
|
|
471
|
-
listTokens(
|
|
481
|
+
listTokens(
|
|
482
|
+
params: PartialDeep<GraphQLClient.ListTokensParams>
|
|
483
|
+
): GraphQLClient.QueryResult<GraphQLClient.ResponseListTokens>;
|
|
472
484
|
listFactories(
|
|
473
|
-
params: GraphQLClient.ListFactoriesParams
|
|
485
|
+
params: PartialDeep<GraphQLClient.ListFactoriesParams>
|
|
474
486
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseListFactories>;
|
|
475
487
|
getAccountTokens(
|
|
476
|
-
params: GraphQLClient.GetAccountTokensParams
|
|
488
|
+
params: PartialDeep<GraphQLClient.GetAccountTokensParams>
|
|
477
489
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetAccountTokens>;
|
|
478
490
|
getStakeState(
|
|
479
|
-
params: GraphQLClient.GetStakeStateParams
|
|
491
|
+
params: PartialDeep<GraphQLClient.GetStakeStateParams>
|
|
480
492
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetStakeState>;
|
|
481
|
-
listStakes(
|
|
493
|
+
listStakes(
|
|
494
|
+
params: PartialDeep<GraphQLClient.ListStakesParams>
|
|
495
|
+
): GraphQLClient.QueryResult<GraphQLClient.ResponseListStakes>;
|
|
482
496
|
getRollupState(
|
|
483
|
-
params: GraphQLClient.GetRollupStateParams
|
|
497
|
+
params: PartialDeep<GraphQLClient.GetRollupStateParams>
|
|
484
498
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetRollupState>;
|
|
485
|
-
listRollups(
|
|
499
|
+
listRollups(
|
|
500
|
+
params: PartialDeep<GraphQLClient.ListRollupsParams>
|
|
501
|
+
): GraphQLClient.QueryResult<GraphQLClient.ResponseListRollups>;
|
|
486
502
|
getRollupBlock(
|
|
487
|
-
params: GraphQLClient.GetRollupBlockParams
|
|
503
|
+
params: PartialDeep<GraphQLClient.GetRollupBlockParams>
|
|
488
504
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseGetRollupBlock>;
|
|
489
505
|
listRollupBlocks(
|
|
490
|
-
params: GraphQLClient.ListRollupBlocksParams
|
|
506
|
+
params: PartialDeep<GraphQLClient.ListRollupBlocksParams>
|
|
491
507
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseListRollupBlocks>;
|
|
492
508
|
listRollupValidators(
|
|
493
|
-
params: GraphQLClient.ListRollupValidatorsParams
|
|
509
|
+
params: PartialDeep<GraphQLClient.ListRollupValidatorsParams>
|
|
494
510
|
): GraphQLClient.QueryResult<GraphQLClient.ResponseListRollupValidators>;
|
|
495
|
-
search(params: GraphQLClient.SearchParams): GraphQLClient.QueryResult<GraphQLClient.ResponseSearch>;
|
|
496
|
-
|
|
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>;
|
|
497
516
|
}
|
|
498
517
|
|
|
499
518
|
declare namespace GraphQLClient {
|
|
@@ -704,79 +723,218 @@ declare namespace GraphQLClient {
|
|
|
704
723
|
INVALID,
|
|
705
724
|
}
|
|
706
725
|
|
|
707
|
-
interface AccountFilterInput {
|
|
726
|
+
interface AccountFilterInput {
|
|
727
|
+
accounts: string[];
|
|
728
|
+
}
|
|
708
729
|
|
|
709
|
-
interface AddressFilterInput {
|
|
730
|
+
interface AddressFilterInput {
|
|
731
|
+
sender: string;
|
|
732
|
+
receiver: string;
|
|
733
|
+
direction: GraphQLClient.Direction;
|
|
734
|
+
}
|
|
710
735
|
|
|
711
|
-
interface AssetFilterInput {
|
|
736
|
+
interface AssetFilterInput {
|
|
737
|
+
assets: string[];
|
|
738
|
+
}
|
|
712
739
|
|
|
713
|
-
interface FactoryFilterInput {
|
|
740
|
+
interface FactoryFilterInput {
|
|
741
|
+
factories: string[];
|
|
742
|
+
}
|
|
714
743
|
|
|
715
|
-
interface PageInput {
|
|
744
|
+
interface PageInput {
|
|
745
|
+
cursor: string;
|
|
746
|
+
size: number;
|
|
747
|
+
order: GraphQLClient.PageOrderInput[];
|
|
748
|
+
}
|
|
716
749
|
|
|
717
|
-
interface PageOrderInput {
|
|
750
|
+
interface PageOrderInput {
|
|
751
|
+
field: string;
|
|
752
|
+
type: string;
|
|
753
|
+
}
|
|
718
754
|
|
|
719
|
-
interface RangeFilterInput {
|
|
755
|
+
interface RangeFilterInput {
|
|
756
|
+
from: string;
|
|
757
|
+
to: string;
|
|
758
|
+
}
|
|
720
759
|
|
|
721
|
-
interface
|
|
760
|
+
interface RequestEstimateGasInput {
|
|
761
|
+
typeUrl: string;
|
|
762
|
+
tx: string;
|
|
763
|
+
}
|
|
722
764
|
|
|
723
|
-
interface
|
|
765
|
+
interface RequestGetAccountTokensInput {
|
|
766
|
+
address: string;
|
|
767
|
+
token: string;
|
|
768
|
+
}
|
|
724
769
|
|
|
725
|
-
interface
|
|
770
|
+
interface RequestGetBlockInput {
|
|
771
|
+
height: number;
|
|
772
|
+
}
|
|
726
773
|
|
|
727
|
-
interface
|
|
774
|
+
interface RequestGetBlocksInput {
|
|
775
|
+
paging: GraphQLClient.PageInput;
|
|
776
|
+
heightFilter: GraphQLClient.RangeFilterInput;
|
|
777
|
+
emptyExcluded: boolean;
|
|
778
|
+
}
|
|
728
779
|
|
|
729
|
-
interface
|
|
780
|
+
interface RequestGetConfigInput {
|
|
781
|
+
parsed: boolean;
|
|
782
|
+
}
|
|
730
783
|
|
|
731
|
-
interface
|
|
784
|
+
interface RequestGetEvidenceStateInput {
|
|
785
|
+
hash: string;
|
|
786
|
+
}
|
|
732
787
|
|
|
733
|
-
interface
|
|
788
|
+
interface RequestGetRollupBlockInput {
|
|
789
|
+
hash: string;
|
|
790
|
+
height: number;
|
|
791
|
+
rollupAddress: string;
|
|
792
|
+
}
|
|
734
793
|
|
|
735
|
-
interface
|
|
794
|
+
interface RequestGetStateInput {
|
|
795
|
+
address: string;
|
|
796
|
+
keys: string[];
|
|
797
|
+
height: number;
|
|
798
|
+
}
|
|
736
799
|
|
|
737
|
-
interface
|
|
800
|
+
interface RequestGetTxInput {
|
|
801
|
+
hash: string;
|
|
802
|
+
}
|
|
738
803
|
|
|
739
|
-
interface
|
|
804
|
+
interface RequestListAssetTransactionsInput {
|
|
805
|
+
paging: GraphQLClient.PageInput;
|
|
806
|
+
address: string;
|
|
807
|
+
}
|
|
740
808
|
|
|
741
|
-
interface
|
|
809
|
+
interface RequestListAssetsInput {
|
|
810
|
+
paging: GraphQLClient.PageInput;
|
|
811
|
+
ownerAddress: string;
|
|
812
|
+
factoryAddress: string;
|
|
813
|
+
timeFilter: GraphQLClient.TimeFilterInput;
|
|
814
|
+
}
|
|
742
815
|
|
|
743
|
-
interface
|
|
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
|
+
}
|
|
744
824
|
|
|
745
|
-
interface
|
|
825
|
+
interface RequestListFactoriesInput {
|
|
826
|
+
paging: GraphQLClient.PageInput;
|
|
827
|
+
ownerAddress: string;
|
|
828
|
+
addressList: string[];
|
|
829
|
+
}
|
|
746
830
|
|
|
747
|
-
interface
|
|
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
|
+
}
|
|
748
840
|
|
|
749
|
-
interface
|
|
841
|
+
interface RequestListRollupValidatorsInput {
|
|
842
|
+
paging: GraphQLClient.PageInput;
|
|
843
|
+
rollupAddress: string;
|
|
844
|
+
}
|
|
750
845
|
|
|
751
|
-
interface
|
|
846
|
+
interface RequestListRollupsInput {
|
|
847
|
+
paging: GraphQLClient.PageInput;
|
|
848
|
+
tokenAddress: string;
|
|
849
|
+
foreignTokenAddress: string;
|
|
850
|
+
}
|
|
752
851
|
|
|
753
|
-
interface
|
|
852
|
+
interface RequestListStakesInput {
|
|
853
|
+
paging: GraphQLClient.PageInput;
|
|
854
|
+
addressFilter: GraphQLClient.AddressFilterInput;
|
|
855
|
+
timeFilter: GraphQLClient.TimeFilterInput;
|
|
856
|
+
assetFilter: GraphQLClient.AssetFilterInput;
|
|
857
|
+
}
|
|
754
858
|
|
|
755
|
-
interface
|
|
859
|
+
interface RequestListTokensInput {
|
|
860
|
+
paging: GraphQLClient.PageInput;
|
|
861
|
+
issuerAddress: string;
|
|
862
|
+
}
|
|
756
863
|
|
|
757
|
-
interface
|
|
864
|
+
interface RequestListTopAccountsInput {
|
|
865
|
+
paging: GraphQLClient.PageInput;
|
|
866
|
+
tokenAddress: string;
|
|
867
|
+
}
|
|
758
868
|
|
|
759
|
-
interface
|
|
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
|
+
}
|
|
760
882
|
|
|
761
|
-
interface
|
|
883
|
+
interface RequestSearchInput {
|
|
884
|
+
paging: GraphQLClient.PageInput;
|
|
885
|
+
keyword: string;
|
|
886
|
+
}
|
|
762
887
|
|
|
763
|
-
interface
|
|
888
|
+
interface RequestSendTxInput {
|
|
889
|
+
tx: string;
|
|
890
|
+
wallet: GraphQLClient.WalletInfoInput;
|
|
891
|
+
token: string;
|
|
892
|
+
commit: boolean;
|
|
893
|
+
}
|
|
764
894
|
|
|
765
|
-
interface
|
|
895
|
+
interface RollupFilterInput {
|
|
896
|
+
rollups: string[];
|
|
897
|
+
}
|
|
766
898
|
|
|
767
|
-
interface
|
|
899
|
+
interface TimeFilterInput {
|
|
900
|
+
startDateTime: string;
|
|
901
|
+
endDateTime: string;
|
|
902
|
+
field: string;
|
|
903
|
+
}
|
|
768
904
|
|
|
769
|
-
interface
|
|
905
|
+
interface TokenFilterInput {
|
|
906
|
+
tokens: string[];
|
|
907
|
+
}
|
|
770
908
|
|
|
771
|
-
interface
|
|
909
|
+
interface TxFilterInput {
|
|
910
|
+
txs: string[];
|
|
911
|
+
}
|
|
772
912
|
|
|
773
|
-
interface
|
|
913
|
+
interface TypeFilterInput {
|
|
914
|
+
types: string[];
|
|
915
|
+
}
|
|
774
916
|
|
|
775
|
-
interface
|
|
917
|
+
interface ValidatorFilterInput {
|
|
918
|
+
validators: string[];
|
|
919
|
+
}
|
|
776
920
|
|
|
777
|
-
interface
|
|
921
|
+
interface ValidityFilterInput {
|
|
922
|
+
validity: GraphQLClient.Validity;
|
|
923
|
+
}
|
|
778
924
|
|
|
779
|
-
interface
|
|
925
|
+
interface WalletInfoInput {
|
|
926
|
+
type: GraphQLClient.WalletTypeInput;
|
|
927
|
+
sk: string;
|
|
928
|
+
pk: string;
|
|
929
|
+
address: string;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
interface WalletTypeInput {
|
|
933
|
+
pk: GraphQLClient.KeyType;
|
|
934
|
+
hash: GraphQLClient.HashType;
|
|
935
|
+
address: GraphQLClient.EncodingType;
|
|
936
|
+
role: GraphQLClient.RoleType;
|
|
937
|
+
}
|
|
780
938
|
|
|
781
939
|
interface AccountConfig {
|
|
782
940
|
address: string;
|
|
@@ -1226,6 +1384,10 @@ declare namespace GraphQLClient {
|
|
|
1226
1384
|
address: string;
|
|
1227
1385
|
}
|
|
1228
1386
|
|
|
1387
|
+
interface GasEstimate {
|
|
1388
|
+
max: string;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1229
1391
|
interface GeoInfo {
|
|
1230
1392
|
city: string;
|
|
1231
1393
|
country: string;
|
|
@@ -1576,6 +1738,11 @@ declare namespace GraphQLClient {
|
|
|
1576
1738
|
value: string;
|
|
1577
1739
|
}
|
|
1578
1740
|
|
|
1741
|
+
interface ResponseEstimateGas {
|
|
1742
|
+
code: string;
|
|
1743
|
+
estimate: GraphQLClient.GasEstimate;
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1579
1746
|
interface ResponseGetAccountState {
|
|
1580
1747
|
code: string;
|
|
1581
1748
|
state: GraphQLClient.AccountState;
|
|
@@ -2155,12 +2322,12 @@ declare namespace GraphQLClient {
|
|
|
2155
2322
|
|
|
2156
2323
|
interface GetBlocksParams {
|
|
2157
2324
|
emptyExcluded: boolean;
|
|
2158
|
-
heightFilter:
|
|
2159
|
-
paging:
|
|
2325
|
+
heightFilter: GraphQLClient.RangeFilterInput;
|
|
2326
|
+
paging: GraphQLClient.PageInput;
|
|
2160
2327
|
}
|
|
2161
2328
|
|
|
2162
2329
|
interface GetUnconfirmedTxsParams {
|
|
2163
|
-
paging:
|
|
2330
|
+
paging: GraphQLClient.PageInput;
|
|
2164
2331
|
}
|
|
2165
2332
|
|
|
2166
2333
|
interface GetConfigParams {
|
|
@@ -2169,53 +2336,53 @@ declare namespace GraphQLClient {
|
|
|
2169
2336
|
|
|
2170
2337
|
interface ListAssetTransactionsParams {
|
|
2171
2338
|
address: string;
|
|
2172
|
-
paging:
|
|
2339
|
+
paging: GraphQLClient.PageInput;
|
|
2173
2340
|
}
|
|
2174
2341
|
|
|
2175
2342
|
interface ListAssetsParams {
|
|
2176
2343
|
ownerAddress: string;
|
|
2177
|
-
paging:
|
|
2344
|
+
paging: GraphQLClient.PageInput;
|
|
2178
2345
|
factoryAddress: string;
|
|
2179
|
-
timeFilter:
|
|
2346
|
+
timeFilter: GraphQLClient.TimeFilterInput;
|
|
2180
2347
|
}
|
|
2181
2348
|
|
|
2182
2349
|
interface ListBlocksParams {
|
|
2183
|
-
heightFilter:
|
|
2184
|
-
numInvalidTxsFilter:
|
|
2185
|
-
numTxsFilter:
|
|
2186
|
-
paging:
|
|
2350
|
+
heightFilter: GraphQLClient.RangeFilterInput;
|
|
2351
|
+
numInvalidTxsFilter: GraphQLClient.RangeFilterInput;
|
|
2352
|
+
numTxsFilter: GraphQLClient.RangeFilterInput;
|
|
2353
|
+
paging: GraphQLClient.PageInput;
|
|
2187
2354
|
proposer: string;
|
|
2188
|
-
timeFilter:
|
|
2355
|
+
timeFilter: GraphQLClient.TimeFilterInput;
|
|
2189
2356
|
}
|
|
2190
2357
|
|
|
2191
2358
|
interface ListTopAccountsParams {
|
|
2192
|
-
paging:
|
|
2359
|
+
paging: GraphQLClient.PageInput;
|
|
2193
2360
|
tokenAddress: string;
|
|
2194
2361
|
}
|
|
2195
2362
|
|
|
2196
2363
|
interface ListTransactionsParams {
|
|
2197
|
-
addressFilter:
|
|
2198
|
-
paging:
|
|
2199
|
-
timeFilter:
|
|
2200
|
-
typeFilter:
|
|
2201
|
-
validityFilter:
|
|
2202
|
-
factoryFilter:
|
|
2203
|
-
tokenFilter:
|
|
2204
|
-
assetFilter:
|
|
2205
|
-
accountFilter:
|
|
2206
|
-
txFilter:
|
|
2207
|
-
rollupFilter:
|
|
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;
|
|
2208
2375
|
}
|
|
2209
2376
|
|
|
2210
2377
|
interface ListTokensParams {
|
|
2211
2378
|
issuerAddress: string;
|
|
2212
|
-
paging:
|
|
2379
|
+
paging: GraphQLClient.PageInput;
|
|
2213
2380
|
}
|
|
2214
2381
|
|
|
2215
2382
|
interface ListFactoriesParams {
|
|
2216
2383
|
ownerAddress: string;
|
|
2217
2384
|
addressList: string[];
|
|
2218
|
-
paging:
|
|
2385
|
+
paging: GraphQLClient.PageInput;
|
|
2219
2386
|
}
|
|
2220
2387
|
|
|
2221
2388
|
interface GetAccountTokensParams {
|
|
@@ -2230,10 +2397,10 @@ declare namespace GraphQLClient {
|
|
|
2230
2397
|
}
|
|
2231
2398
|
|
|
2232
2399
|
interface ListStakesParams {
|
|
2233
|
-
addressFilter:
|
|
2234
|
-
assetFilter:
|
|
2235
|
-
timeFilter:
|
|
2236
|
-
paging:
|
|
2400
|
+
addressFilter: GraphQLClient.AddressFilterInput;
|
|
2401
|
+
assetFilter: GraphQLClient.AssetFilterInput;
|
|
2402
|
+
timeFilter: GraphQLClient.TimeFilterInput;
|
|
2403
|
+
paging: GraphQLClient.PageInput;
|
|
2237
2404
|
}
|
|
2238
2405
|
|
|
2239
2406
|
interface GetRollupStateParams {
|
|
@@ -2243,7 +2410,7 @@ declare namespace GraphQLClient {
|
|
|
2243
2410
|
}
|
|
2244
2411
|
|
|
2245
2412
|
interface ListRollupsParams {
|
|
2246
|
-
paging:
|
|
2413
|
+
paging: GraphQLClient.PageInput;
|
|
2247
2414
|
tokenAddress: string;
|
|
2248
2415
|
erc20TokenAddress: string;
|
|
2249
2416
|
foreignTokenAddress: string;
|
|
@@ -2256,24 +2423,29 @@ declare namespace GraphQLClient {
|
|
|
2256
2423
|
}
|
|
2257
2424
|
|
|
2258
2425
|
interface ListRollupBlocksParams {
|
|
2259
|
-
paging:
|
|
2426
|
+
paging: GraphQLClient.PageInput;
|
|
2260
2427
|
rollupAddress: string;
|
|
2261
2428
|
tokenAddress: string;
|
|
2262
2429
|
proposer: string;
|
|
2263
|
-
validatorFilter:
|
|
2264
|
-
txFilter:
|
|
2430
|
+
validatorFilter: GraphQLClient.ValidatorFilterInput;
|
|
2431
|
+
txFilter: GraphQLClient.TxFilterInput;
|
|
2265
2432
|
}
|
|
2266
2433
|
|
|
2267
2434
|
interface ListRollupValidatorsParams {
|
|
2268
|
-
paging:
|
|
2435
|
+
paging: GraphQLClient.PageInput;
|
|
2269
2436
|
rollupAddress: string;
|
|
2270
2437
|
}
|
|
2271
2438
|
|
|
2272
2439
|
interface SearchParams {
|
|
2273
|
-
paging:
|
|
2440
|
+
paging: GraphQLClient.PageInput;
|
|
2274
2441
|
keyword: string;
|
|
2275
2442
|
}
|
|
2276
2443
|
|
|
2444
|
+
interface EstimateGasParams {
|
|
2445
|
+
typeUrl: string;
|
|
2446
|
+
tx: string;
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2277
2449
|
interface SendTxParams {
|
|
2278
2450
|
commit: boolean;
|
|
2279
2451
|
token: string;
|