You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, LND doesn't have a way to get total number of transactions. It also has separate methods for incoming and outgoing payments which makes it tricky while setting offset
The text was updated successfully, but these errors were encountered:
im-adithya
transferred this issue from getAlby/nostr-wallet-connect-next
Jul 5, 2024
@stackingsaunter said it would be better to use shadcn pagination rather than infinite scroll for Alby Hub. In this case, we need to know the total number of transactions, which would need to be part of the response body (I think SWR cannot read headers unless we add extra logic to our fetcher in swr.ts).
Can be done by storing payments in a DB
Also, LND doesn't have a way to get total number of transactions. It also has separate methods for incoming and outgoing payments which makes it tricky while setting offset
The text was updated successfully, but these errors were encountered: