Skip to content

feat: fastswap api integration with barter v2#886

Open
owen-eth wants to merge 1 commit intomainfrom
fastswap-api-v2
Open

feat: fastswap api integration with barter v2#886
owen-eth wants to merge 1 commit intomainfrom
fastswap-api-v2

Conversation

@owen-eth
Copy link
Contributor

@owen-eth owen-eth commented Feb 7, 2026

Describe your changes

-added slippage param to swap request
-updated barter api call to use minReturnFraction derived from slippage input
-added validation to compare barter minReturn against user amount out and fail if too low

Issue ticket number and link

Fixes # (issue)

Checklist before requesting a review

  • I have added tests that prove my fix is effective or that my feature works
  • I have made corresponding changes to the documentation

@owen-eth owen-eth changed the title feat: fastswap api integration with barter v2, added slippage control feat: fastswap api integration with barter v2 Feb 7, 2026
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

Successfully merging this pull request may close these issues.

2 participants