Transactions sharing the same Transaction Hash
When broadcasting UTXO-based transactions rapidly from the same address with the same amount (or very similar) and using fromAddress
, you might face responses sharing the same transaction hash (txId).
Preparing fromAddress
transactions depend on the Tatum indexer to gather unspent inputs (UTXOs). If the transaction broadcasts are attempted within a short interval, typically less than 25 seconds, the blockchain state does not have sufficient time to propagate across nodes and be indexed.
As a result, the same set of inputs (UTXOs) might be reused for multiple transactions. Since the txId is derived from the transaction contents, identical transactions will produce the same transaction hash.
Example requests:
//2024-07-17T09:19:23.942291728Z // just a few seconds in between, similar tx payload
// /v3/litecoin/broadcast
//Broadcast tx id for LTC is 1298d798496a85ef931b63445a52bfdd7456564f018716127c9ef4a1c4ed84dd
//2024-07-17T09:19:18.626588762Z
// /v3/litecoin/broadcast
//Broadcast tx id for LTC is 1298d798496a85ef931b63445a52bfdd7456564f018716127c9ef4a1c4ed84dd
Good to Know
- Allow 25 seconds in between transactions from the same address to let Tatum indexers ingest up-to-date blockchain data.
- You may use
FromUTXO
to hard control from which UTXOs you are building a transaction.
Updated about 2 months ago