-
Newbie here I've tried Can anyone let me know how to query the wallet histories. My electrs db is 60gb so pretty sure its all synced.. Many thanks for any help |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You should put in a script hash (sha256 of the output script), your string is only 20 bytes (40 hex characters) long, sha256 output is 32 bytes. There are examples in this repo in the contrib directory, take a look at history.py. |
Beta Was this translation helpful? Give feedback.
You should put in a script hash (sha256 of the output script), your string is only 20 bytes (40 hex characters) long, sha256 output is 32 bytes. There are examples in this repo in the contrib directory, take a look at history.py.