look 👍🏿
BTW, while you’re here, I’ve been thinking, is it possible to have a P2SH use its txid to require it’s parent transaction?
yes, you verify the provided raw TX against the prevout.txid and then extract whatever data you need from the parent
That’s not a problem. I think I only really need it once. Thanks! I have a quick follow up question, what if the parent transaction has a lot of inputs?
That’s not a problem. I think I only really need it once. Thanks! I have a quick follow up question, what if the parent transaction has a lot of inputs?
here's an example of extracting OP_RETURN data from the parent: https://t.me/cashtoken_devs/1696
Обсуждают сегодня