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
• 26,740 points
838 views

1 answer to this question.

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,350 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 19, 2018 in Blockchain by Johnathon
• 9,090 points
700 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 15, 2018 in Blockchain by Perry
• 17,100 points
16,764 views
+1 vote
1 answer

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

yes all are over TCP/IP connections secured ...READ MORE

answered Aug 6, 2018 in Blockchain by aryya
• 7,450 points
1,146 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
1,702 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,237 views
+1 vote
2 answers
0 votes
1 answer
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