Source: /cirosantilli/cool-data-embedded-in-the-bitcoin-blockchain/technically-interesting-ordinal

= Technically interesting ordinal

This section is about ordinals that are interesting primarily due to technical reasons linked to edge cases of the protocol.

Interesting MIME types:
* https://ordinals.com/inscription/dad86d722156b8c384c1f3243e40aa7a0f6f5be496bc24e19485831584f9803fi0[]: mime type is an UTF-8 orange emoji "🟠"
* https://ordinals.com/inscription/bc7b86245159cdf8bc63489687909f766a0a0e08279d23fb077cdd60ab1e9f22i0[]: mime type is an <XSS> attempt:
  ``
  <script>alert('xss in content type')</script> tx=bc7b86245159cdf8bc63489687909f766a0a0e08279d23fb077cdd60ab1e9f22
  ``
* https://ordinals.com/inscription/bc7b86245159cdf8bc63489687909f766a0a0e08279d23fb077cdd60ab1e9f22i0[]: mime type is "FuckYou"
* https://ordinals.com/inscription/00b0ece72217ce49b637b3f9bf5335bc245e588568aa0676581b40c1bedc521di0[]: the mime is a long <JSON>. However, it does appear to be a valid feature as it rendered specially on <ordinals.com>.

Different `ord` markers:
* 71e85885522047240a9e70542145dbf2385e1bd468e6ac6002aa755422ea10f5 uses `takingnames`. Decode with:
  ``
  bitcoin-core.cli decodescript "$(bitcoin-core.cli getrawtransaction 71e85885522047240a9e70542145dbf2385e1bd468e6ac6002aa755422ea10f5 true | jq -r '.vin[0].txinwitness[1]')" | jq -r .asm | sed 's/.* 0 //;s/ OP_ENDIF//;s/ //g' | xxd -r -p > 71e85885522047240a9e70542145dbf2385e1bd468e6ac6002aa755422ea10f5.png
  ``
  gives the <PNG> of the wireframe draing of a washing machine with transparent background.