# Building new transaction, which TxHash should I use

**URL:** <https://forum.cardano.org/t/building-new-transaction-which-txhash-should-i-use/72141>\
**Category:** Community Technical Support\
**Tags:** transactions\
**Created:** [8 September 2021 01:13 UTC](https://forum.cardano.org/t/building-new-transaction-which-txhash-should-i-use/72141 "2021-09-08T01:13:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dorijan\_Jelincic](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/dorijan_jelincic/32/41246_2.png) [@Dorijan\_Jelincic](https://forum.cardano.org/u/Dorijan_Jelincic)\
**Post date:** [8 September 2021 01:13 UTC](https://forum.cardano.org/t/building-new-transaction-which-txhash-should-i-use/72141/1 "2021-09-08T01:13:33Z")

</div>

Hi to all,  
I am trying to build a raw transaction that sends both Ada and my tokens, and I am wondering which TxHash should I use if I have multiple. For example:

```auto
                           TxHash TxIx Amount
--------------------------------------------------------------------------------------
4be799d0a90a56a96cf0ad7048fe83e31a3a3545727662b9bddc48f8ad3d4183 1 979651134 lovelace + TxOutDatumHashNone
eee2beef80adb1390ed881910243cfb7fa9d22d867c47fe9165474be7a012891 0 1345000 lovelace + 10000 ca507e9a6db2daf589692faf5c532347e7ef138dcc647d1aa79b8d08.REVUTEST + TxOutDatumHashNone

```

Also, what is the input amount of lovelace in this case? is it 979651134 or 979651134 + 1345000?

Thank you,  
Dorijan

---

<div class="post-metadata">

**Author:** ![Markus-VITAL](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/markus-vital/32/31295_2.png) [@Markus-VITAL](https://forum.cardano.org/u/Markus-VITAL)\
**Post date:** [8 September 2021 02:43 UTC](https://forum.cardano.org/t/building-new-transaction-which-txhash-should-i-use/72141/2 "2021-09-08T02:43:28Z")

</div>

Hi! @Dorijan_Jelincic !  
You can either just use the TX 0 as IN with the 1345000 + tokens.  
Or you use both TX as IN if you want to send all the lovelace (979651134+1345000) + tokens.
