Re: Fabric-sdk-jAVA-Blockevents #fabric-sdk-java #fabric
Tsvetan Georgiev
Hello, You can use the HLF Java SDK channel to register a chaincode event listener. So you can do something like: network.getChannel().registerChaincodeEventListener( <your params here>) ; You can find an example in the end to end integration test of the SDK: When your listener is called you can get the payload of the event. See the method public byte[] getPayload() of ChaincodeEvent class. Best Regards,
---- On Tue, 12 Apr 2022 01:27:50 -0400 <jeff.jo95z@...> wrote ----
|
|||||||
|