Hyperledger Fabric How to retrieve success payload via nodejs client

0 votes

I want to retrieve the success payload result via NodeJS client. This payload is shim.success

How to do it? 

UPDATE

I read somewhere that I can use channel.sendTransactionProposal but not sure how to do it.

Oct 30, 2018 in Blockchain by slayer
• 29,370 points
807 views

1 answer to this question.

0 votes
The channel.sendTransactionProposal generates a Response object

You can acces it like this:

results[0][0].response.payload.toString('utf-8');
answered Oct 30, 2018 by Omkar
• 69,220 points

Related Questions In Blockchain

0 votes
1 answer

How do I use hyperledger fabric blockchain to build my own application?

To use fabric I would recommend you ...READ MORE

answered May 17, 2018 in Blockchain by Johnathon
• 9,090 points
1,088 views
0 votes
1 answer
0 votes
1 answer

How to connect two instances of Hyperledger Fabric?

Before getting on with your question, let ...READ MORE

answered Jun 11, 2018 in Blockchain by Christine
• 15,790 points
1,177 views
+1 vote
2 answers

How to return value from a chaincode in Hyperledger Fabric?

Hyperledger Fabric supports only 2 types of ...READ MORE

answered Jun 13, 2018 in Blockchain by Perry
• 17,100 points
2,996 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,468 views
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,740 points
1,035 views
+1 vote
1 answer
0 votes
1 answer

Hyperledger Fabric: How to retrieve result from Fabric Transaction?

invokeChainCode(securityContext, functionName, args, options) { ...READ MORE

answered Nov 8, 2018 in Blockchain by Omkar
• 69,220 points
1,923 views
+15 votes
5 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP