You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 24, 2023. It is now read-only.
I currently have some code that requests history for an address, and I loop over it and ask for the raw transaction hex so I can parse it and evaluate some constraints local to my application.
I think this might be more efficiently done by adding a boolean flag INCLUDE_RAW_TRANSACTION = true to the two get_history calls that would append the hex-encoded transactions as part of the output.
For example, if I call blockchain.scripthash.get_history(scripthash) today, I get [ { "height": 200004, "tx_hash": "acc3758bd2a26f869fcc67d48ff30b96464d476bca82c1cd6656e7d506816412" }, { "height": 215008, "tx_hash": "f3e1bf48975b8d6060a9de8884296abb80be618dc00ae3cb2f6cee3085e09403" } ] back.
By calling blockchain.scripthash.get_history(scripthash, true) i would expect to get the same object as above, but in addition to tx_hash, I would also get tx_hex.