use nxyz::NxyzClient; use nxyz::model::*; #[tokio::main] async fn main() { let client = NxyzClient::from_env(); let contract_address = "your contract address"; let response = client .get_erc20_metadata(contract_address) .chain_id("your chain id") .send() .await .unwrap(); println!("{:#?}", response); }