Re: The return value in Fabric gateway java SDK submitTransaction method

Mark Lewis

To have a successful submit() return both the transaction responses and would mean a breaking API change, which would make everyone currently using the API very unhappy. I guess there could be an alternative submit-type function that does return proposal responses but, as mentioned in a previous response, I don't see how this is going to help achieve off-chain enforcement of endorsement when using the Gateway API.

The lower level fabric-sdk-java package should allow you to do what you want. It is not a very friendly API to use for application development and so is not recommended, but this may be your best option.

Join to automatically receive all group messages.