Your line is gibberish to a lawyer. Would an Op_Return extraction be simpler? Yes. Would it require fewer Linux utilities to extract? Yes. Is it easier for less technical person to accomplish? Yes. Case closed.

Replies (1)

jb55's avatar
jb55 _@jb55.com 2 months ago
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.