2

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?

1
  • 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.
    – Murch
    Commented Nov 3, 2016 at 15:14

1 Answer 1

3

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.