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,600 points
55 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,240 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,090 points
37 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
• 17,090 points
348 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,340 points
101 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,810 points
186 views
0 votes
1 answer
0 votes
1 answer