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
You can use getSentTransactionsWithLinks if you want to see both. Unfortunately there isn't currently a good way to create a combined list that can be paginated that contains both newly created links and regenerated links.
This method currently works by querying for transactions that use the new method in the zk_bag contract. RPCs don't currently support a way to filter by multiple move calls. If the flows for creating links and regenerating links used the same move call, we could query for that, but it would require changing the sdk and the contract to accommodate that.
getSentTransactionsWithLinks just returns all transactions from an addresses, and then finds the links created/regenerated in those transactions, but doesn't filter out transactions that don't interact with links at all.
Another option (which doesn't exist in the sdk today) would be to add another method that returns only the regenerated links
Steps to Reproduce Issue
Expected Result
The regenerated link should be part of the returned results or at least a reference to it.
Actual Result
Only the old link is returned.
The text was updated successfully, but these errors were encountered: