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

feat: additional api endpoint (jupiterapi.com) #14

Merged
merged 2 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,16 @@ WaitForCommitmentStatus(
) (MonitorResponse, error)
```

## API Urls

This library provides two options to leverage for Jupiter APIs.

The default Jupiter API provided by the official Jupiter team can be used via `jupiter.DefaultAPIURL`.

The second Jupiter API option leverages [jupiterapi.com](https://www.jupiterapi.com/) (Community Project). This endpoint provides higher rate limits, but *includes a small 0.2% platform fee*. This API can be used via `jupiter.JupiterAPIURL`.



## License

This library is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
Expand Down
1 change: 1 addition & 0 deletions jupiter/api.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package jupiter

const DefaultAPIURL = "https://quote-api.jup.ag/v6"
const JupiterAPIURL = "https://public.jupiterapi.com"
Loading