Esempio n. 1
0
 /// <summary>
 /// Gets multisignatures pending details from remote node asynchronously 
 /// </summary>
 /// <param name="req">MultiSignaturesPendingRequest with publickey</param>
 /// <returns>MultiSignaturesPendingResponse with pending transactions details</returns>
 public async Task<MultiSignaturesPendingResponse> GetMultiSignaturesPendingAsync(MultiSignaturesPendingRequest req)
 {
     _url.Path = Constants.ApiGetMultiSignaturesPending;
     _url.Query = req.ToQuery();
     var response = await _client.GetJsonAsync<MultiSignaturesPendingResponse>(_url.ToString());
     ResetPath();
     return response;
 }
Esempio n. 2
0
 /// <summary>
 /// Gets multisignatures pending details from remote node synchronously 
 /// </summary>
 /// <param name="req">MultiSignaturesPendingRequest with publickey</param>
 /// <returns>MultiSignaturesPendingResponse with pending transactions details</returns>
 public MultiSignaturesPendingResponse GetMultiSignaturesPending(MultiSignaturesPendingRequest req)
 {
     var response = GetMultiSignaturesPendingAsync(req).GetAwaiter().GetResult();
     return response;
 }