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,050 points
45 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
• 67,480 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 16, 2018 in Blockchain by Johnathon
• 9,080 points
79 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
70 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,020 points
813 views
0 votes
1 answer
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,550 points
68 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
• 67,480 points
278 views
+15 votes
5 answers