0

I'm from Ukraine and do not know much English, sorry. I'm not understand where in transaction keep outpoint.

Please give me example or manual how get outpoint from input.

1

1 Answer 1

3

Every transaction input consists of a number of fields:

  • The txid of the transaction whose output is being spent.
  • The index of the output being spent (also called vout).
  • The scriptSig, or unlocking script.
  • The sequence number.
  • (SegWit inputs only) The scriptWitness.

The first two (txid, vout) are called the outpoint.

2
  • Thank you, but how get info of input input? May 31, 2018 at 8:30
  • By looking it up. Find the transaction with that txid, and look at its output number vout. May 31, 2018 at 14:50

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.