@dashevo/dapi-grpc 5.0.3 → 5.1.0-dev.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.
@@ -269,6 +269,94 @@ class PlatformPromiseClient {
269
269
  );
270
270
  }
271
271
 
272
+ /**
273
+ * @param {!GetYesNoVotePollStateRequest} getYesNoVotePollStateRequest
274
+ * @param {?Object<string, string>} metadata
275
+ * @return {Promise<!GetYesNoVotePollStateResponse>}
276
+ */
277
+ getYesNoVotePollState(getYesNoVotePollStateRequest, metadata = {}) {
278
+ return promisify(
279
+ this.client.getYesNoVotePollState.bind(this.client),
280
+ )(
281
+ getYesNoVotePollStateRequest,
282
+ metadata,
283
+ );
284
+ }
285
+
286
+ /**
287
+ * @param {!GetMasternodeYesNoVoteRequest} getMasternodeYesNoVoteRequest
288
+ * @param {?Object<string, string>} metadata
289
+ * @return {Promise<!GetMasternodeYesNoVoteResponse>}
290
+ */
291
+ getMasternodeYesNoVote(getMasternodeYesNoVoteRequest, metadata = {}) {
292
+ return promisify(
293
+ this.client.getMasternodeYesNoVote.bind(this.client),
294
+ )(
295
+ getMasternodeYesNoVoteRequest,
296
+ metadata,
297
+ );
298
+ }
299
+
300
+ /**
301
+ * @param {!GetPrivateDocumentEntriesRequest} getPrivateDocumentEntriesRequest
302
+ * @param {?Object<string, string>} metadata
303
+ * @return {Promise<!GetPrivateDocumentEntriesResponse>}
304
+ */
305
+ getPrivateDocumentEntries(getPrivateDocumentEntriesRequest, metadata = {}) {
306
+ return promisify(
307
+ this.client.getPrivateDocumentEntries.bind(this.client),
308
+ )(
309
+ getPrivateDocumentEntriesRequest,
310
+ metadata,
311
+ );
312
+ }
313
+
314
+ /**
315
+ * @param {!GetOwnerTransactionsInBlockRequest} getOwnerTransactionsInBlockRequest
316
+ * @param {?Object<string, string>} metadata
317
+ * @return {Promise<!GetOwnerTransactionsInBlockResponse>}
318
+ */
319
+ getOwnerTransactionsInBlock(getOwnerTransactionsInBlockRequest, metadata = {}) {
320
+ return promisify(
321
+ this.client.getOwnerTransactionsInBlock.bind(this.client),
322
+ )(
323
+ getOwnerTransactionsInBlockRequest,
324
+ metadata,
325
+ );
326
+ }
327
+
328
+ /**
329
+ * @param {!GetBlocksRequest} getBlocksRequest
330
+ * @param {?Object<string, string>} metadata
331
+ * @return {Promise<!GetBlocksResponse>}
332
+ */
333
+ getBlocks(getBlocksRequest, metadata = {}) {
334
+ return promisify(
335
+ this.client.getBlocks.bind(this.client),
336
+ )(
337
+ getBlocksRequest,
338
+ metadata,
339
+ );
340
+ }
341
+
342
+ /**
343
+ * What the answering node knows of a state transition, by hash, without waiting: committed,
344
+ * pending in its mempool, or unknown. Unproved and per node: use it to decide whether waiting
345
+ * longer makes sense, never to decide that a transition cannot execute.
346
+ *
347
+ * @param {!GetRecentStateTransitionStatusRequest} getRecentStateTransitionStatusRequest
348
+ * @param {?Object<string, string>} metadata
349
+ * @return {Promise<!GetRecentStateTransitionStatusResponse>}
350
+ */
351
+ getRecentStateTransitionStatus(getRecentStateTransitionStatusRequest, metadata = {}) {
352
+ return promisify(
353
+ this.client.getRecentStateTransitionStatus.bind(this.client),
354
+ )(
355
+ getRecentStateTransitionStatusRequest,
356
+ metadata,
357
+ );
358
+ }
359
+
272
360
  /**
273
361
  * @param {string} protocolVersion
274
362
  */