Exemplo n.º 1
0
 /// <summary>
 /// Signs multisignatures asynchronously
 /// </summary>
 /// <param name="req">MultiSignaturesSignRequest with secret, secondSecret, transactionId</param>
 /// <returns>MultiSignaturesSignResponse with details</returns>
 public async Task<MultiSignaturesSignResponse> SignMultiSignaturesAsync(MultiSignaturesSignRequest req)
 {
     _url.Path = Constants.ApiPostMultiSignaturesSign;
     var response = await _client.PostJsonAsync<MultiSignaturesSignRequest, MultiSignaturesSignResponse>(_url.ToString(), req);
     ResetPath();
     return response;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Signs multisignatures synchronously
 /// </summary>
 /// <param name="req">MultiSignaturesSignRequest with secret, secondSecret, transactionId</param>
 /// <returns>MultiSignaturesSignResponse with details</returns>
 public MultiSignaturesSignResponse SignMultiSignatures(MultiSignaturesSignRequest req)
 {
     var response = SignMultiSignaturesAsync(req).GetAwaiter().GetResult();
     return response;
 }