Questions tagged [transaction-id]
The unique identifier of a transaction. Corresponds to the double SHA256 hash of the serialized transaction.
77 questions
5 votes
1 answer
187 views
Is a Segwit format transaction with all inputs of non-witness program type valid?
This is a situation that should not be needed in practice but as a matter of interest would Bitcoin Core accept a transaction in the following format : [nVersion][marker][flag][txins][txouts][witness][...
1 vote
1 answer
88 views
How can I get the wtxid and its corresponding merkle proof of the said wtxid?
Are there any available block explorers that will supply a transaction's wtxid and its corresponding merkle proof of the said wtxid? If not, how would I retrieve this if i'm running bitcoind?
0 votes
2 answers
222 views
how to create txid from transaction.json
Consider this is the transaction.json file: { "version": 1, "locktime": 0, "vin": [ { "txid": "...
0 votes
1 answer
85 views
Example of computing segwit txid from raw tx data
txid = 4508d55cf0d93ac43cbbb13a3b63d7a1e146911745f049893fc6b2d84e4e1256 raw block data = ...
6 votes
2 answers
520 views
What is the circular dependency in signing a chain of unconfirmed transactions?
In Mastering Bitcoin on chapter 6 the Circular Dependencies issue described as following: Many contract protocols for Bitcoin involve a series of transactions that are signed out of order. For ...
-2 votes
1 answer
58 views
Problem identifying the transaction hash for a new segwit uxto wallet
How do I the transaction id or transaction hash of a new segwit wallet I just created and sent tokens to? The transaction hash I see from blochian.info refers to the hash of the previous transaction. ...
0 votes
2 answers
214 views
What is TXID?Is it used to calculate merkleroot [duplicate]
I downloaded the block template where each transaction contains 'data', 'txid', 'hash'. I read in some articles that the Merkelroot is calculated using 'txid'. Is true? Why txid not hash, and what's ...
1 vote
1 answer
849 views
How to compute a TXID of any bitcoin transaction in Python
there, I've already looked at other similar posts on here but with little luck. All im trying to do is calculate the TXID of a transaction after downloading the transaction in hexadecimal from a ...
5 votes
2 answers
1k views
When calculating the hash of transaction, why is the version used as "01000000" instead of "00000001"?
According to the protocol documentation for tx, the first field on the transaction data is a version number of size 4. Based on this, I am trying to format the array of bytes needed to calculate the ...
2 votes
1 answer
142 views
Why is wtxid called "hash" in Bitcoin Core's getrawtransaction RPC?
In the industry txid is known as "transaction hash". Why wasn't the "hash" field called "wtxid"?
0 votes
1 answer
80 views
example of transaction ID in a ledger account
What is an example of a hash transaction ID for ledger account in 2023 for bitcoin payments
0 votes
0 answers
29 views
Calculate a transaction version 2 ID [duplicate]
Been writing a bitcoin library from scratch, which eventually involves calculating transaction IDs. Version 1 transactions work fine when their hex data is being SHA256'd twice and then reversed. ...
1 vote
1 answer
685 views
How to calculate a bitcoin transaction hash of a coinbase transaction in 2022?
According to all internet sources i have found, the hash/ID of a transaction is the result of the double_sha256 algorithm that takes all raw data of the transaction. I tried to calculate it in Python ...
2 votes
2 answers
808 views
How are TXIDs determined from the raw hex data of a block? Also, what is the coinbase transaction?
Consider the hex data of block 170. The coinbase TXID is this: b1fea52486ce0c62bb442b530a3f0132b826c74e473d1f2c220bfa78111c5082 and the second TXID is: ...
1 vote
1 answer
112 views
How does a node get information from the TxID?
If I'm right, segwit TxIDs are composed of the SHA^2(256) hash of the non-segwit data of a transaction. But, how does another node use the TxID to obtain information about the transaction such as the ...