<blockquote>
  <p>When can I use the output of that transaction: when the transaction will be confirmed at least once or when it'll be in the blockchain?</p>
</blockquote>

<p>First, if that transaction is confirmed once, that means it's in the latest block, hence in the blockchain, so the choices you present are essentially the same thing.</p>

<p>Second, you can actually spend the transaction output right away. Miners may include both your original transaction and the dependent transaction in a block, which means you would have the same number of confirmations for both transactions. Whether your wallet software allows you to do that is another matter entirely.</p>

CC BY-SA 3.0
2016-11-03T14:25:13.913Z
2016-11-03T14:25:13.913Z
Jimmy Song
<p>Say, I've generated, signed and sent raw transaction (via JSON-RPC) to the network. The call resulted in a transaction hash. When can I use the output of that transaction: when the transaction will be confirmed at least once or when it'll be in the blockchain?</p>

CC BY-SA 3.0
2016-11-03T15:14:20.793Z
"when the transaction will be confirmed at least once or when it'll be in the blockchain?" Those two things are the same thing.
Murch
<transactions><blockchain><json-rpc><raw-transaction>
When does transaction output become usable?
nix
# When does transaction output become usable?

(Asked by: username_0 on 2016-11-03)

Say, I've generated, signed and sent raw transaction (via JSON-RPC) to the network. The call resulted in a transaction hash. When can I use the output of that transaction: when the transaction will be confirmed at least once or when it'll be in the blockchain?

**Tags:** transactions, blockchain, json-rpc, raw-transaction

> **Comments:**
> **username_1**: "when the transaction will be confirmed at least once or when it'll be in the blockchain?" Those two things are the same thing.  

---

## 1 answers

### Answer by username_2 on 2016-11-03. Score: 3 | Accepted answer

> When can I use the output of that transaction: when the transaction will be confirmed at least once or when it'll be in the blockchain?

First, if that transaction is confirmed once, that means it's in the latest block, hence in the blockchain, so the choices you present are essentially the same thing.

Second, you can actually spend the transaction output right away. Miners may include both your original transaction and the dependent transaction in a block, which means you would have the same number of confirmations for both transactions. Whether your wallet software allows you to do that is another matter entirely.


---

