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

Quote response missing fee object #128

Open
rony-arnac opened this issue Feb 9, 2025 · 0 comments
Open

Quote response missing fee object #128

rony-arnac opened this issue Feb 9, 2025 · 0 comments

Comments

@rony-arnac
Copy link

rony-arnac commented Feb 9, 2025

Hey

When the getQuote response is parsed here, we expect the response to have fee for building

this.resolverFeePreset = {
            receiver: new Address(response.fee.receiver),
            whitelistDiscountPercent: Bps.fromPercent(
                response.fee.whitelistDiscountPercent
            ),
            bps: new Bps(BigInt(response.fee.bps))
        }

but I don't see that the response has it. Also when I played with fusion swap in 1inch's UI https://app.1inch.io/1/advanced/swap

I assume fee will exist, only if I pass integratorFee info

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

1 participant