Crates.io | jup-ag |
lib.rs | jup-ag |
version | 0.8.0 |
source | src |
created_at | 2022-05-12 00:10:20.668777 |
updated_at | 2024-07-01 14:39:24.519308 |
description | Jupiter Aggregator API bindings |
homepage | |
repository | https://github.com/mvines/rust-jup-ag |
max_upload_size | |
id | 584937 |
size | 156,755 |
Jupiter Aggregator API bindings for Rust.
Basic usage examples can be found in the examples directory.
To run the examples:
$ cargo run --example <EXAMPLE_NAME>
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