Crates.io | multiversx-sdk-http |
lib.rs | multiversx-sdk-http |
version | 0.7.0 |
source | src |
created_at | 2024-11-06 17:37:18.195586 |
updated_at | 2024-11-06 17:37:18.195586 |
description | SDK for interacting with the MultiversX blockchain |
homepage | https://multiversx.com/ |
repository | https://github.com/multiversx/mx-sdk-rs |
max_upload_size | |
id | 1438613 |
size | 74,933 |
General purpose collection of tools & SDKs to interact with the MultiversX blockchain from Rust projects.
use multiversx_sdk::blockchain::rpc::{CommunicationProxy, DEVNET_GATEWAY};
#[tokio::test]
async fn get_network_config() {
let blockchain = CommunicationProxy::new(DEVNET_GATEWAY.to_string());
let network_config = blockchain.get_network_config().await.unwrap();
println!("network_config: {:?}", network_config)
}
More examples in ./examples
.