[go: up one dir, main page]

fuel-gql-client 0.3.0

Tx client and schema specification.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use fuel_core::service::{Config, FuelService};
use fuel_gql_client::client::FuelClient;

#[tokio::test]
async fn health() {
    let srv = FuelService::new_node(Config::local_node()).await.unwrap();
    let client = FuelClient::from(srv.bound_address);

    let health = client.health().await.unwrap();
    assert!(health);
}