Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to parse a tx which has more than one swap inside #13

Open
dcb9 opened this issue Dec 16, 2024 · 1 comment
Open

How to parse a tx which has more than one swap inside #13

dcb9 opened this issue Dec 16, 2024 · 1 comment

Comments

@dcb9
Copy link

dcb9 commented Dec 16, 2024

trying to parse a tx,51uGEbMA4AXmiq1zM7NQAtwLFQ9K4rHEAbLdmQMyxG4JcXmuVzjDiQQHHD4pC8Dx1LCgbuhLWgkMPEeHK7YxGs2Q , which have two swaps, it says 'Error processing swap data: failed to convert to swap info: invalid swap: expected 1 input and 1 output token, got 2 input(s) and 2 output(s)'.

thanks for open sourcing such a handy tool, it saved me a lot of time👍

@dcb9 dcb9 changed the title How to parse a tx which has more than two or more swaps inside How to parse a tx which has more than one swap inside Dec 16, 2024
@ziyeziye
Copy link

You can check out my fork first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants