@dashevo/dapi-grpc 2.0.0-dev.1 → 2.0.0-rc.2

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;
@@ -337,6 +337,15 @@ type PlatformgetTokenStatuses = {
337
337
  readonly responseType: typeof platform_pb.GetTokenStatusesResponse;
338
338
  };
339
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
+
340
349
  type PlatformgetTokenPreProgrammedDistributions = {
341
350
  readonly methodName: string;
342
351
  readonly service: typeof Platform;
@@ -346,6 +355,15 @@ type PlatformgetTokenPreProgrammedDistributions = {
346
355
  readonly responseType: typeof platform_pb.GetTokenPreProgrammedDistributionsResponse;
347
356
  };
348
357
 
358
+ type PlatformgetTokenPerpetualDistributionLastClaim = {
359
+ readonly methodName: string;
360
+ readonly service: typeof Platform;
361
+ readonly requestStream: false;
362
+ readonly responseStream: false;
363
+ readonly requestType: typeof platform_pb.GetTokenPerpetualDistributionLastClaimRequest;
364
+ readonly responseType: typeof platform_pb.GetTokenPerpetualDistributionLastClaimResponse;
365
+ };
366
+
349
367
  type PlatformgetTokenTotalSupply = {
350
368
  readonly methodName: string;
351
369
  readonly service: typeof Platform;
@@ -404,12 +422,12 @@ export class Platform {
404
422
  static readonly getIdentityBalanceAndRevision: PlatformgetIdentityBalanceAndRevision;
405
423
  static readonly getEvonodesProposedEpochBlocksByIds: PlatformgetEvonodesProposedEpochBlocksByIds;
406
424
  static readonly getEvonodesProposedEpochBlocksByRange: PlatformgetEvonodesProposedEpochBlocksByRange;
407
- static readonly getProofs: PlatformgetProofs;
408
425
  static readonly getDataContract: PlatformgetDataContract;
409
426
  static readonly getDataContractHistory: PlatformgetDataContractHistory;
410
427
  static readonly getDataContracts: PlatformgetDataContracts;
411
428
  static readonly getDocuments: PlatformgetDocuments;
412
429
  static readonly getIdentityByPublicKeyHash: PlatformgetIdentityByPublicKeyHash;
430
+ static readonly getIdentityByNonUniquePublicKeyHash: PlatformgetIdentityByNonUniquePublicKeyHash;
413
431
  static readonly waitForStateTransitionResult: PlatformwaitForStateTransitionResult;
414
432
  static readonly getConsensusParams: PlatformgetConsensusParams;
415
433
  static readonly getProtocolVersionUpgradeState: PlatformgetProtocolVersionUpgradeState;
@@ -430,7 +448,9 @@ export class Platform {
430
448
  static readonly getIdentityTokenInfos: PlatformgetIdentityTokenInfos;
431
449
  static readonly getIdentitiesTokenInfos: PlatformgetIdentitiesTokenInfos;
432
450
  static readonly getTokenStatuses: PlatformgetTokenStatuses;
451
+ static readonly getTokenDirectPurchasePrices: PlatformgetTokenDirectPurchasePrices;
433
452
  static readonly getTokenPreProgrammedDistributions: PlatformgetTokenPreProgrammedDistributions;
453
+ static readonly getTokenPerpetualDistributionLastClaim: PlatformgetTokenPerpetualDistributionLastClaim;
434
454
  static readonly getTokenTotalSupply: PlatformgetTokenTotalSupply;
435
455
  static readonly getGroupInfo: PlatformgetGroupInfo;
436
456
  static readonly getGroupInfos: PlatformgetGroupInfos;
@@ -569,15 +589,6 @@ export class PlatformClient {
569
589
  requestMessage: platform_pb.GetEvonodesProposedEpochBlocksByRangeRequest,
570
590
  callback: (error: ServiceError|null, responseMessage: platform_pb.GetEvonodesProposedEpochBlocksResponse|null) => void
571
591
  ): UnaryResponse;
572
- getProofs(
573
- requestMessage: platform_pb.GetProofsRequest,
574
- metadata: grpc.Metadata,
575
- callback: (error: ServiceError|null, responseMessage: platform_pb.GetProofsResponse|null) => void
576
- ): UnaryResponse;
577
- getProofs(
578
- requestMessage: platform_pb.GetProofsRequest,
579
- callback: (error: ServiceError|null, responseMessage: platform_pb.GetProofsResponse|null) => void
580
- ): UnaryResponse;
581
592
  getDataContract(
582
593
  requestMessage: platform_pb.GetDataContractRequest,
583
594
  metadata: grpc.Metadata,
@@ -623,6 +634,15 @@ export class PlatformClient {
623
634
  requestMessage: platform_pb.GetIdentityByPublicKeyHashRequest,
624
635
  callback: (error: ServiceError|null, responseMessage: platform_pb.GetIdentityByPublicKeyHashResponse|null) => void
625
636
  ): UnaryResponse;
637
+ getIdentityByNonUniquePublicKeyHash(
638
+ requestMessage: platform_pb.GetIdentityByNonUniquePublicKeyHashRequest,
639
+ metadata: grpc.Metadata,
640
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetIdentityByNonUniquePublicKeyHashResponse|null) => void
641
+ ): UnaryResponse;
642
+ getIdentityByNonUniquePublicKeyHash(
643
+ requestMessage: platform_pb.GetIdentityByNonUniquePublicKeyHashRequest,
644
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetIdentityByNonUniquePublicKeyHashResponse|null) => void
645
+ ): UnaryResponse;
626
646
  waitForStateTransitionResult(
627
647
  requestMessage: platform_pb.WaitForStateTransitionResultRequest,
628
648
  metadata: grpc.Metadata,
@@ -803,6 +823,15 @@ export class PlatformClient {
803
823
  requestMessage: platform_pb.GetTokenStatusesRequest,
804
824
  callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenStatusesResponse|null) => void
805
825
  ): UnaryResponse;
826
+ getTokenDirectPurchasePrices(
827
+ requestMessage: platform_pb.GetTokenDirectPurchasePricesRequest,
828
+ metadata: grpc.Metadata,
829
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenDirectPurchasePricesResponse|null) => void
830
+ ): UnaryResponse;
831
+ getTokenDirectPurchasePrices(
832
+ requestMessage: platform_pb.GetTokenDirectPurchasePricesRequest,
833
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenDirectPurchasePricesResponse|null) => void
834
+ ): UnaryResponse;
806
835
  getTokenPreProgrammedDistributions(
807
836
  requestMessage: platform_pb.GetTokenPreProgrammedDistributionsRequest,
808
837
  metadata: grpc.Metadata,
@@ -812,6 +841,15 @@ export class PlatformClient {
812
841
  requestMessage: platform_pb.GetTokenPreProgrammedDistributionsRequest,
813
842
  callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenPreProgrammedDistributionsResponse|null) => void
814
843
  ): UnaryResponse;
844
+ getTokenPerpetualDistributionLastClaim(
845
+ requestMessage: platform_pb.GetTokenPerpetualDistributionLastClaimRequest,
846
+ metadata: grpc.Metadata,
847
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenPerpetualDistributionLastClaimResponse|null) => void
848
+ ): UnaryResponse;
849
+ getTokenPerpetualDistributionLastClaim(
850
+ requestMessage: platform_pb.GetTokenPerpetualDistributionLastClaimRequest,
851
+ callback: (error: ServiceError|null, responseMessage: platform_pb.GetTokenPerpetualDistributionLastClaimResponse|null) => void
852
+ ): UnaryResponse;
815
853
  getTokenTotalSupply(
816
854
  requestMessage: platform_pb.GetTokenTotalSupplyRequest,
817
855
  metadata: grpc.Metadata,
@@ -109,15 +109,6 @@ Platform.getEvonodesProposedEpochBlocksByRange = {
109
109
  responseType: platform_pb.GetEvonodesProposedEpochBlocksResponse
110
110
  };
111
111
 
112
- Platform.getProofs = {
113
- methodName: "getProofs",
114
- service: Platform,
115
- requestStream: false,
116
- responseStream: false,
117
- requestType: platform_pb.GetProofsRequest,
118
- responseType: platform_pb.GetProofsResponse
119
- };
120
-
121
112
  Platform.getDataContract = {
122
113
  methodName: "getDataContract",
123
114
  service: Platform,
@@ -163,6 +154,15 @@ Platform.getIdentityByPublicKeyHash = {
163
154
  responseType: platform_pb.GetIdentityByPublicKeyHashResponse
164
155
  };
165
156
 
157
+ Platform.getIdentityByNonUniquePublicKeyHash = {
158
+ methodName: "getIdentityByNonUniquePublicKeyHash",
159
+ service: Platform,
160
+ requestStream: false,
161
+ responseStream: false,
162
+ requestType: platform_pb.GetIdentityByNonUniquePublicKeyHashRequest,
163
+ responseType: platform_pb.GetIdentityByNonUniquePublicKeyHashResponse
164
+ };
165
+
166
166
  Platform.waitForStateTransitionResult = {
167
167
  methodName: "waitForStateTransitionResult",
168
168
  service: Platform,
@@ -343,6 +343,15 @@ Platform.getTokenStatuses = {
343
343
  responseType: platform_pb.GetTokenStatusesResponse
344
344
  };
345
345
 
346
+ Platform.getTokenDirectPurchasePrices = {
347
+ methodName: "getTokenDirectPurchasePrices",
348
+ service: Platform,
349
+ requestStream: false,
350
+ responseStream: false,
351
+ requestType: platform_pb.GetTokenDirectPurchasePricesRequest,
352
+ responseType: platform_pb.GetTokenDirectPurchasePricesResponse
353
+ };
354
+
346
355
  Platform.getTokenPreProgrammedDistributions = {
347
356
  methodName: "getTokenPreProgrammedDistributions",
348
357
  service: Platform,
@@ -352,6 +361,15 @@ Platform.getTokenPreProgrammedDistributions = {
352
361
  responseType: platform_pb.GetTokenPreProgrammedDistributionsResponse
353
362
  };
354
363
 
364
+ Platform.getTokenPerpetualDistributionLastClaim = {
365
+ methodName: "getTokenPerpetualDistributionLastClaim",
366
+ service: Platform,
367
+ requestStream: false,
368
+ responseStream: false,
369
+ requestType: platform_pb.GetTokenPerpetualDistributionLastClaimRequest,
370
+ responseType: platform_pb.GetTokenPerpetualDistributionLastClaimResponse
371
+ };
372
+
355
373
  Platform.getTokenTotalSupply = {
356
374
  methodName: "getTokenTotalSupply",
357
375
  service: Platform,
@@ -745,11 +763,11 @@ PlatformClient.prototype.getEvonodesProposedEpochBlocksByRange = function getEvo
745
763
  };
746
764
  };
747
765
 
748
- PlatformClient.prototype.getProofs = function getProofs(requestMessage, metadata, callback) {
766
+ PlatformClient.prototype.getDataContract = function getDataContract(requestMessage, metadata, callback) {
749
767
  if (arguments.length === 2) {
750
768
  callback = arguments[1];
751
769
  }
752
- var client = grpc.unary(Platform.getProofs, {
770
+ var client = grpc.unary(Platform.getDataContract, {
753
771
  request: requestMessage,
754
772
  host: this.serviceHost,
755
773
  metadata: metadata,
@@ -776,11 +794,11 @@ PlatformClient.prototype.getProofs = function getProofs(requestMessage, metadata
776
794
  };
777
795
  };
778
796
 
779
- PlatformClient.prototype.getDataContract = function getDataContract(requestMessage, metadata, callback) {
797
+ PlatformClient.prototype.getDataContractHistory = function getDataContractHistory(requestMessage, metadata, callback) {
780
798
  if (arguments.length === 2) {
781
799
  callback = arguments[1];
782
800
  }
783
- var client = grpc.unary(Platform.getDataContract, {
801
+ var client = grpc.unary(Platform.getDataContractHistory, {
784
802
  request: requestMessage,
785
803
  host: this.serviceHost,
786
804
  metadata: metadata,
@@ -807,11 +825,11 @@ PlatformClient.prototype.getDataContract = function getDataContract(requestMessa
807
825
  };
808
826
  };
809
827
 
810
- PlatformClient.prototype.getDataContractHistory = function getDataContractHistory(requestMessage, metadata, callback) {
828
+ PlatformClient.prototype.getDataContracts = function getDataContracts(requestMessage, metadata, callback) {
811
829
  if (arguments.length === 2) {
812
830
  callback = arguments[1];
813
831
  }
814
- var client = grpc.unary(Platform.getDataContractHistory, {
832
+ var client = grpc.unary(Platform.getDataContracts, {
815
833
  request: requestMessage,
816
834
  host: this.serviceHost,
817
835
  metadata: metadata,
@@ -838,11 +856,11 @@ PlatformClient.prototype.getDataContractHistory = function getDataContractHistor
838
856
  };
839
857
  };
840
858
 
841
- PlatformClient.prototype.getDataContracts = function getDataContracts(requestMessage, metadata, callback) {
859
+ PlatformClient.prototype.getDocuments = function getDocuments(requestMessage, metadata, callback) {
842
860
  if (arguments.length === 2) {
843
861
  callback = arguments[1];
844
862
  }
845
- var client = grpc.unary(Platform.getDataContracts, {
863
+ var client = grpc.unary(Platform.getDocuments, {
846
864
  request: requestMessage,
847
865
  host: this.serviceHost,
848
866
  metadata: metadata,
@@ -869,11 +887,11 @@ PlatformClient.prototype.getDataContracts = function getDataContracts(requestMes
869
887
  };
870
888
  };
871
889
 
872
- PlatformClient.prototype.getDocuments = function getDocuments(requestMessage, metadata, callback) {
890
+ PlatformClient.prototype.getIdentityByPublicKeyHash = function getIdentityByPublicKeyHash(requestMessage, metadata, callback) {
873
891
  if (arguments.length === 2) {
874
892
  callback = arguments[1];
875
893
  }
876
- var client = grpc.unary(Platform.getDocuments, {
894
+ var client = grpc.unary(Platform.getIdentityByPublicKeyHash, {
877
895
  request: requestMessage,
878
896
  host: this.serviceHost,
879
897
  metadata: metadata,
@@ -900,11 +918,11 @@ PlatformClient.prototype.getDocuments = function getDocuments(requestMessage, me
900
918
  };
901
919
  };
902
920
 
903
- PlatformClient.prototype.getIdentityByPublicKeyHash = function getIdentityByPublicKeyHash(requestMessage, metadata, callback) {
921
+ PlatformClient.prototype.getIdentityByNonUniquePublicKeyHash = function getIdentityByNonUniquePublicKeyHash(requestMessage, metadata, callback) {
904
922
  if (arguments.length === 2) {
905
923
  callback = arguments[1];
906
924
  }
907
- var client = grpc.unary(Platform.getIdentityByPublicKeyHash, {
925
+ var client = grpc.unary(Platform.getIdentityByNonUniquePublicKeyHash, {
908
926
  request: requestMessage,
909
927
  host: this.serviceHost,
910
928
  metadata: metadata,
@@ -1551,6 +1569,37 @@ PlatformClient.prototype.getTokenStatuses = function getTokenStatuses(requestMes
1551
1569
  };
1552
1570
  };
1553
1571
 
1572
+ PlatformClient.prototype.getTokenDirectPurchasePrices = function getTokenDirectPurchasePrices(requestMessage, metadata, callback) {
1573
+ if (arguments.length === 2) {
1574
+ callback = arguments[1];
1575
+ }
1576
+ var client = grpc.unary(Platform.getTokenDirectPurchasePrices, {
1577
+ request: requestMessage,
1578
+ host: this.serviceHost,
1579
+ metadata: metadata,
1580
+ transport: this.options.transport,
1581
+ debug: this.options.debug,
1582
+ onEnd: function (response) {
1583
+ if (callback) {
1584
+ if (response.status !== grpc.Code.OK) {
1585
+ var err = new Error(response.statusMessage);
1586
+ err.code = response.status;
1587
+ err.metadata = response.trailers;
1588
+ callback(err, null);
1589
+ } else {
1590
+ callback(null, response.message);
1591
+ }
1592
+ }
1593
+ }
1594
+ });
1595
+ return {
1596
+ cancel: function () {
1597
+ callback = null;
1598
+ client.close();
1599
+ }
1600
+ };
1601
+ };
1602
+
1554
1603
  PlatformClient.prototype.getTokenPreProgrammedDistributions = function getTokenPreProgrammedDistributions(requestMessage, metadata, callback) {
1555
1604
  if (arguments.length === 2) {
1556
1605
  callback = arguments[1];
@@ -1582,6 +1631,37 @@ PlatformClient.prototype.getTokenPreProgrammedDistributions = function getTokenP
1582
1631
  };
1583
1632
  };
1584
1633
 
1634
+ PlatformClient.prototype.getTokenPerpetualDistributionLastClaim = function getTokenPerpetualDistributionLastClaim(requestMessage, metadata, callback) {
1635
+ if (arguments.length === 2) {
1636
+ callback = arguments[1];
1637
+ }
1638
+ var client = grpc.unary(Platform.getTokenPerpetualDistributionLastClaim, {
1639
+ request: requestMessage,
1640
+ host: this.serviceHost,
1641
+ metadata: metadata,
1642
+ transport: this.options.transport,
1643
+ debug: this.options.debug,
1644
+ onEnd: function (response) {
1645
+ if (callback) {
1646
+ if (response.status !== grpc.Code.OK) {
1647
+ var err = new Error(response.statusMessage);
1648
+ err.code = response.status;
1649
+ err.metadata = response.trailers;
1650
+ callback(err, null);
1651
+ } else {
1652
+ callback(null, response.message);
1653
+ }
1654
+ }
1655
+ }
1656
+ });
1657
+ return {
1658
+ cancel: function () {
1659
+ callback = null;
1660
+ client.close();
1661
+ }
1662
+ };
1663
+ };
1664
+
1585
1665
  PlatformClient.prototype.getTokenTotalSupply = function getTokenTotalSupply(requestMessage, metadata, callback) {
1586
1666
  if (arguments.length === 2) {
1587
1667
  callback = arguments[1];
@@ -0,0 +1,18 @@
1
+ const path = require('path');
2
+
3
+ const { loadPackageDefinition } = require('@dashevo/grpc-common');
4
+
5
+ function getDriveDefinition(version) {
6
+ const protoPath = path.join(__dirname, `../protos/drive/v${version}/drive.proto`);
7
+ const includeDirs = [
8
+ path.join(__dirname, '../protos/'),
9
+ ];
10
+
11
+ return loadPackageDefinition(
12
+ protoPath,
13
+ `org.dash.platform.drive.v${version}.DriveInternal`,
14
+ includeDirs,
15
+ );
16
+ }
17
+
18
+ module.exports = getDriveDefinition;
package/node.js CHANGED
@@ -1,12 +1,15 @@
1
1
  const { Metadata } = require('@grpc/grpc-js/build/src/metadata');
2
2
  const CorePromiseClient = require('./clients/core/v0/nodejs/CorePromiseClient');
3
3
  const PlatformPromiseClient = require('./clients/platform/v0/nodejs/PlatformPromiseClient');
4
+ const DrivePromiseClient = require('./clients/drive/v0/nodejs/DrivePromiseClient');
4
5
 
5
6
  const protocCoreMessages = require('./clients/core/v0/nodejs/core_protoc');
6
7
  const protocPlatformMessages = require('./clients/platform/v0/nodejs/platform_protoc');
8
+ const protocDriveMessages = require('./clients/drive/v0/nodejs/drive_protoc');
7
9
 
8
10
  const getCoreDefinition = require('./lib/getCoreDefinition');
9
11
  const getPlatformDefinition = require('./lib/getPlatformDefinition');
12
+ const getDriveDefinition = require('./lib/getDriveDefinition');
10
13
  const parseMetadata = require('./lib/utils/parseMetadata');
11
14
 
12
15
  const {
@@ -33,19 +36,35 @@ const {
33
36
  },
34
37
  } = require('./clients/platform/v0/nodejs/platform_pbjs');
35
38
 
39
+ const {
40
+ org: {
41
+ dash: {
42
+ platform: {
43
+ drive: {
44
+ v0: pbjsDriveMessages,
45
+ },
46
+ },
47
+ },
48
+ },
49
+ } = require('./clients/drive/v0/nodejs/drive_pbjs');
50
+
36
51
  module.exports = {
37
52
  getCoreDefinition,
38
53
  getPlatformDefinition,
54
+ getDriveDefinition,
39
55
  v0: {
40
56
  CorePromiseClient,
41
57
  PlatformPromiseClient,
58
+ DrivePromiseClient,
42
59
  pbjs: {
43
60
 
44
61
  ...pbjsCoreMessages,
45
62
  ...pbjsPlatformMessages,
63
+ ...pbjsDriveMessages,
46
64
  },
47
65
  ...protocCoreMessages,
48
66
  ...protocPlatformMessages,
67
+ ...protocDriveMessages,
49
68
  },
50
69
  parseMetadata,
51
70
  Metadata,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashevo/dapi-grpc",
3
- "version": "2.0.0-dev.1",
3
+ "version": "2.0.0-rc.2",
4
4
  "description": "DAPI GRPC definition file and generated clients",
5
5
  "browser": "browser.js",
6
6
  "main": "node.js",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "homepage": "https://github.com/dashevo/dapi-grpc#readme",
47
47
  "dependencies": {
48
- "@dashevo/grpc-common": "2.0.0-dev.1",
48
+ "@dashevo/grpc-common": "2.0.0-rc.2",
49
49
  "@dashevo/protobufjs": "6.10.5",
50
50
  "@grpc/grpc-js": "1.4.4",
51
51
  "@improbable-eng/grpc-web": "^0.15.0",
@@ -0,0 +1,18 @@
1
+ syntax = "proto3";
2
+
3
+ package org.dash.platform.drive.v0;
4
+
5
+ import "platform/v0/platform.proto";
6
+
7
+ service DriveInternal {
8
+ rpc getProofs(GetProofsRequest) returns (GetProofsResponse);
9
+ }
10
+
11
+ message GetProofsRequest {
12
+ bytes state_transition = 1;
13
+ }
14
+
15
+ message GetProofsResponse {
16
+ org.dash.platform.dapi.v0.Proof proof = 1; // Cryptographic proof for the requested data
17
+ org.dash.platform.dapi.v0.ResponseMetadata metadata = 2; // Metadata about the blockchain state
18
+ }