Ejemplo n.º 1
0
        public async Task find_withdraw_vesting_routes()
        {
            var args = new FindWithdrawVestingRoutesArgs
            {
                Account = User.Login,
                Order   = SortOrderType.ByWithdrawRoute
            };
            var resp = await Api.FindWithdrawVestingRoutesAsync(args, CancellationToken.None).ConfigureAwait(false);

            TestPropetries(resp);
        }
Ejemplo n.º 2
0
        public void find_withdraw_vesting_routes()
        {
            var args = new FindWithdrawVestingRoutesArgs()
            {
                Account = User.Login,
                Order   = SortOrderType.ByWithdrawRoute
            };
            var resp = Api.FindWithdrawVestingRoutes(args, CancellationToken.None);

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

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

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