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_contract_tokens(contract_address) .chain_id("your chain id") .limit(1) .send() .await .unwrap(); println!("{:#?}", response); }