How Bitcoin's OP_RETURN creates a "public gallery" for arbitrary data, expanding the attack surface beyond simple blockchain storage.
OP_RETURN hangs the image on the wall. Obfuscation stuffs it in a drawer.
The bytes exist in both cases, but exposure matters: one is sanctioned display, the other tolerated abuse.
Sanctioned display. Standard RPC/REST APIs expose data URIs. Any HTTP client can fetch, parse, and render instantly. Universal content serving.
Tolerated abuse. Data exists but requires specialized knowledge to find and extract. Higher barrier to access, lower attack surface.
getrawtransaction <txid> true
asm field embeds a Data URI
directly after OP_RETURN. Any HTTP-capable client can fetch this JSON,
parse the string, and set it as <img src="..."> to render instantly.
data: scheme.
This makes content universally accessible to any browser, app, or script.