Is there a way to return values that are not the unit in JSON form from an endpoint?
Currently, any successful endpoint call over HTTP returns "[]"
.
The only way we have to debug content is on the PAB side, from which we can read logs.
Does this have to do with the final parameter of the Contract w s e a
where a is generally the unit in most starter PAB code?
According to the docs, a is a semigroup. If we return some type there we still don't get a result from the PAB.