Questions tagged [transaction-id]

The unique identifier of a transaction corresponding to the sha256d hash of the transaction.

Filter by
Sorted by
Tagged with
1 vote
2 answers
43 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: ...
user avatar
  • 113
1 vote
1 answer
45 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 ...
user avatar
  • 113
-1 votes
1 answer
41 views

How is it possible that Bitcoin blocks store transaction data in 32-bit SHA256 strings?

What I mean is that a traditional Bitcoin block has performed 2 SHA256 iterations on the raw hex data of a single transaction. Then it is stored in the block. But since it has been SHA256'd, how can ...
user avatar
  • 113
1 vote
2 answers
196 views

Is txid a required field on all transactions?

I am writing a script that relies on txid to perform some tasks. I was wondering if it is possible for the txid to be missing from a transaction.
user avatar
1 vote
1 answer
71 views

Bitcoin transaction not confirmed since 3 days ago [duplicate]

Hello I might sound stupid but it’s been three days since I issued bitcoin transactions, all unconfirmed so far. I use Blockchain.com to manage my wallet and have done everything normally (I think, as ...
user avatar
  • 11
0 votes
1 answer
44 views

Developing a Bitcoin POS (Payment Page) - How do I identify the transaction

This is probably a basic question but I can not find an answer. We are developing a BTC payment process for a Point-of-Sale. We have managed to build this fine and can make requests (QR code) for a ...
user avatar
  • 103
0 votes
0 answers
98 views

How can I transfer unconfirmed transactions from wallet.dat to a new blockchain wallet

My question may not be very clear since I’m not really an expert in bitcoin and its technology. But in my possession I have just a wallet.dat files with an unconfirmed transaction on it. I followed a ...
user avatar
  • 11
0 votes
1 answer
59 views

Is it only out of sheer luck that all my "txid"s are unique? How should I handle multi-vout transactions?

I have created a database table simply copying the information from listsinceblock from Bitcoin Core's API. I have a UNIQUE constraint set to "txid + vout", as I'm supposed to. But when, as ...
user avatar
1 vote
0 answers
27 views

Minimum characters to uniquely identify bitcoin trasanction in blockchain

What is the minimum number of characters (TXID from the beginning) which is generally considered to uniquely identify a bitcoin transaction in the blockchain? (Similarly to git and a commit SHA - ...
user avatar
  • 11
2 votes
1 answer
184 views

Refer to UTXO by output index or output full address in blockchain?

I'm writing my own simple crypto and wondering whether input in a transaction should refer to unspend output only by it's TXID and vout (index in outputs vector in a transaction) OR by it's TXID and ...
user avatar
  • 21
0 votes
0 answers
69 views

How to Post Transaction in Bitcoin Network?

I need help here as it has been almost a week since I've been trying to figure this out. Fyi, I can get my Python Script running using "Mainnet" for Bitcoin Transaction that able to execute ...
user avatar
  • 33
0 votes
0 answers
37 views

Solution to the same TXID from 3 different client

Someone sent me some bitcoins.... then I had some other clients sending me the same txid that they also made a payment, but I received only one payment.
user avatar
1 vote
1 answer
1k views

Unconfirmed BTC transaction / TXID doesn't exist?

I recently tried sending some btc to coinbase. In a hurry I did not put a transaction fee. I've tried to explain to their customer support what is going on. I offered to charge me a fee through my ...
user avatar
  • 61
0 votes
2 answers
771 views

How to find out if LND opening pending channels has a confirmation onchain?

After typing lncli pendingchannels I get a channel_point number, and when I put channel_point txid to check if it was confirmed onchain by typing: bitcoin-cli gettransaction "txid insert" I get an ...
user avatar
  • 51
2 votes
1 answer
356 views

How to calculate txid for segwit transactions?

I'm having difficulty calculating txid for recent transactions. I followed bip-141 at https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki For the first transaction in the first block found ...
user avatar
  • 67
0 votes
0 answers
171 views

Generating TXID from transaction's data [duplicate]

As I understand, we can generate a TXID by hashing transaction data through SHA256 twice, and as you know probably, A bitcoin transaction is just a bunch of data that describes the movement of ...
user avatar
  • 125
0 votes
2 answers
1k views

getting address from public of ScriptPubKey vs ScriptSig

Recently I read some articles about BITCOIN protocol and it's transaction. I understand(maybe it is incorrect) these rules: An input is what we call an output when you're spending it in a transaction....
user avatar
  • 125
0 votes
1 answer
94 views

bitcoind rest api tx endpoint

i am having a trouble with bitcoind REST API endpoint for retrieving transaction info. According to the documentation it should return confirmations among the retrieved data. But my bitcoind do not ...
user avatar
  • 3
1 vote
1 answer
301 views

how can i get rid of a zombie channel in LND?

My LN-Node: 023bf99414b3e93ab7463ce60f44cd691f8be3c1ae33a2015fe784c85c36e770cf bitcoind 0.17.1 // LND 0.5.2-beta commit=v0.5.2-beta-rc7 Channel: 598078250466476032 Problem: lncli feereport returns: ...
user avatar
2 votes
1 answer
227 views

Ripple: How to calculate transaction ID (TXID) [closed]

Given a signed Ripple transaction, how do I calculate the txid?
user avatar
0 votes
1 answer
220 views

SPV clients querying the full node

Is there a way currently where an SPV client can send a TxID to a full node which is present in the UTXO set of the full node and have the full node not scan its entire blockchain to fetch the ...
user avatar
  • 13
0 votes
1 answer
53 views

Custom transaction IDs

I understand that TxIDs are simply the double hash of tx data. But who creates them? I assume that all the nodes create the TXIDs of the transactions on their own and the TxIDs are not transferred ...
user avatar
  • 13
5 votes
2 answers
337 views

Why didn't Bitcoin implement segwit in the first place?

Why didn't Bitcoin implement segwit in the first place? Why and how does non-segwit Bitcoin enable a miner to change a transaction's txid? From Mastering Bitcoin ch. 7 § "Transaction identifiers": ...
user avatar
  • 4,307
0 votes
1 answer
328 views

Getting transaction id from raw transaction of a multisig address

I am able to get the tx id (or transaction hash) of almost any transaction but the one where the script starts with an "OP_O" (which is, I think, the null dummy introduced here https://github.com/...
user avatar
  • 59
0 votes
1 answer
116 views

What does postfic in the wallet transaction id mean

It's known the txid is always a 32 byte hex sequence for example ceca9c54d1a2f9122326a871a3b0b20b725540137e80cb50da663a404f7849a8, but when inpecting the transaction in a wallet it shows it with a ...
user avatar
  • 113
0 votes
2 answers
740 views

Confirm transaction in regtest mode

I'm testing some wallet features on regtest. Here's the sequence so far: cash-cli -regtest generate 101 cash-cli -regtest getbalance 500.00000000 cash-cli -regtest getnewaddress newAddress1 ...
user avatar
  • 113
3 votes
1 answer
90 views

Question about identical txids/merkle tree in Developer guide

I am new to the technical details about Bitcoin and has been reading Developer guide on bitcoin.org. I have a question about below contents mentioning merkle tree, identical txids. I googled and ...
user avatar
0 votes
1 answer
441 views

Confused About Hash In Satoshi Nakamoto Diagram

In Satoshi Nakamoto's diagram: Consider the Hash block in the first transaction block above: How is that Hash value calculated? I see arrows from an Owner's Public Key and another arrow, so it's ...
user avatar
  • 357
0 votes
1 answer
150 views

Get input address using VIN txid?

I have written following script to get Vin address from Vin txids. #!/usr/bin/python # -*- coding: utf-8 -*- import requests,json url="http://asd:asdf@localhost:2332" payload={} payload = {"jsonrpc":...
user avatar
  • 524
1 vote
3 answers
825 views

Getting the wrong txid for coinbase transactions

I'm trying to hash transactions to get the txid. I get the hex values from blockchain.info. I get the correct hash for all transactions except for the coinbase when I hash it twice. Is there something ...
user avatar
-2 votes
4 answers
2k views

I think I found 241 Bitcoin [closed]

I have been having dreams for the past month about BTC and an old computer I had bought Bitcoin on a long, long time ago. I just found said computer in my grandmother's basement. Booted it up and lo ...
user avatar
  • 1
0 votes
1 answer
634 views

Find message attached to Bitcoin transaction?

Given a txid, can I find out the message/comment the transaction was attached with by the sender?
user avatar
4 votes
1 answer
1k views

How to compute SegWit txid?

BIP141 says wtxid is SHA256 of [nVersion][marker][flag][txins][txouts][witness][nLockTime]. Is data that hashed as txid includes witness? And will txid be presented in block, e.g. be counted when ...
user avatar
  • 91
1 vote
1 answer
499 views

How does TXID gets created and at which point

I see TxID in bitcoin transaction input as reference of the UTXO. How does TXID gets created and at which point, wallet or node?
user avatar
  • 21
1 vote
1 answer
169 views

Why does bitcoin-cli not show the correct TXID for this transaction?

I've been decoding some transactions on Testnet, and I've found one that bitcoin-cli decoderawtransaction seems to "fail" to decode correctly. Here's the TXID: ...
user avatar
  • 2,808
0 votes
1 answer
525 views

After creation, what I have to do with a coinbase transaction?

I have create a coinbase transaction successfully with the command: createrawtransaction '[{"txid":"0000000000000000000000000000000000000000000000000000000000000000","vout":0}]' '{"...
user avatar
0 votes
1 answer
582 views

Values for txid and vout for create a coinbase transaction

I want create a coinbase transaction to go with a new block minned by my program. I am creating it with the json-rpc command createrawtransaction. What's the values for txid and vout in this case?
user avatar
5 votes
1 answer
438 views

SegWit and previous hash: txid or wtxid, or either?

With segwit there will be two transaction ids wtxid and txid Can either one of them be used as previous hash or only txid?
user avatar
  • 1,530
0 votes
1 answer
1k views

Is the Bitcoin Transaction ID also the "Hash of things to sign" for the signature generation?

As a random example, is the transaction id: 114be7fea4d3dd0cf2e88a8fa9a56d4ea741efbabd07d61d08cf0810be2254fd Also the hash that was used as the "hash of things to sign" for the "signature generation"...
user avatar
  • 1,400
0 votes
1 answer
86 views

tx-malleability who re-signed the tx?

It would be really great if there was a way to loop through all the txids in a new block and be able to check if you (can) sign your original transaction the same way it was re-signed - that it ...
user avatar
0 votes
1 answer
897 views

Possibility of validation of transaction TX id

I've readed numbers of thread here but non answer to my question. What I want to know if there is a way somehow to validate transactionID ( txID ). I have a site which accepts bitcoins. In order to ...
user avatar
  • 101
2 votes
1 answer
752 views

Create raw transaction what txid

I want to check for every transaction if there is enough balance to pay it(including fee). I found this question: Is there a way to know the Bitcoin Network transaction fee BEFORE actually submitting ...
user avatar
  • 299
2 votes
1 answer
881 views

Duplicate transactions in blockchain

Can someone explain what does this mean: As i see: 2 transactions are having SAME txid and differ just by address. Is this normal behavior? Should I get both transactions in such cases?
user avatar
  • 207
6 votes
2 answers
355 views

What would be the fastest way to query for a certain txid to get its inputs?

I am working in an artistic/visualization project that analyses Bitcoin transactions. I have a Bitcore instance with insight API and from a Python script I query through the REST API so the queries ...
user avatar
  • 192
3 votes
1 answer
392 views

How are transaction IDs generated and how are they then changed by transaction malleability?

How are the transaction IDs generated for a Bitcoin transaction? How can the transaction ID change due to a transaction malleability attack?
user avatar
  • 264
2 votes
1 answer
2k views

Figure out transaction ID

How can I find out the ID of a transaction I just made? I sent bitcoin to a site and they are requesting me to send the transaction ID to them. How do I find it out?
user avatar
  • 21
2 votes
1 answer
83 views

What is the impact of purposely sending a signed message with zero fee?

Would it be appropriate use of me to send a message with 0 fee on purpose if I have no need for the message to remain on the blockchain after it is seen by the recipient? I could sign a transaction ...
user avatar
0 votes
1 answer
438 views

Why do you have to search for TXIDs in little-endian?

I understand that when you double-sha256 some transaction data, it will give you the TXID for that transaction. This can then be used in future transaction data when you want to reference an existing ...
user avatar
  • 2,808
8 votes
1 answer
2k views

What happens when two txid's collide?

Let's suppose that I can create SHA256d collisions, and I use this ability to create two transactions that have the same hash, A and B. These transactions are not the same, but they hash to the same ...
user avatar
  • 28.7k
4 votes
1 answer
3k views

Compute TxID of Bitcoin Transaction

Originally posted to StackOverflow but with no response. Thought I might have better luck here. I've successfully created a Bitcoin transaction in C# according to the protocol specifications. Here's ...
user avatar