Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [output]

The tag has no usage guidance.

8
votes
3answers
3k views

How would you end up with more than two transaction outputs?

I saw a Bitcoin transaction that has 6 inputs and 4 outputs. I understand that several inputs are sometimes used in order to meet the amount requirements of the output. As a result you have two ...
8
votes
2answers
2k views

How to retrieve the from and to wallet addresses of a transaction?

Given a transaction's inputs and outputs, I'd like to be able to extract the wallet address (or addresses) which sent the transaction, and also the address/addresses that will receive the transaction. ...
6
votes
1answer
803 views

Will all UTXOs eventually be worth 1 Satoshi?

If I want to spend 0.4BTC and I only have a UTXO for 1.0BTC, I will send 0.4BTC to the seller's address and 0.6BTC to my address. The seller has one UTXO and I have the other. One UTXO has become two....
5
votes
2answers
136 views

what's the point of “n” in “vout”? getrawtransaction

It seems like "n" is the index, is that true? If that is the case, why is the "n" key necessary? Example: bitcoin-cli getrawtransaction ...
5
votes
2answers
641 views

Can an output be spent in the block in which it is contained?

Is a Bitcoin block containing both a transaction that funds an output, and another transaction that immediately spends the same output, allowed by the protocol? Does such behavior occur "in the wild",...
4
votes
1answer
423 views

How do they put several bitcoins into a block?

I recently read that there is an auction to sell almost 24,000 bitcoins, and that they have put them in blocks, each containing 2000 coins. What does that mean to put 2000 BTCs in a block? Can ...
4
votes
1answer
154 views

Can a transaction have more than one recipient?

I am quite new to Bitcoin. I have a doubt. Let's say I, person A, have 1 bitcoin. I want to send 0.5 BTC to person B and 0.5 BTC to person C in a single transaction. Is it possible to do so within ...
3
votes
1answer
111 views

How come that there can be many transfers in a single Bitcoin transaction?

In Ethereum one transfer has one transaction ID. How come there can be many transfers in a single Bitcoin transaction? For example, in this transaction: https://blockchain.info/tx/...
3
votes
1answer
666 views

Parse UTXO of a transaction from chainstate

I'm doing some analysis on the UTXO set by reading from the chainstate database. I was following the documents given by https://github.com/bitcoin/bitcoin/blob/...
3
votes
1answer
505 views

Why do some outputs have a zero value and no address?

What does it mean when an output has a value of zero and no address? I'm looking at some fairly recent transactions, and I don't understand what this means. Here's an example: https://blockchain....
3
votes
1answer
810 views

Are transactions containing zero-value output accepted by miners?

Would miners generally accept a transaction that has one of its output values set to zero? Can the acceptance in this case depend also on the scriptPubKey associated with the zeroed output?
3
votes
1answer
193 views

Why are transactions with no outputs not relayed by default?

I was reading this thread about making a transaction without an output: Are Bitcoin transactions permitted to have no outputs (i.e. all inputs become transaction fee)? The answer is that outputs ...
3
votes
2answers
81 views

Is it possible to make an output only spendable to a specific address?

Basically, the entire question fits into the title. Does the Bitcoin scripting language allow for a transaction output to only be spendable to a specific address? Is it possible to forbid all other ...
2
votes
1answer
118 views

Do all transactions have at least one output that contains at least one bitcoin address

Do all transactions that are included in a valid block have to have at least one bitcoin address as part of their outputs (vout)? I found this to be similar: Are Bitcoin transactions permitted to ...
2
votes
2answers
54 views

Why is the value field 8 bytes in transaction output when it can be achieved with 7 bytes?

Bitcoin uses a 8 bytes value field in the transaction output. However, the total supply of bitcoin is capped at 21M. Theoretically, even if all the 21M bitcoins are transferred to a single address, ...
2
votes
1answer
401 views

Can a low fee unconfirmed transaction prevent confirmations of following transactions?

To be more precise, consider the following situation: Address A gets an input of 4 BTC. You try to make a transaction from A to B with 1 BTC and a very low fee, which means its unconfirmed for a long ...
2
votes
2answers
662 views

How to track the bitcoins I spent?

I'm studyng the transactions and how they work. Suppose I would track some bitcoins that I spent. This is a scenario: My pubblic addresses are: addr1 and addr2. I made a transaction tr1 (output like ...
1
vote
2answers
126 views

What are the hashes in Unspent outputs?

I am a newbie to Bitcoin. Looking at curl https://blockchain.info/unspent?active=1Cdid9KFAaatwczBwBttQcwXYCpvK8h7FK I guess that the script is the owner's address.I am not sure about this. "...
1
vote
1answer
258 views

How to find out the requirements for spending an output script?

How do you find out the requirements to spend an output script? Do you decode the hash?
1
vote
1answer
97 views

At most two outputs according to Bitcoin whitepaper. Multiple outputs in real transactions. How come?

The original Bitcoin whitepaper mentions that there can be at most two outputs: Normally there will be either a single input from a larger previous transaction or multiple inputs combining ...
1
vote
3answers
85 views

Can unspent outputs only get smaller?

It seems that when transactions occur the outputs only get smaller and are never aggregated. There is no apparent way to combine multiple outputs into a single output. The problem I see with this is ...
1
vote
1answer
237 views

How does Bitcoin know if enough BTC are available for an account to allow a transaction?

Let's consider this simplified blockchain: BLOCK 108 address ddd111 received 2 BTC by mining block 108 BLOCK 109 address abc123 received 2 BTC by mining block 109 BLOCK 110 address xyz999 created ...
1
vote
1answer
108 views

Processing multiple transactions very fast

Let's say I run an automated script, with the main purpose to send transactions as fast as possible. I want to send one transaction with 5 BTC to one address and a transaction with 2 BTC to another. ...
1
vote
1answer
60 views

Do all outputs have an address associated with them?

I guess more specifically, a decodable address? I have seen transactions on blockchain.info where the address was "unable to decode" Is there a way to count these? Also do they stay in the UTXO set ...
1
vote
1answer
110 views

Why scriptPubKey is a series of commands?

I am not fully understanding the design purpose of the scriptPubKey in the transaction output. I think the tx's (say tx1 here) output could just be the receiver's public key's hash. Then when the ...
1
vote
2answers
34 views

How output transaction works in Bitcoin?

Click here for reference. Note also that an output can be used only once. That's why there's a concept of "change address" in the bitcoin ecosystem: if an output of 10 BTC is available for me to ...
1
vote
4answers
874 views

How to retrieve unspent outputs on mSigna

Due to an upgrade, I had to recreate my wallet (vault) file from scratch - a process that took over a week. During this time, I was able to spend one coin (sending it to blockchain.info) because I ...
1
vote
1answer
144 views

How can a Bitcoin transaction be used multiple times (If it is so)?

My understanding is that a transaction is a transfer of value between Bitcoin wallets that gets later included in the block chain. So a Bitcoin transaction is used only once in my understanding.
1
vote
2answers
195 views

Why is pycoin getting the incorrect output address?

I am using pycoin version 0.52 from pypi and it is getting the wrong output address from a transaction. Code # testnet txid and corresponding rawtx # see https://test-insight.bitpay.com/tx/...
1
vote
1answer
45 views

What does “Nonstandard output” mean on Tradeblock transaction page?

I tried to send bitcoin but the recipient hasn't received it. The trade block page shows "Nonstandard output" under outputs as shown in the link below: Tradeblock page for transaction I used an ...
1
vote
1answer
84 views

Does input and output size vary by address type?

For instance, we have two outputs, output X sends to a P2SH address, and output Z sends to a P2PKH address. Would output X have a different transaction size than output Z? What about the size of the ...
1
vote
1answer
127 views

Whats the minimum recommended output for a faucet-like system? (April 2017)

I am building a software to involve friends. I am testing it. I made several sendmany transactions with 43478 Satoshi. I wont be using high fee Bitcoin system man....... There are better things ...
1
vote
1answer
917 views

Spending transaction with custom output

I've recently entered the bitcoin arena, and bitcoinj was my tool choice. Experimenting on regression test mode, I was able to create the following custom transaction. It has a modified locking script ...
1
vote
3answers
799 views

Bitcoin transaction with dust output stuck

I made this transaction more than 24 hours ago, and it still has no confirmations at all. What should I do? This transaction was created by the mobile Blockchain.info wallet. At the time, it didn't ...
1
vote
1answer
394 views

NBitcoin: Get address out of raw block stream

OK, I am sure that this is a really dumb, rookie question, so sorry in advance... I am trying to read through the blockchain and display the receiving address(es) for all transactions in the chain. (...
1
vote
0answers
31 views

Is it possible to to create an output in a transaction that has a value of zero? [duplicate]

When you create a transaction, can you create outputs that have values of zero? Or does every output have to have a value greater than zero?
0
votes
1answer
42 views

Why do I get 5 bytes worth of 0x00 hex values in both outputs?

From the hex generated by the createrawtransaction command, I understand that the following is the output value: ...
0
votes
2answers
38 views

Breaking down the hex value for output 1

Within the hex generated by createrawtransaction, I am trying to understand the output 1 hex. The output 1 hex I have is: 76a914ab68025513c3dbd2f7b92a94e0581f5d50f654e788ac Spacing out the ...
0
votes
1answer
39 views

Could someone explain how the TX operation here works?

I know this is a BCH address, but it's the best example I could find. The same concept holds for BTC, so understanding what's going on is relevant. https://explorer.bitcoin.com/bch/tx/...
0
votes
1answer
164 views

where do unspent outputs come from?

This post asks the same question: What is an "unspent output"? but the answers for me are completely incomprehensible, probably because I lack a key piece of knowledge. I have read every ...
0
votes
1answer
287 views

Why didn't my change come back to my wallet? And where is it now?

I sent a payment for 198.52 mBTC using Electrum. There were two outputs. One for 196.39 mBTC that arrived. There was another output of 2 mBTC that I'm assuming was processed as change. Does anyone ...
0
votes
1answer
34 views

Newly generated coins

New to BTC world so my question is how and what can I do with newly generated coins what's the process and how to see balance of that in wallet? Can I send those to paper wallet
0
votes
1answer
18 views

Why does this transaction results in more than 1 unspent output?

This transaction results in 6 outputs in total. Why did it end up with having 4 unspent outputs? I read this answer from another question, and wondering, could it be because the user actually chooses ...
0
votes
1answer
140 views

Generating Output Script from Bitcoin.js or other Javascript Library

I'm attempting to use the Ledger Wallet API to sign a multi-sig transaction. The API works as follows: var inputs = [ [ "71f97fa2a21486ecd99674a8ae068d92acd2e9db49c199473be39984e6cbe0f6", "00000000"...
0
votes
1answer
55 views

I seem to have too many unspent outputs for my given balance. What am I missing?

I have an address on the testnet. I started out with 1.3 btc. I then sent 0.5 btc to another address. My balance is now 0.8. OK, that makes sense. I expect now to have one UTXO which was the 0.8 in ...
0
votes
1answer
616 views

what happens to UTXOs when a transaction output script is satisfied?

As per my understanding from the book "Mastering bitcoin", a transaction output contains three things Amount - Bitcoin Value in Satoshis Locking-Script-Size - Locking-Script length in bytes, to ...
0
votes
1answer
57 views

BTC not received after sending

I have a transaction sent from Coinbase on 12 Dec 2017. i can see it on the blockchain, fees taken but the rest is unspent. How can I force the transaction to complete. Why didn't it complete ...
0
votes
1answer
46 views

Under what conditions could a change address immediately send the entire balance to a third-party address?

I have a situation where I sent 1 coin to and address I own and my wallet sent the unspent output to a change address but due to a glitch in the wallet software, that change address doesn't show up in ...
0
votes
1answer
946 views

How blockchain.info calculate the value transacted

Having this address: https://blockchain.info/address/19tqZYnP9youKtbene2FZiZtZyJYaLeBDw The last transaction says that this address received 0.0236 BTC But even knowing the value in and the value ...
0
votes
1answer
69 views

Are there other ways to have more than one address involved in a SINGLE transaction input or a SINGLE transaction output?

Full question: Except for the case of multisignature, are there other ways to have more than one address involved in a SINGLE transaction input or a SINGLE transaction output?