Crate solagent_plugin_jupiter

Crate solagent_plugin_jupiter 

Source

Constants§

JUP_API
Jupiter API URL
JUP_PRICE_V2
JUP_REFERRAL_ADDRESS

Functions§

fetch_price
Fetches the price of a given token quoted in USDC using Jupiter API.
get_token_data_by_address
Fetches the price of a given token quoted in USDC using Jupiter API.
stake_with_jup
Stake SOL with Jupiter validator
trade
Swap tokens using Jupiter Exchange