Registry / networking / fuel-core-client

fuel-core-client

JSON →
library0.48.2rscratesunverified

Tx client and schema specification for Fuel Core.

# Cargo.toml [dependencies] fuel-core-client = "0.48.2"
INSTALL
IMPORT
SIG · FUEL-CORE-CLIENT
F
fuel-core-client
networkingrustv0.48.2
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.

FuelClient
use fuel_core_client::client::FuelClient;

Connects to a Fuel Core node and checks its health.

use fuel_core_client::client::FuelClient; #[tokio::main] async fn main() -> Result<(), Box<dyn std::error::Error>> { let client = FuelClient::new("http://127.0.0.1:4000")?; let health = client.health().await?; println!("Health: {:?}", health); Ok(()) }
Debug
Known issues
gotchaRequires an async runtime (Tokio) and a running Fuel Core node.
fix
Add tokio as a dependency and ensure a Fuel Core node is accessible.
affects: >=0.1.0
Upgrade
Version history
0.48.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
OpenAI (training)
1
Resources
fuel-core-client — cargo add fuel-core-client · libregistry