rust-web3
rust-web3 copied to clipboard
issues with return value type - array of tuples
Hey I am trying to query a contract returns an array of tuples
let result : Vec<(&str, &str)> = contract.query("fn_name", (), None, web3::contract::Options::default(), None).await.unwrap();
but I am getting this err
the trait `TokenizableItem` is not implemented for `(&str, &str)`
This also seems to happen when another function returns a tuple of tuples. How should I handle these?