not getting real transaction ID only getting temp-transaction ID in fabric-sdk

+1 vote
I am using below code for submitting a transaction in fabric but not getting committing transaction Id in node js SDK

       let eventHub = await;
            // eventHub =  await"updevop1");
            //eventHub = await;
            let txPromise = new Promise((resolve, reject) => {
                let handle = setTimeout(() => {
                    resolve({event_status: "TIMEOUT"});
                }, 30000);
                eventHub.registerTxEvent(transactionIdString, (tx: any, code: any, block: any) => {
                        const returnsStatus = {event_status: code, tx_id: tx};
                        if (code !== "VALID") {
                            console.error("The transaction was invalid, code = " + code);
                        } else {
                            console.log("The transaction has been committed on peer " + eventHub.getPeerAddr());
                    }, (err: any) => {
                        //this is the callback if something goes wrong with the event registration or processing
                        reject(new Error("There was a problem with the eventhub ::" + err));
                    {startBlock: null} //disconnect when complete


I am getting  temp txid 4826e50b51d505c31c6529a1699d51a8c78aaa6b0b360f92f44f8be7855b08cf but commiting id "transactionId": "e8622f67-9987-46c6-9094-93deb464184c"

I am not able to get this committing ID at the time of event hub Please help me to resolve this issue
Nov 14, 2019 in Blockchain by laxman
• 130 points

No answer to this question. Be the first to respond.

Your answer

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

Related Questions In Blockchain

0 votes
1 answer

Hyperledger Fabric: How to access transaction ID in invoke function?

You can access transaction ID in Invoke ...READ MORE

answered Nov 5, 2018 in Blockchain by Omkar
• 69,170 points
+1 vote
1 answer
+1 vote
2 answers
0 votes
1 answer

Why am I not getting 100 ethers in my metamask account?

Sorry that you're having this problem. To ...READ MORE

answered Jun 14, 2018 in Blockchain by Christine
• 15,830 points
+1 vote
1 answer
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,720 points
+16 votes
4 answers