Ejemplo n.º 1
0
 /// <summary>
 /// Returns all transfers to the user's account, depending on the type
 /// Возвращает все переводы на счету пользователя в зависимости от типа
 /// </summary>
 /// <param name="account"></param>
 /// <param name="type"></param>
 /// <returns></returns>
 public JsonRpcResponse <WithdrawRoute[]> GetWithdrawRoutes(string account, WithdrawRouteType type)
 {
     return(_webSocketManager.GetRequest <WithdrawRoute[]>("get_withdraw_routes", account, type.ToString().ToLower()));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// API name: get_withdraw_routes
 /// *Returns all transfers to the user's account, depending on the type
 ///
 /// </summary>
 /// <param name="account">API type: std::string</param>
 /// <param name="type">API type: withdraw_route_type</param>
 /// <param name="token">Throws a <see cref="T:System.OperationCanceledException" /> if this token has had cancellation requested.</param>
 /// <returns>API type: withdraw_route</returns>
 /// <exception cref="T:System.OperationCanceledException">The token has had cancellation requested.</exception>
 public JsonRpcResponse <WithdrawRoute[]> GetWithdrawRoutes(string account, WithdrawRouteType type, CancellationToken token)
 {
     return(CustomGetRequest <WithdrawRoute[]>(KnownApiNames.DatabaseApi, "get_withdraw_routes", new object[] { account, type }, token));
 }