Author

Topic: How to extract all input scripts for specific address? (Read 161 times)

sr. member
Activity: 443
Merit: 350
-snip-
Yours is different than Blockchain's:
Code:
Yours:
483045022100a06aceefdb8cd7cceb8401a56687a579b971037c8058ed7136930934afde626b022072030a89d26fc83a307852667473660bef82794100cc1e13681471597b09cb160121021c256c8d2cca69aabc9730a6a2670f586a55d5264a0b23c050b68a3289353ca7
Blockchain.com:
**3045022100a06aceefdb8cd7cceb8401a56687a579b971037c8058ed7136930934afde626b022072030a89d26fc83a307852667473660bef82794100cc1e13681471597b09cb1601**021c256c8d2cca69aabc9730a6a2670f586a55d5264a0b23c050b68a3289353ca7

-snip-

They are the same (blockchain also shows the same, they are just ASM and HEX formats) - these are screenshots from blockchain:




-snip-
He must have meant, in HEX.
Blockchain is displaying ASM without showing the OP_PUSHBYTES (size) of the signature and public key.
-snip-

Absolutely.

-snip-
@MrFreeDragon
If there are a few, the data is readily available in blockstream.info's blockexplorer when you click "DETAILS +" of a transaction.
It's the "SCRIPTSIG (HEX)".

There are several thousands of small transactions, so difficult to extract manually.

EDIT: correct spelling.
legendary
Activity: 2394
Merit: 5531
Self-proclaimed Genius
Yours is different than Blockchain's:
He must have meant, in HEX.
Blockchain is displaying ASM without showing the OP_PUSHBYTES (size) of the signature and public key.

@MrFreeDragon
If there are a few, the data is readily available in blockstream.info's blockexplorer when you click "DETAILS +" of a transaction.
It's the "SCRIPTSIG (HEX)".
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
I need to extract this input Sigscript for out transaction:
Yours is different than Blockchain's:
Code:
Yours:
483045022100a06aceefdb8cd7cceb8401a56687a579b971037c8058ed7136930934afde626b022072030a89d26fc83a307852667473660bef82794100cc1e13681471597b09cb160121021c256c8d2cca69aabc9730a6a2670f586a55d5264a0b23c050b68a3289353ca7
Blockchain.com:
**3045022100a06aceefdb8cd7cceb8401a56687a579b971037c8058ed7136930934afde626b022072030a89d26fc83a307852667473660bef82794100cc1e13681471597b09cb1601**021c256c8d2cca69aabc9730a6a2670f586a55d5264a0b23c050b68a3289353ca7

sr. member
Activity: 443
Merit: 350
Please advice if there is ready made script or a tool which can help to extract all input scripts for the specified bitcoin address?

For example, let's take recently used address from the last confirmed block: 134YN51oPCHxXcQA687CAD5qVdkJtWAjAC
The last transaction for this address was https://www.blockchain.com/btc/tx/0037f996315cd1579280791766130b476134e992326058e3cf891200f4261b01

I need to extract this input Sigscript for out transaction:
Code:
483045022100a06aceefdb8cd7cceb8401a56687a579b971037c8058ed7136930934afde626b022072030a89d26fc83a307852667473660bef82794100cc1e13681471597b09cb160121021c256c8d2cca69aabc9730a6a2670f586a55d5264a0b23c050b68a3289353ca7

However I need all such scripts for all transaction for the specified address.
Jump to: