12 releases (6 breaking)

0.7.1 Apr 17, 2024
0.7.0 Feb 15, 2024
0.6.0 Dec 21, 2023
0.5.0 Apr 27, 2023
0.2.3 May 22, 2022

#2990 in Magic Beans

Download history 112/week @ 2024-02-09 46/week @ 2024-02-16 28/week @ 2024-02-23 14/week @ 2024-03-01 16/week @ 2024-03-08 8/week @ 2024-03-15 38/week @ 2024-03-29 6/week @ 2024-04-05 144/week @ 2024-04-12 38/week @ 2024-04-19 24/week @ 2024-04-26 27/week @ 2024-05-03 17/week @ 2024-05-10 15/week @ 2024-05-17

87 downloads per month

WTFPL license

39KB
510 lines

jup-ag

Jupiter Aggregator API bindings for Rust.

Basic usage examples can be found in the examples directory.

Usage

Examples

To run the examples:

$ cargo run --example <EXAMPLE_NAME>

Using Self-hosted APIs

You can set custom API endpoints via environment variables to use any self-hosted Jupiter APIs. Like the self-hosted V6 Swap API or paid hosted APIs. Here are the ENV vars:

QUOTE_API_URL=https://hosted.api
PRICE_API_URL=https://price.jup.ag/v1

Dependencies

~22–36MB
~632K SLoC