This can be a easy query for others however I am struggling attempting to know pubkey_script within the technology transaction.
On this Python code I am attempting to create a pubkey_script:
from base58 import b58decode_check
wallet_address="35XJFXPUKGXqMyXZ2jFNSMgZqpfnWNQBQV"
pubkey_script = "76a914" + b58decode_check(wallet_address[1:].hex() + "88ac"
print(pubkey_script)
output:
76a9142a09f90b21e949ccdaa85366d1bad2d841c9054a88ac
However when I attempt to decode this hex string in RPC ‘decodescript’
I get this response:
{
"asm": "OP_DUP OP_HASH160 2a09f90b21e949ccdaa85366d1bad2d841c9054a OP_EQUALVERIFY OP_CHECKSIG",
"desc": "addr(14qHKyu2mNDTGoq7udan1jKdhJP4u6MQGD)#c7zupad7",
"tackle": "14qHKyu2mNDTGoq7udan1jKdhJP4u6MQGD",
"sort": "pubkeyhash",
"p2sh": "3D7pDTkWYGGeMbH7XEEWFxL1SwuL3fzNhu",
"segwit": {
"asm": "0 2a09f90b21e949ccdaa85366d1bad2d841c9054a",
"desc": "addr(bc1q9gyljzepa9yuek4g2dndrwkjmpqujp223l6h2y)#lz4ua3xn",
"hex": "00142a09f90b21e949ccdaa85366d1bad2d841c9054a",
"tackle": "bc1q9gyljzepa9yuek4g2dndrwkjmpqujp223l6h2y",
"sort": "witness_v0_keyhash",
"p2sh-segwit": "3BbpKmKS2MdM3tJxT6nsPdvfHRVEyByVpy"
}
}
From what I see within the decoded response, the unique tackle is nowhere to be seen. I would prefer to know what am I doing unsuitable.
