Stack Exchange Network

Stack Exchange network consists of 174 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.

-1
votes
1answer
29 views

Limitation for minimum output size? AND a fixed per-transaction fee for payments in Bitcoin?

In the following article by http://lightning.network/ entitled: "The Bitcoin Lightning Network Summary", (Link to the article) is mentioned: "Lightning enables one to send funds down to 0.00000001 ...
-1
votes
1answer
30 views

How do these inputs/outputs make sense for this transaction?

Using coinbase, I transferred $1 in BCH to my friends BCH address. Now I am studying the transaction on a blockchain explorer as a learning exercise. See here: https://blockchair.com/bitcoin-cash/...
0
votes
0answers
3 views

What rules does the Exodus Wallet follow in selecting outputs to cover the amount being sent?

If you use CTRL-Shift-D to open the Developer Menu in the Exodus wallet, you can go under Developer|Assets and select your crypto and then choose the "Export Address" function. This saves a csv file ...
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
2answers
34 views

Why does this transaction results in only 2 unspent output (and no spent output)?

This transaction is from one of the latest block. However I don't understand why it seems to be just dividing a single transaction without being spent and transferred to someone else.
1
vote
2answers
82 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. "...
4
votes
2answers
114 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 ...
0
votes
0answers
13 views

Selection of UTXO with Pending (non-mined) Transactions [duplicate]

I have a theoretical question about Blockchain Wallet implementations. Say wallet A has UTXO's for {50, 30} with ID's {0,1} and wants to send wallet B 2 separate payments of $40 each before any ...
0
votes
1answer
103 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
39 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 ...
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 ...
0
votes
1answer
35 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
34 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 ...
1
vote
1answer
200 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
96 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 ...
0
votes
1answer
36 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
146 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
517 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
0answers
17 views

What should hash input consist of? [duplicate]

I want to write a program for mining, and my question is: anything that goes through hashes and gives an output with 18 zeros at the beginning is acceptable or the input must have a specific structure?...
0
votes
1answer
41 views

Forwarding BTC without approval

Since all I need in order to send a transaction is the receiver address. What is the mechanism (if any) that stops me to send transactions to someone BTC without his approval?
0
votes
1answer
52 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 ...
6
votes
1answer
797 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....
3
votes
2answers
76 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 ...
1
vote
1answer
71 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 ...
2
votes
1answer
345 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 ...
1
vote
3answers
76 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 ...
0
votes
1answer
736 views

How to create raw bitcoin transaction with multisig type of output scriptPubKey

I need to send money in one transaction to 2 addresses so that any of them can spend it. In other words - I need to create same transaction as here https://www.blocktrail.com/BTC/tx/...
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 ...
1
vote
4answers
816 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
351 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. (...
0
votes
1answer
214 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 ...
3
votes
1answer
108 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/...
0
votes
1answer
871 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 ...
1
vote
1answer
107 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. ...
0
votes
1answer
267 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
848 views

Determine inputs/outputs of a transaction before sending

I am attempting to build a working withdrawal system where users can withdraw funds in BTC. I am required to estimate the fee before allowing them to withdraw to include it in their payment. I was ...
3
votes
1answer
602 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/...
1
vote
1answer
125 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 ...
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?
1
vote
1answer
142 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.
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. ...
1
vote
0answers
30 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?
2
votes
2answers
636 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
1answer
849 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 ...
0
votes
1answer
52 views

Confused about this particular Multisig transaction with a (maybe) invalid scripts, but spent output

I am confused about this particular transaction: { "txid": "c49b3c445c89d832289de0fd3b0281efdcce418333dacd028061e8de9f0a6f10", "hash": "...
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 ...
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
152 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 ...
7
votes
3answers
2k 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 ...
1
vote
1answer
98 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 ...