Registry / networking / xrpl-api

xrpl-api

JSON →
library0.16.7rscratesunverified

XRPL Protocol endpoints and resources

# Cargo.toml [dependencies] xrpl_api = "0.16.7"
INSTALL
IMPORT
SIG · XRPL-API
X
xrpl-api
networkingrustv0.16.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use xrpl_api::Client;

Connect to XRPL and get server info

use xrpl_api::Client; #[tokio::main] async fn main() { let client = Client::new("https://s1.ripple.com:51234").unwrap(); let info = client.server_info().await.unwrap(); println!("{:?}", info); }
Debug
Known issues
gotchaRequires an async runtime like Tokio
fix
Add `tokio = { version = "1", features = ["full"] }` and use `#[tokio::main]`
affects: >=0.16.0
Upgrade
Version history
0.16.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
24
OpenAI (training)
1
Resources
xrpl-api — cargo add xrpl-api · libregistry