7

Can I ask for a P2TR transaction id example past block 709632?

I was trying to debug one of my scripts and something is wrong when searching for witness_v1_keyhash, and couldn't manually find one in the blockchain explorers.

Murch
  • 75,206
  • 34
  • 186
  • 622
Tony Sanak
  • 1,689
  • 5
  • 22

2 Answers2

14

Taproot activated in block 709 632, but the first P2TR transactions were in block 709 635. A few P2TR transactions that may be useful for test vectors would be:

  • 33e7…9036, the first P2TR transaction
  • 3777…35c8, the first transaction with both a P2TR scriptpath and a P2TR keypath input
  • 83c8…7d82 with multiple P2TR keypath inputs
  • 905e…d530, the first scriptpath 2-of-2 multisig spend
  • 2eb8…b272, the first use of the new Tapscript opcode OP_CHECKSIGADD

You could find all P2TR transactions via a blockexplorer for example on blockchair.com by filtering the transaction outputs for type(witness_v1_taproot) and is_spent(true).

Murch
  • 75,206
  • 34
  • 186
  • 622
  • For the final transaction you list, I see where the internal public key should be is: 0000000000000000000000000000000000000000000000000000000000000001. What does that mean in this context? Also I see the Schnorr signatures here are 65 bytes, but I thought Schnorr signatures were typically 64 bytes. In BIP 342, under "Signature Validation" it mentions this, but I'm not clear. Thanks – Peter May 09 '23 at 10:01
1

On mainnet there are a number of P2TR transactions in block 709635. A few transaction IDs are included in the index of my bitcoin-dev mailing list post.

Michael Folkson
  • 15,313
  • 3
  • 17
  • 53
  • 5
    This answer could be improved by including a txid, given that this was the main request of the asker. Please don't post link-only answers. – Murch Nov 29 '21 at 22:53