Ejemplo n.º 1
0
        public async Task find_savings_withdrawals()
        {
            var args = new FindSavingsWithdrawalsArgs();
            var resp = await Api.FindSavingsWithdrawalsAsync(args, CancellationToken.None).ConfigureAwait(false);

            TestPropetries(resp);
        }
Ejemplo n.º 2
0
        public void find_savings_withdrawals()
        {
            var args = new FindSavingsWithdrawalsArgs();
            var resp = Api.FindSavingsWithdrawals(args, CancellationToken.None);

            WriteLine(resp);
            Assert.IsFalse(resp.IsError);

            var obj = Api.CustomGetRequest <JObject>(KnownApiNames.DatabaseApi, "find_savings_withdrawals", args, CancellationToken.None);

            TestPropetries(resp.Result.GetType(), obj.Result);
            WriteLine("----------------------------------------------------------------------------");
            WriteLine(obj);
        }
Ejemplo n.º 3
0
 /// <summary>
 /// API name: find_savings_withdrawals
 ///
 /// </summary>
 /// <param name="args">API type: find_savings_withdrawals_args</param>
 /// <param name="token">Throws a <see cref="T:System.OperationCanceledException" /> if this token has had cancellation requested.</param>
 /// <returns>API type: find_savings_withdrawals_return</returns>
 /// <exception cref="T:System.OperationCanceledException">The token has had cancellation requested.</exception>
 public Task <JsonRpcResponse <FindSavingsWithdrawalsReturn> > FindSavingsWithdrawals(FindSavingsWithdrawalsArgs args, CancellationToken token)
 {
     return(CustomGetRequest <FindSavingsWithdrawalsReturn>(KnownApiNames.DatabaseApi, "find_savings_withdrawals", args, token));
 }