Open fasteater opened 1 year ago
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?
Hey I am trying to query a contract returns an array of tuples
but I am getting this err
This also seems to happen when another function returns a tuple of tuples. How should I handle these?