How do you obtain the transaction uuid after submitting an invoke transaction using the nodejs HFC

0 votes

Im using the hyperledger HFC to send requests to the blockchain . How can I obtain the uuid of a transaction after submitting an invoke transaction using the sdk ?

Sep 14, 2018 in Blockchain by digger
• 27,620 points
26 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

The results returned via the 'submitted' event contains the uuid of the transaction. See below for an example.

var tx = user.invoke(req);
tx.on('submitted', function (results) {
    console.log("uuid=%s", results.uuid);
});
answered Sep 14, 2018 by slayer
• 29,040 points

Related Questions In Blockchain

0 votes
1 answer

How do I get the total amount sent to an address?

If you are using web3JS you can ...READ MORE

answered Jul 18, 2018 in Blockchain by Johnathon
• 9,070 points
23 views
+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer

How do I get the balance of an account in Ethereum?

On the Web: (Not programmatic, but for completeness...) ...READ MORE

answered Nov 14, 2018 in Blockchain by Perry
• 16,450 points
59 views
0 votes
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured by TLS encryption in hashgraph architecture-hashgraph, ...READ MORE

answered Aug 6, 2018 in Blockchain by ariaholic
• 7,320 points
48 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
81 views
0 votes
1 answer
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.