Example #1
0
        public BalancesResponse GetBalances()
        {
            BalancesRequest  req      = new BalancesRequest(Nonce);
            string           response = SendRequest(req, "GET");
            BalancesResponse resp     = BalancesResponse.FromJSON(response);

            return(resp);
        }
Example #2
0
        public async Task <BalancesResponse> GetBalancesAsync()
        {
            BalancesRequest req      = new BalancesRequest(Nonce);
            string          response = await SendRequestAsync(req, "GET");

            BalancesResponse resp = BalancesResponse.FromJSON(response);

            return(resp);
        }