0

From the bitcoin RPC, both gettransaction and getblock returns a confirmation number in their response, are they always the same? Is there a case a transaction's confirmations isn't the same as its containing block's confirmation number?

https://bitcoin.org/en/developer-reference#gettransaction

https://bitcoin.org/en/developer-reference#getblock

1 Answer 1

1

Is there a case a transaction's confirmations isn't the same as its containing block's confirmation number?

No, by definition the number of confirmations on a transaction is the number of confirmations on the block it is contained in.

2
  • So that is a yes? the two confirmations are the same thing?
    – fluter
    Jan 5, 2018 at 8:31
  • Yes, they're the same, by definition. Jan 5, 2018 at 9:53

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.