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

Remove affiliate fees from final amount when trading with Jupiter #8436

Open
NeOMakinG opened this issue Dec 21, 2024 · 0 comments
Open

Remove affiliate fees from final amount when trading with Jupiter #8436

NeOMakinG opened this issue Dec 21, 2024 · 0 comments

Comments

@NeOMakinG
Copy link
Collaborator

Overview

We need to minus fees from the amount when swapping through jupiter, this TX:
https://explorer.solana.com/tx/Vz8vTMwFhqZirVnstdiZGDfJCq7ACkC6bCNJ2acakmr6E5vrDnRGFcHSTxVxEJ7YWAqpAeP1ThaHpQ9V6YttdrG

It displayed 5.18 SOL while it should display 5.16 SOL because affiliate fees are 5$ (around 0.017 SOL at this time)

References and additional details

Spotted in https://discord.com/channels/554694662431178782/1316422691191918754/1319831733692141633

Acceptance Criteria

  • Fees are not included in the receive amount of a swap using Jupiter

Need By Date

No response

Screenshots/Mockups

No response

Estimated effort

No response

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

No branches or pull requests

1 participant