MezcalProtocol documentation

Tool

Payload validator and builder

Check a Mezcal payload before it costs you anything, or build one that is byte-correct. Both modes run in this page: nothing you paste is sent anywhere, stored, or logged.

Rules
bitapeslabs/mezcal @ 0f3323ff
Network
bitcoin / mainnet
Runs
in your browser only
Document version
2026.09.01

The tool

Inspect

Hex, a full scriptPubKey, or raw JSON. Detected automatically.

Optional. Enables the output-index and remainder checks.

Optional. Used to spot deliberate and accidental burns.

Result

Paste a payload to see it checked field by field.

Try a sample

Each button loads a payload into the inspector. The first three are valid; the last three are cenotaphs that would burn every Mezcal balance on the inputs.

What this tool does and does not check

Checked here

Everything in the payload

  • Hex, script, and UTF-8 decoding
  • JSON shape and strict key set
  • The protocol tag literal
  • Edict form, id, amount range, output index
  • Etching name, symbol, divisibility, premine, terms, price shape
  • Mint and pointer ranges
  • Where the remainder lands, given your output count

Not checked here

Everything about the chain

  • Whether the asset id exists
  • Whether a name is already taken
  • Whether a mint window is open or a cap is reached
  • Whether price terms are paid by your outputs
  • Whether your inputs hold the balance you are allocating
  • Bitcoin address checksums, beyond a shape check

Those need chain state. This page has none, on purpose: it makes no network requests at all.

A valid payload is not a safe transaction. The output index, the pointer, and your fee inputs decide where balances actually land. Walk the signing checklist before you broadcast.