Re: How parse qccc response data in java-sdk #fabric-sdk-java

David F. D. Reis

I did not find any easy sample to parse QSCC protobufs returns using java.

But I think you may use the following directions:

As soon as possible I will try to decode qscc using java sdk just to see how it works.

Today I use only javascript to decode protobufs from qscc. 

Good luck decoding qscc using java.

Best regards.


Em qua., 16 de mar. de 2022 às 13:42, David Faulstich <davidfdr@...> escreveu:

Sorry. Did you mean qscc.

Just a moment.

Em qua., 16 de mar. de 2022 às 13:41, David Faulstich <davidfdr@...> escreveu:

Em qua., 16 de mar. de 2022 às 09:42, Kumari Shweta via <> escreveu:
i am using the fabric-sdk-java 2.0 and trying to invoke the system chaincode `qscc` GetBlockByNumber.But the response is not in readable format.
How i can decode block in sdk java.

byte[] result= contract.evaluateTransaction("getBlockByNumber","channel",6);




Join to automatically receive all group messages.