I wrapped a smart-contract generated in remix into a Java Project. Im trying to get the two values that return me this function.
function getValues(address _a) external returns(bool, uint32) {
uint32 n= data[_a].number;
return (true, n);
}
The problem is that the returned value is a TransactionReceipt. How can I recover bouth value; The boolean and the uint??