Skip to content

Comments

Add ability for custom swap API endpoints#2

Open
zer0cache wants to merge 2 commits intoAlmostEfficient:mainfrom
zer0cache:improvement/jup-api
Open

Add ability for custom swap API endpoints#2
zer0cache wants to merge 2 commits intoAlmostEfficient:mainfrom
zer0cache:improvement/jup-api

Conversation

@zer0cache
Copy link

This PR adjusts the default API used for swap/quote to leverage jupiterapi.com. The API offers higher rate limits along with a faster updated market cache. The jupiterapi.com market cache surfaces newly launched tokens faster since it doesn't require a certain volume/liquidity threshold to be met, along with an improved cadence of it being updated. While this repo has a fixed set of assets, the API will be useful for those that opt to validate tokens via the token list API. With that said, the API does take a small fee on swaps given the stability/rate limits/new markets it provides. More details can be found on their site.

I also updated the README.md to provide options to other endpoints in case higher rate limits are needed.

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

Successfully merging this pull request may close these issues.

1 participant