13 releases (7 breaking)

0.8.0 Jul 1, 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

#2 in #ag

Download history 191/week @ 2024-07-02 80/week @ 2024-07-09 55/week @ 2024-07-16 100/week @ 2024-07-23 50/week @ 2024-07-30 50/week @ 2024-08-06 9/week @ 2024-08-13 18/week @ 2024-08-20 3/week @ 2024-09-03 44/week @ 2024-09-10 39/week @ 2024-09-17 71/week @ 2024-09-24 1/week @ 2024-10-01

88 downloads per month

WTFPL license

40KB
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
~595K SLoC