Skip to content

Quote response missing fee object #128

Description

@rony-arnac

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions