get_hyper_block_latest/
get_hyper_block_latest.rs1use multiversx_sdk_http::{GatewayHttpProxy, DEVNET_GATEWAY};
2
3#[tokio::main]
4async fn main() {
5 let blockchain = GatewayHttpProxy::new(DEVNET_GATEWAY.to_string());
6 let result = blockchain.get_latest_hyper_block_nonce().await;
7
8 println!("latest block result: {result:?}")
9}