> For the complete documentation index, see [llms.txt](https://developer.1moneynetwork.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.1moneynetwork.com/integrations/sdks/rust/methods/get-the-chain-network-state.md).

# Get the Chain / Network State

### Get the latest state

```rust
// Get chain information
let chain = client.get_chain_info().await?;
println!("Chain ID: {}", chain.chain_id);
```

### Get network statistics

```rust
// Get network statistics
let stats = client.get_network_stats().await?;
println!("Total transactions: {}", stats.total_transactions);
```
