public async Task find_savings_withdrawals() { var args = new FindSavingsWithdrawalsArgs(); var resp = await Api.FindSavingsWithdrawalsAsync(args, CancellationToken.None).ConfigureAwait(false); TestPropetries(resp); }
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); }
/// <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)); }