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); }
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); }
/// <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)); }