here is the equivalent op_return one liner

bitcoin-cli getrawtransaction 6ae4de7542bebb0884b08db8265d7567b27673034da179980c632b8d592ffe9b true \

| jq -r '.vout[] | select(.scriptPubKey.type=="nulldata") | .scriptPubKey.asm' \

| sed 's/^OP_RETURN //' \

| xxd -r -p

I don't think its much different.

https://bitcoin.stackexchange.com/a/127973/1235

Reply to this note

Please Login to reply.

Discussion

and even this one requires txindex, which most nodes don't enable. so you could argue the utxo one is simpler and more universal among nodes.

this argument just doesn't work man.

Ok, man. I guess we'll see what happens when v30 comes out, man.