tokio and reqwest for async-first usage.
Planned API
In the meantime
Use the HTTP API directly withrequest. The quickstart guide documents all endpoints with curl examples that map directly to HTTP client calls in any language.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The Ralph Studio Rust SDK coming soon.
tokio and reqwest for async-first usage.
use ralph_studio::RalphStudio;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = RalphStudio::new("rsk_live_...", "my-alephium-node");
// Get address balance
let balance = client.addresses().get_balance("1DrDyTr9...").await?;
println!("{}", balance.alph); // "2.5"
// Call a contract view function
let result = client
.contracts()
.call("27Gsc5...", 0, vec![])
.await?;
Ok(())
}
request. The quickstart guide documents all endpoints with curl examples that map directly to HTTP client calls in any language.