Is it possible to return a value in a transaction method in Hyperledger? such as
/**
* @param {org.n.blockchaindemo.GetCreditScoreUser} GetCreditScoreUser -
the GetCreditScoreUser transaction
* @transaction
*/
async function getCreditScoreUser(user) {
return 0;
}
If this is not possible, would this mean that the return value would have to be put as a property in a participant or asset?