Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Blockchain by (12.8k points)

I'm 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?

1 Answer

0 votes
by (29.8k points)

The results returned via the 'submitted' event contains the UUID of the transaction.


var tx = user.invoke(req);
tx.on('submitted', function (results) {
    console.log("uuid=%s", results.uuid);

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers


94.1k users

Browse Categories