@dashevo/dapi-grpc 1.8.0 → 2.0.0-rc.1

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.
@@ -103,15 +103,6 @@ type PlatformgetEvonodesProposedEpochBlocksByRange = {
103
103
  readonly responseType: typeof platform_pb.GetEvonodesProposedEpochBlocksResponse;
104
104
  };
105
105
 
106
- type PlatformgetProofs = {
107
- readonly methodName: string;
108
- readonly service: typeof Platform;
109
- readonly requestStream: false;
110
- readonly responseStream: false;
111
- readonly requestType: typeof platform_pb.GetProofsRequest;
112
- readonly responseType: typeof platform_pb.GetProofsResponse;
113
- };
114
-
115
106
  type PlatformgetDataContract = {
116
107
  readonly methodName: string;
117
108
  readonly service: typeof Platform;
@@ -157,6 +148,15 @@ type PlatformgetIdentityByPublicKeyHash = {
157
148
  readonly responseType: typeof platform_pb.GetIdentityByPublicKeyHashResponse;
158
149
  };
159
150
 
151
+ type PlatformgetIdentityByNonUniquePublicKeyHash = {
152
+ readonly methodName: string;
153
+ readonly service: typeof Platform;
154
+ readonly requestStream: false;
155
+ readonly responseStream: false;
156
+ readonly requestType: typeof platform_pb.GetIdentityByNonUniquePublicKeyHashRequest;
157
+ readonly responseType: typeof platform_pb.GetIdentityByNonUniquePublicKeyHashResponse;
158
+ };
159
+
160
160
  type PlatformwaitForStateTransitionResult = {
161
161
  readonly methodName: string;
162
162
  readonly service: typeof Platform;
@@ -292,6 +292,114 @@ type PlatformgetCurrentQuorumsInfo = {
292
292
  readonly responseType: typeof platform_pb.GetCurrentQuorumsInfoResponse;
293
293
  };
294
294
 
295
+ type PlatformgetIdentityTokenBalances = {
296
+ readonly methodName: string;
297
+ readonly service: typeof Platform;
298
+ readonly requestStream: false;
299
+ readonly responseStream: false;
300
+ readonly requestType: typeof platform_pb.GetIdentityTokenBalancesRequest;
301
+ readonly responseType: typeof platform_pb.GetIdentityTokenBalancesResponse;
302
+ };
303
+
304
+ type PlatformgetIdentitiesTokenBalances = {
305
+ readonly methodName: string;
306
+ readonly service: typeof Platform;
307
+ readonly requestStream: false;
308
+ readonly responseStream: false;
309
+ readonly requestType: typeof platform_pb.GetIdentitiesTokenBalancesRequest;
310
+ readonly responseType: typeof platform_pb.GetIdentitiesTokenBalancesResponse;
311
+ };
312
+
313
+ type PlatformgetIdentityTokenInfos = {
314
+ readonly methodName: string;
315
+ readonly service: typeof Platform;
316
+ readonly requestStream: false;
317
+ readonly responseStream: false;
318
+ readonly requestType: typeof platform_pb.GetIdentityTokenInfosRequest;
319
+ readonly responseType: typeof platform_pb.GetIdentityTokenInfosResponse;
320
+ };
321
+
322
+ type PlatformgetIdentitiesTokenInfos = {
323
+ readonly methodName: string;
324
+ readonly service: typeof Platform;
325
+ readonly requestStream: false;
326
+ readonly responseStream: false;
327
+ readonly requestType: typeof platform_pb.GetIdentitiesTokenInfosRequest;
328
+ readonly responseType: typeof platform_pb.GetIdentitiesTokenInfosResponse;
329
+ };
330
+
331
+ type PlatformgetTokenStatuses = {
332
+ readonly methodName: string;
333
+ readonly service: typeof Platform;
334
+ readonly requestStream: false;
335
+ readonly responseStream: false;
336
+ readonly requestType: typeof platform_pb.GetTokenStatusesRequest;
337
+ readonly responseType: typeof platform_pb.GetTokenStatusesResponse;
338
+ };
339
+
340
+ type PlatformgetTokenDirectPurchasePrices = {
341
+ readonly methodName: string;
342
+ readonly service: typeof Platform;
343
+ readonly requestStream: false;
344
+ readonly responseStream: false;
345
+ readonly requestType: typeof platform_pb.GetTokenDirectPurchasePricesRequest;
346
+ readonly responseType: typeof platform_pb.GetTokenDirectPurchasePricesResponse;
347
+ };
348
+
349
+ type PlatformgetTokenPreProgrammedDistributions = {
350
+ readonly methodName: string;
351
+ readonly service: typeof Platform;
352
+ readonly requestStream: false;
353
+ readonly responseStream: false;
354
+ readonly requestType: typeof platform_pb.GetTokenPreProgrammedDistributionsRequest;
355
+ readonly responseType: typeof platform_pb.GetTokenPreProgrammedDistributionsResponse;
356
+ };
357
+
358
+ type PlatformgetTokenTotalSupply = {
359
+ readonly methodName: string;
360
+ readonly service: typeof Platform;
361
+ readonly requestStream: false;
362
+ readonly responseStream: false;
363
+ readonly requestType: typeof platform_pb.GetTokenTotalSupplyRequest;
364
+ readonly responseType: typeof platform_pb.GetTokenTotalSupplyResponse;
365
+ };
366
+
367
+ type PlatformgetGroupInfo = {
368
+ readonly methodName: string;
369
+ readonly service: typeof Platform;
370
+ readonly requestStream: false;
371
+ readonly responseStream: false;
372
+ readonly requestType: typeof platform_pb.GetGroupInfoRequest;
373
+ readonly responseType: typeof platform_pb.GetGroupInfoResponse;
374
+ };
375
+
376
+ type PlatformgetGroupInfos = {
377
+ readonly methodName: string;
378
+ readonly service: typeof Platform;
379
+ readonly requestStream: false;
380
+ readonly responseStream: false;
381
+ readonly requestType: typeof platform_pb.GetGroupInfosRequest;
382
+ readonly responseType: typeof platform_pb.GetGroupInfosResponse;
383
+ };
384
+
385
+ type PlatformgetGroupActions = {
386
+ readonly methodName: string;
387
+ readonly service: typeof Platform;
388
+ readonly requestStream: false;
389
+ readonly responseStream: false;
390
+ readonly requestType: typeof platform_pb.GetGroupActionsRequest;
391
+ readonly responseType: typeof platform_pb.GetGroupActionsResponse;
392
+ };
393
+
394
+ type PlatformgetGroupActionSigners = {
395
+ readonly methodName: string;
396
+ readonly service: typeof Platform;
397
+ readonly requestStream: false;
398
+ readonly responseStream: false;
399
+ readonly requestType: typeof platform_pb.GetGroupActionSignersRequest;
400
+ readonly responseType: typeof platform_pb.GetGroupActionSignersResponse;
401
+ };
402
+
295
403
  export class Platform {
296
404
  static readonly serviceName: string;
297
405
  static readonly broadcastStateTransition: PlatformbroadcastStateTransition;
@@ -305,12 +413,12 @@ export class Platform {
305
413
  static readonly getIdentityBalanceAndRevision: PlatformgetIdentityBalanceAndRevision;
306
414
  static readonly getEvonodesProposedEpochBlocksByIds: PlatformgetEvonodesProposedEpochBlocksByIds;
307
415
  static readonly getEvonodesProposedEpochBlocksByRange: PlatformgetEvonodesProposedEpochBlocksByRange;
308
- static readonly getProofs: PlatformgetProofs;
309
416
  static readonly getDataContract: PlatformgetDataContract;
310
417
  static readonly getDataContractHistory: PlatformgetDataContractHistory;
311
418
  static readonly getDataContracts: PlatformgetDataContracts;
312
419
  static readonly getDocuments: PlatformgetDocuments;
313
420
  static readonly getIdentityByPublicKeyHash: PlatformgetIdentityByPublicKeyHash;
421
+ static readonly getIdentityByNonUniquePublicKeyHash: PlatformgetIdentityByNonUniquePublicKeyHash;
314
422
  static readonly waitForStateTransitionResult: PlatformwaitForStateTransitionResult;
315
423
  static readonly getConsensusParams: PlatformgetConsensusParams;
316
424
  static readonly getProtocolVersionUpgradeState: PlatformgetProtocolVersionUpgradeState;
@@ -326,6 +434,18 @@ export class Platform {
326
434
  static readonly getPathElements: PlatformgetPathElements;
327
435
  static readonly getStatus: PlatformgetStatus;
328
436
  static readonly getCurrentQuorumsInfo: PlatformgetCurrentQuorumsInfo;
437
+ static readonly getIdentityTokenBalances: PlatformgetIdentityTokenBalances;
438
+ static readonly getIdentitiesTokenBalances: PlatformgetIdentitiesTokenBalances;
439
+ static readonly getIdentityTokenInfos: PlatformgetIdentityTokenInfos;
440
+ static readonly getIdentitiesTokenInfos: PlatformgetIdentitiesTokenInfos;
441
+ static readonly getTokenStatuses: PlatformgetTokenStatuses;
442
+ static readonly getTokenDirectPurchasePrices: PlatformgetTokenDirectPurchasePrices;
443
+ static readonly getTokenPreProgrammedDistributions: PlatformgetTokenPreProgrammedDistributions;
444
+ static readonly getTokenTotalSupply: PlatformgetTokenTotalSupply;
445
+ static readonly getGroupInfo: PlatformgetGroupInfo;
446
+ static readonly getGroupInfos: PlatformgetGroupInfos;
447
+ static readonly getGroupActions: PlatformgetGroupActions;
448
+ static readonly getGroupActionSigners: PlatformgetGroupActionSigners;
329
449
  }
330
450
 
331
451
  export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
@@ -459,15 +579,6 @@ export class PlatformClient {
459
579
  requestMessage: platform_pb.GetEvonodesProposedEpochBlocksByRangeRequest,
460
580
  callback: (error: ServiceError|null, responseMessage: platform_pb.GetEvonodesProposedEpochBlocksResponse|null) => void
461
581
  ): UnaryResponse;
462
- getProofs(
463
- requestMessage: platform_pb.GetProofsRequest,
464
- metadata: grpc.Metadata,
465
- callback: (error: ServiceError|null, responseMessage: platform_pb.GetProofsResponse|null) => void
466
- ): UnaryResponse;
467
- getProofs(
468
- requestMessage: platform_pb.GetProofsRequest,
469
- callback: (error: ServiceError|null, responseMessage: platform_pb.GetProofsResponse|null) => void
470
- ): UnaryResponse;
471
582
  getDataContract(
472
583
  requestMessage: platform_pb.GetDataContractRequest,
473
584
  metadata: grpc.Metadata,
@@ -513,6 +624,15 @@ export class PlatformClient {
513
624
  requestMessage: platform_pb.GetIdentityByPublicKeyHashRequest,
514
625
  callback: (error: ServiceError|null, responseMessage: platform_pb.GetIdentityByPublicKeyHashResponse|null) => void
515
626
  ): UnaryResponse;
627
+ getIdentityByNonUniquePublicKeyHash(
628
+ requestMessage: platform_pb.GetIdentityByNonUniquePublicKeyHashRequest,
629
+ metadata: grpc.Metadata,
630
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetIdentityByNonUniquePublicKeyHashResponse|null) => void
631
+ ): UnaryResponse;
632
+ getIdentityByNonUniquePublicKeyHash(
633
+ requestMessage: platform_pb.GetIdentityByNonUniquePublicKeyHashRequest,
634
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetIdentityByNonUniquePublicKeyHashResponse|null) => void
635
+ ): UnaryResponse;
516
636
  waitForStateTransitionResult(
517
637
  requestMessage: platform_pb.WaitForStateTransitionResultRequest,
518
638
  metadata: grpc.Metadata,
@@ -648,5 +768,113 @@ export class PlatformClient {
648
768
  requestMessage: platform_pb.GetCurrentQuorumsInfoRequest,
649
769
  callback: (error: ServiceError|null, responseMessage: platform_pb.GetCurrentQuorumsInfoResponse|null) => void
650
770
  ): UnaryResponse;
771
+ getIdentityTokenBalances(
772
+ requestMessage: platform_pb.GetIdentityTokenBalancesRequest,
773
+ metadata: grpc.Metadata,
774
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetIdentityTokenBalancesResponse|null) => void
775
+ ): UnaryResponse;
776
+ getIdentityTokenBalances(
777
+ requestMessage: platform_pb.GetIdentityTokenBalancesRequest,
778
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetIdentityTokenBalancesResponse|null) => void
779
+ ): UnaryResponse;
780
+ getIdentitiesTokenBalances(
781
+ requestMessage: platform_pb.GetIdentitiesTokenBalancesRequest,
782
+ metadata: grpc.Metadata,
783
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetIdentitiesTokenBalancesResponse|null) => void
784
+ ): UnaryResponse;
785
+ getIdentitiesTokenBalances(
786
+ requestMessage: platform_pb.GetIdentitiesTokenBalancesRequest,
787
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetIdentitiesTokenBalancesResponse|null) => void
788
+ ): UnaryResponse;
789
+ getIdentityTokenInfos(
790
+ requestMessage: platform_pb.GetIdentityTokenInfosRequest,
791
+ metadata: grpc.Metadata,
792
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetIdentityTokenInfosResponse|null) => void
793
+ ): UnaryResponse;
794
+ getIdentityTokenInfos(
795
+ requestMessage: platform_pb.GetIdentityTokenInfosRequest,
796
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetIdentityTokenInfosResponse|null) => void
797
+ ): UnaryResponse;
798
+ getIdentitiesTokenInfos(
799
+ requestMessage: platform_pb.GetIdentitiesTokenInfosRequest,
800
+ metadata: grpc.Metadata,
801
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetIdentitiesTokenInfosResponse|null) => void
802
+ ): UnaryResponse;
803
+ getIdentitiesTokenInfos(
804
+ requestMessage: platform_pb.GetIdentitiesTokenInfosRequest,
805
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetIdentitiesTokenInfosResponse|null) => void
806
+ ): UnaryResponse;
807
+ getTokenStatuses(
808
+ requestMessage: platform_pb.GetTokenStatusesRequest,
809
+ metadata: grpc.Metadata,
810
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenStatusesResponse|null) => void
811
+ ): UnaryResponse;
812
+ getTokenStatuses(
813
+ requestMessage: platform_pb.GetTokenStatusesRequest,
814
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenStatusesResponse|null) => void
815
+ ): UnaryResponse;
816
+ getTokenDirectPurchasePrices(
817
+ requestMessage: platform_pb.GetTokenDirectPurchasePricesRequest,
818
+ metadata: grpc.Metadata,
819
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenDirectPurchasePricesResponse|null) => void
820
+ ): UnaryResponse;
821
+ getTokenDirectPurchasePrices(
822
+ requestMessage: platform_pb.GetTokenDirectPurchasePricesRequest,
823
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenDirectPurchasePricesResponse|null) => void
824
+ ): UnaryResponse;
825
+ getTokenPreProgrammedDistributions(
826
+ requestMessage: platform_pb.GetTokenPreProgrammedDistributionsRequest,
827
+ metadata: grpc.Metadata,
828
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenPreProgrammedDistributionsResponse|null) => void
829
+ ): UnaryResponse;
830
+ getTokenPreProgrammedDistributions(
831
+ requestMessage: platform_pb.GetTokenPreProgrammedDistributionsRequest,
832
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenPreProgrammedDistributionsResponse|null) => void
833
+ ): UnaryResponse;
834
+ getTokenTotalSupply(
835
+ requestMessage: platform_pb.GetTokenTotalSupplyRequest,
836
+ metadata: grpc.Metadata,
837
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenTotalSupplyResponse|null) => void
838
+ ): UnaryResponse;
839
+ getTokenTotalSupply(
840
+ requestMessage: platform_pb.GetTokenTotalSupplyRequest,
841
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenTotalSupplyResponse|null) => void
842
+ ): UnaryResponse;
843
+ getGroupInfo(
844
+ requestMessage: platform_pb.GetGroupInfoRequest,
845
+ metadata: grpc.Metadata,
846
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetGroupInfoResponse|null) => void
847
+ ): UnaryResponse;
848
+ getGroupInfo(
849
+ requestMessage: platform_pb.GetGroupInfoRequest,
850
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetGroupInfoResponse|null) => void
851
+ ): UnaryResponse;
852
+ getGroupInfos(
853
+ requestMessage: platform_pb.GetGroupInfosRequest,
854
+ metadata: grpc.Metadata,
855
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetGroupInfosResponse|null) => void
856
+ ): UnaryResponse;
857
+ getGroupInfos(
858
+ requestMessage: platform_pb.GetGroupInfosRequest,
859
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetGroupInfosResponse|null) => void
860
+ ): UnaryResponse;
861
+ getGroupActions(
862
+ requestMessage: platform_pb.GetGroupActionsRequest,
863
+ metadata: grpc.Metadata,
864
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetGroupActionsResponse|null) => void
865
+ ): UnaryResponse;
866
+ getGroupActions(
867
+ requestMessage: platform_pb.GetGroupActionsRequest,
868
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetGroupActionsResponse|null) => void
869
+ ): UnaryResponse;
870
+ getGroupActionSigners(
871
+ requestMessage: platform_pb.GetGroupActionSignersRequest,
872
+ metadata: grpc.Metadata,
873
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetGroupActionSignersResponse|null) => void
874
+ ): UnaryResponse;
875
+ getGroupActionSigners(
876
+ requestMessage: platform_pb.GetGroupActionSignersRequest,
877
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetGroupActionSignersResponse|null) => void
878
+ ): UnaryResponse;
651
879
  }
652
880