Actually the method could be generalized with generic type to remove code duplication.

```scala
def fetchSequenceIds[T](sequenceName: String, count: Int, token: Long)(implicit ec: ExecutionContext): Future[Seq[T]] = {
...
```