extern crate shuttle_sdk; use shuttle_sdk::{Result, Server}; const TESTNET_URL: &'static str = "https://horizon-testnet.stellar.org"; fn get_effects() -> Result<()> { let server = Server::new(TESTNET_URL)?; let res = server.effects().send()?; println!("Res: {:?}", res); Ok(()) } fn main() { get_effects().unwrap(); }