Closed sondotpin closed 1 year ago
It is not possible to decode the script. The key has a cryptographic commitment to the script, but it does not contain the script itself.
so how can the indexer work if they can not decode the script?
You have to publish the script in a transaction. The indexer only looks at scripts which are published. The key and address itself does not contain the content of the script.
How can I decode script from tpubkey