get_network_economics/get_network_economics.rs
1use multiversx_sdk_http::{GatewayHttpProxy, DEVNET_GATEWAY};
2
3#[tokio::main]
4async fn main() {
5 let blockchain = GatewayHttpProxy::new(DEVNET_GATEWAY.to_string());
6 let network_economics = blockchain.get_network_economics().await.unwrap();
7
8 assert!(!network_economics.dev_rewards.is_empty());
9 println!("network_economics: {network_economics:#?}")
10}