Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 76567
1 vote

Get the scriptPubKey from a Taproot address

The scriptpubkey for a P2WPKH address is 0x0014{20-byte-key-hash} (from bip141) You get the keyhash by decoding the address from the bech32 encoding. You can use this library (I am the author) to do t …
Mike D's user avatar
  • 3,589