Exemplo n.º 1
0
        /// <summary>
        /// Gets multisignatures accounts details from remote node asynchronously
        /// </summary>
        /// <param name="req">MultiSignaturesAccountsRequest with publickey</param>
        /// <returns>MultiSignaturesAccountsRequest with account details</returns>
        public async Task <MultiSignaturesAccountsResponse> GetMultiSignaturesAccountsAsync(MultiSignaturesAccountsRequest req)
        {
            _url.Path  = Constants.ApiGetMultiSignaturesAccounts;
            _url.Query = req.ToQuery();
            var response = await _client.GetJsonAsync <MultiSignaturesAccountsResponse>(_url.ToString());

            ResetPath();
            return(response);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Gets multisignatures accounts details from remote node asynchronously 
 /// </summary>
 /// <param name="req">MultiSignaturesAccountsRequest with publickey</param>
 /// <returns>MultiSignaturesAccountsRequest with account details</returns>
 public async Task<MultiSignaturesAccountsResponse> GetMultiSignaturesAccountsAsync(MultiSignaturesAccountsRequest req)
 {
     _url.Path = Constants.ApiGetMultiSignaturesAccounts;
     _url.Query = req.ToQuery();
     var response = await _client.GetJsonAsync<MultiSignaturesAccountsResponse>(_url.ToString());
     ResetPath();
     return response;
 }
Exemplo n.º 3
0
        /// <summary>
        /// Gets multisignatures accounts details from remote node synchronously
        /// </summary>
        /// <param name="req">MultiSignaturesAccountsRequest with publickey</param>
        /// <returns>MultiSignaturesAccountsRequest with account details</returns>
        public MultiSignaturesAccountsResponse GetMultiSignaturesAccounts(MultiSignaturesAccountsRequest req)
        {
            var response = GetMultiSignaturesAccountsAsync(req).GetAwaiter().GetResult();

            return(response);
        }
Exemplo n.º 4
0
 /// <summary>
 /// Gets multisignatures accounts details from remote node synchronously 
 /// </summary>
 /// <param name="req">MultiSignaturesAccountsRequest with publickey</param>
 /// <returns>MultiSignaturesAccountsRequest with account details</returns>
 public MultiSignaturesAccountsResponse GetMultiSignaturesAccounts(MultiSignaturesAccountsRequest req)
 {
     var response = GetMultiSignaturesAccountsAsync(req).GetAwaiter().GetResult();
     
     return response;
 }