Skip to content

Pagination on ListSwaps #797

@rsafier

Description

@rsafier

Is your feature request related to a problem? Please describe.

At some point will have a lot of swaps, and current filters do not allow one to filter by date range or limit output.

Describe the solution you'd like

Implement pagination pattern similar to ListPayments and other LND List gRPC calls. Also having a filter based on index like Payments in LND or datetime would be very helpful.

Describe alternatives you've considered

I will query all the history from Loop, then compare Ids with my audit tables, and update rows accordingly. Perfectly functional at current scale, will get nasty at some point.
Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions