# How to obtain transaction ID when sending transaction via cardano-cli

**URL:** <https://forum.cardano.org/t/how-to-obtain-transaction-id-when-sending-transaction-via-cardano-cli/74172>\
**Category:** Cardano Integration\
**Created:** [14 September 2021 19:34 UTC](https://forum.cardano.org/t/how-to-obtain-transaction-id-when-sending-transaction-via-cardano-cli/74172 "2021-09-14T19:34:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![adaseal](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@adaseal](https://forum.cardano.org/u/adaseal)\
**Post date:** [14 September 2021 19:34 UTC](https://forum.cardano.org/t/how-to-obtain-transaction-id-when-sending-transaction-via-cardano-cli/74172/1 "2021-09-14T19:34:39Z")

</div>

Hello,

I am making a tip bot and due to this bug - [https://github.com/input-output-hk/cardano-wallet/issues/2614](https://github.com/input-output-hk/cardano-wallet/issues/2614) I can’t use cardano-wallet. So I decided to just use cardano-cli for on-chain operations like deposits and withdrawals. The problem is, I need to be able to track and verify transaction that I sent (actually verify if it was confirmed and ADA was sent out).

When I submit a transaction using cardano-cli all I see is something like “transaction submitted”. Is there a way to get the transaction ID somehow to verify it was processed and confirmed by other parties?

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [14 September 2021 19:36 UTC](https://forum.cardano.org/t/how-to-obtain-transaction-id-when-sending-transaction-via-cardano-cli/74172/2 "2021-09-14T19:36:29Z")

</div>

Check this out

> **[GitHub - input-output-hk/cardano-db-sync: A component that follows the...](https://github.com/input-output-hk/cardano-db-sync)**
>
> A component that follows the Cardano chain and stores blocks and transactions in PostgreSQL - GitHub - input-output-hk/cardano-db-sync: A component that follows the Cardano chain and stores blocks ...

---

<div class="post-metadata">

**Author:** ![bwbush](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/bwbush/32/29827_2.png) [@bwbush](https://forum.cardano.org/u/bwbush)\
**Post date:** [14 September 2021 20:33 UTC](https://forum.cardano.org/t/how-to-obtain-transaction-id-when-sending-transaction-via-cardano-cli/74172/3 "2021-09-14T20:33:24Z")

</div>

The transaction ID will be listed in cardano-node log file, in a directory like `Logs/pub/node.log`. You will see it added to the mempool, and then removed when it is processed.

---

<div class="post-metadata">

**Author:** ![adaseal](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@adaseal](https://forum.cardano.org/u/adaseal)\
**Post date:** [14 September 2021 21:33 UTC](https://forum.cardano.org/t/how-to-obtain-transaction-id-when-sending-transaction-via-cardano-cli/74172/4 "2021-09-14T21:33:07Z")

</div>

ok this is useful, although best would be if it was returned to standard output after submitting

---

<div class="post-metadata">

**Author:** ![Courtney](https://avatars.discourse-cdn.com/v4/letter/c/67e7ee/32.png) [@Courtney](https://forum.cardano.org/u/Courtney)\
**Post date:** [18 October 2021 11:36 UTC](https://forum.cardano.org/t/how-to-obtain-transaction-id-when-sending-transaction-via-cardano-cli/74172/6 "2021-10-18T11:36:04Z")

</div>

The front-end application would then request for a wallet address from the backend service and render a QR code to the customer to be scanned via a Cardano wallet. The backend service would then know that it has to query the wallet address using cardano-cli with a certain time interval to confirm and alert the front-end application that the payment has completed succesfully.

[myccpay](https://www.myccpay.tech/)
