diff --git a/README.md b/README.md index b549b81..83acd0b 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/jupiter/api.go b/jupiter/api.go index 701bc2c..30484d2 100644 --- a/jupiter/api.go +++ b/jupiter/api.go @@ -1,3 +1,4 @@ package jupiter const DefaultAPIURL = "https://quote-api.jup.ag/v6" +const JupiterAPIURL = "https://public.jupiterapi.com"