Skip to content

Invalid Jupiter API #1313

@0xhawkk

Description

@0xhawkk

You're using the v4 endpoint to get routes, but this v4 is not existed.
const apiVersionParam = this.url === 'https://quote-api.jup.ag' ? '/v4' : '';

Should replace v4 with v6 same as getQuote function.
Below is from getQuote
const apiVersionParam = this.url === 'https://quote-api.jup.ag' ? '/v6' : '';

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