OriginStamp Logo
OriginStamp Logo

MiCA Compliance: Verifying ESMA JSON Transaction Records

May 19, 2026

Thomas Hepp

Thomas Hepp

May 19, 2026

Three smiling colleagues collaborating around a computer monitor in a bright modern office.

MiCA's Reporting Mandate: Why Your JSON Has to Hold Up

Regulators do not forgive gaps in the record. When a National Competent Authority (NCA) requests your order-book data for a specific 48-hour window from eight months ago, "we have it somewhere" is not an acceptable answer. Under the Markets in Crypto-Assets regulation, that answer can cost your CASP its operating license.

MiCA became fully applicable to Crypto-Asset Service Providers across the EU in December 2024. It is the most thorough crypto-regulatory framework any major jurisdiction has produced, and its reporting obligations are precise, demanding, and non-negotiable. The piece most teams get wrong is not collecting the data. It is proving, years later, that the JSON they hand a regulator is byte-for-byte the JSON they captured at the moment a trade happened.

That gap between having a record and proving a record is what this article is about.

Where ESMA JSON Reporting Fits in the MiCA Stack

MiCA Article 68 sets the baseline: a CASP must keep all records of its services, activities, and transactions for at least five years, in a form that lets an NCA verify compliance with conduct-of-business rules like best execution and order handling. We cover the full retention obligation, the integrity duty, and the penalty exposure in our deep dive on proving record integrity under MiCA's record-keeping rules — so rather than re-litigate the statute here, this article zooms in on one artifact that obligation produces: the order-book and transaction record itself, in the format ESMA actually expects to receive.

That format is not freeform. RTS 2025/416 defines the technical contract for order-book data: machine-readable, schema-validated JSON that NCAs can process programmatically. RTS 2025/1140 sets out what each transaction and order record must contain and demands that those records be stored in a form that prevents unauthorized alteration — a duty you must be able to demonstrate on request. At minimum, your records have to capture:

  • The identity of the client and the crypto-asset involved
  • The type, price, quantity, and timing of each order
  • The venue or internal system through which the order was executed
  • Any modifications or cancellations, with a timestamp for each event
  • The final execution status and any partial fills

Two dates frame the urgency. NCAs access order-book records on request, and the new JSON format becomes requestable from mid-2026 onward; the five-year window means a record you write today must still verify clean in 2030. For compliance teams and CTOs, the question stopped being whether to comply. It is how to build a pipeline that makes compliance provable, repeatable, and defensible under audit.

Breaking Down the ESMA JSON Schema for Order Books

The ESMA JSON schema for order-book records is not a suggestion. It is a technical contract between your firm and the regulator. Think of it less like a filing cabinet and more like a court transcript: every field is a sworn statement, and an omission is its own kind of testimony.

Under RTS 2025/416, every order-book record your team submits carries a defined set of fields, each with a job to do for the regulator on the other end:

  • Client identifier: a pseudonymous but consistent reference that lets regulators reconstruct one account's trading behavior over time.
  • Crypto-asset identifier: the specific trading pair or asset, using standardized identifiers where they exist.
  • Order type: market, limit, stop — the classification of what your client actually submitted.
  • Price and quantity: the exact price at which the order was placed or executed, and the volume.
  • Execution timestamp: the precise moment the order was received, modified, or executed, in UTC with millisecond precision.
  • Order status: filled, partially filled, cancelled, or rejected.

The millisecond requirement on timestamps is not bureaucratic pedantry. It is the mechanism by which regulators detect front-running, wash trading, and market manipulation. A timestamp rounded to the nearest second is useless for that purpose. If your logging layer rounds, your submission fails scrutiny even when every other field is perfect.

Here is the engineering tension. At a high-volume exchange, capturing this granularity across thousands of transactions per second cannot add latency to the trading engine itself. Your logging layer has to be asynchronous, non-blocking, and able to absorb burst volume without dropping a single record.

ISO 20022 messaging standards offer a reference framework for structuring financial messages, and parts of the ESMA schema design echo it. If your team came from traditional market infrastructure, you will recognize the conceptual lineage — but the MiCA JSON schema is crypto-specific and not directly interchangeable with ISO 20022 formats, so do not assume an existing mapping will just port over.

Consistency across trading pairs is the trap nobody plans for. Offer 200-plus pairs and you need identical field names, data types, and encoding conventions across every one of them. Schema drift — where legacy code paths log different pairs with subtly different structures — is one of the most common reasons a submission fails validation. I have watched it blindside teams whose individual pair implementations looked spotless in isolation.

MiCA transaction records infographic showing CASP record-keeping metrics across transaction datasets

The practical takeaway: you need a canonical data model sitting between raw trading-engine output and the regulatory submission layer. Normalize every internal log to that model before anything gets archived. Skip the normalization and pipe raw logs straight to submission, and you are quietly betting your trading engine's output format never drifts. That is not a bet worth placing.

The Reporting Workflow: From Internal Logs to NCA Submission

A compliant MiCA reporting workflow is not a single export job. It is a multi-stage pipeline, and every stage is a place where data can be lost, mistransformed, or quietly corrupted. Here is how to reason about each one.

Stage 1 — Capture. Raw order events are written to an internal database or message queue at the point of execution. This is the T+0 record: the ground truth of what happened on your platform.

Stage 2 — Normalization. The pipeline reshapes raw records to match the ESMA JSON schema. Field names are mapped, timestamps are standardized to UTC, identifiers are pseudonymized per GDPR, data types are checked.

Stage 3 — Validation. The normalized JSON runs against the ESMA schema definition. Missing required fields, out-of-range values, malformed identifiers — all of it must be caught and fixed before submission, not after. Build this step to fail loudly, never silently.

Stage 4 — Archiving. The validated JSON is written to long-term storage. This is where most CASPs introduce their first real compliance risk: they store the file but never prove its integrity. More on that shortly.

Stage 5 — Submission. When an NCA requests data, your team pulls the relevant records from the archive and submits them through the designated channel.

The "Golden Record" concept anchors the whole process. The Golden Record is the validated JSON exactly as it existed the moment it was archived — the definitive state of the data at T+0. Any divergence between what was archived and what you later submit is a compliance failure, intent notwithstanding.

National regulators are explicit that the burden of demonstrating that submitted records are authentic and unaltered sits with your firm. "We stored it correctly" is not the same as proving it. In a regulatory examination, that distinction is everything — and we unpack how to make the surrounding audit trail itself tamper-proof in that companion piece.

Pipeline failures worth actively testing for: timezone conversions that shift timestamps by hours, character-encoding bugs that corrupt identifiers, and batch jobs that silently skip records under high load. Each one can yield a submission that looks valid but misrepresents what actually traded.

NCAs are not passive recipients. They cross-reference submissions against market-surveillance data, flag statistical anomalies, and fire off follow-up requests. If your records cannot survive that scrutiny, the consequences run well past a fine.

Five Years Later: The Long-Tail Integrity Problem

Submitting a clean JSON file today solves today's problem. But MiCA's obligations run five years from the date of each transaction, and what happens to that file over those five years is where most CASPs are exposed.

Writing files to an S3 bucket or a NAS is storage, not compliant archiving. Storage proves data exists; it does not prove the data is unchanged since the day you wrote it. Silent data corruption — bit rot, hardware faults, a migration script that overwrites a field, a backup restore that quietly rolls a record back to an older version — can render a five-year-old record indefensible without anyone acting in bad faith. We treat the storage-versus-proof distinction, the eIDAS burden-of-proof shift, and the DACH standards (GoBD, GeBüV) in full in our guide to verifiable MiCA archiving beyond simple storage; the short version is that none of those frameworks closes the integrity gap on their own.

So the requirement for a compliance officer collapses to one line: every file entering your archive must carry a verifiable proof of its state at the moment of archiving. Without that proof, the archive is a liability, not an asset — and when an NCA comes knocking three years out, you will badly want it to be an asset. That is exactly what audit-proof archiving for MiCA compliance is built to deliver: it seals each record at ingestion so you can later show, not assert, that the stored file matches the original.

The Integrity Wrapper: Sealing an ESMA Record at T+0

The fix for the integrity problem is mathematically clean and operationally boring, which is exactly what you want in a compliance control: hash the file, anchor the hash to a public blockchain.

I call this the "Integrity Wrapper." The moment your validated ESMA JSON is ready for archiving, you compute a SHA-256 hash of the file — a 256-bit fingerprint of its exact contents. Flip a single byte anywhere (a timestamp digit, a quantity, a client ID) and the fingerprint changes entirely. There is no partial match and no fuzzy comparison; the hash matches or it does not. That hash is then anchored to the Bitcoin and Ethereum blockchains. The chain never sees the file, only the fingerprint, so your data never leaves your own infrastructure — and you get a publicly verifiable record that a file with this exact fingerprint existed at this exact time. The full hash-then-anchor procedure lives in our developer's guide to timestamping a file; what matters here is what it buys a CASP.

What it buys is mathematically provable data integrity that is independent of any storage provider, any administrator, and any internal system. When an NCA asks for records from three years ago, you no longer assert "our systems are trustworthy." You demonstrate, cryptographically, that the submitted file is identical to the one archived on a specific date. That is digital sovereignty in a precise sense: you can prove your records without asking anyone to vouch for them.

This rests on peer-reviewed cryptography, not a vendor claim. NIST's SHA-256 standard treats the function as collision-resistant — finding two different files with the same hash is computationally infeasible with current technology. The blockchain timestamp also closes the backdating risk: you cannot hash a file created today and pass it off as archived two years ago, because the timestamp pins the fingerprint to a specific block height and time that anyone can verify. The same backdating defense underpins MiCA's white-paper obligations, where proving the integrity and publication date of a published document is its own requirement.

For a CASP building MiCA-compliant infrastructure, the Integrity Wrapper is not an add-on. It is the floor everything else stands on, because every claim in your compliance stack ultimately reduces to "these records are what we say they are."

MiCA transaction records process flow mapping RTS 2025/1140 checks to order-book reporting evidence

Practical Implementation: Automating Proof of Submission

The Integrity Wrapper only pays off if your team applies it consistently and automatically. A manual hash run now and then is not a control; it is a liability waiting to surface mid-audit. Wiring timestamping into the reporting pipeline takes three pieces.

1. API-level integration. A timestamping API call becomes the final step of the archiving job. When the validated JSON lands in storage, the hash is computed and submitted to the timestamping service in the same transaction — no human in the loop, no chance for the step to get skipped under operational pressure.

2. Proof Certificate generation. For every submission, the pipeline emits a Proof Certificate: a structured artifact holding the file hash, the blockchain transaction ID, the block height, and the timestamp. It is stored alongside the original file and becomes the evidence you hand an NCA or internal auditor.

3. Daily manifest aggregation. High-frequency environments generate thousands of order-book snapshots a day. Instead of one anchor per file, you can list every file's hash in a daily manifest and timestamp the manifest. That cuts blockchain transaction volume while keeping per-file verifiability — a trade-off worth walking through with your engineering team.

ETSI TS 101 733 provides the framework for electronic signatures and timestamp tokens that underpins this approach in European regulatory contexts, and ISO 27001 supplies the information-security governance wrapper most auditors will expect around it.

The payoff is an audit tax that drops sharply. When a regulator or internal auditor asks for proof that a specific file was not altered between archiving and submission, your answer is a Proof Certificate — not an explanation, not a chain-of-custody narrative, not a plea to trust your systems. Verification takes seconds, which is a real advantage when you are answering an NCA request against the clock.

That is the operational value of OriginVault's audit-proof archiving backend: it collapses a multi-step integrity-verification process into one automated workflow that produces defensible proof at every step. Your compliance team stops explaining and starts demonstrating.

For a compliance officer, the shift is from "we believe our records are accurate" to "here is mathematical proof that they are." That is not a subtle difference. It is the line between passing an audit and failing one.

Future-Proofing Your CASP Against Regulatory Scrutiny

MiCA has reset the baseline for operating a compliant crypto-asset service in Europe, and the European Commission's Digital Finance Strategy signals the baseline only climbs from here. More granular reporting, shorter response windows, deeper NCA scrutiny — that is the direction of travel. Your infrastructure needs to be ahead of the curve, not chasing it.

CASPs that treat MiCA as a checkbox — store the data, hope it holds — will be exposed the first time a serious audit lands. CASPs that build verifiable, tamper-evident record-keeping now will find the investment pays past compliance: faster audits, lower operational risk, and a credible integrity posture that sets them apart in a market under growing scrutiny.

The real shift is from reactive compliance to proactive data integrity. Every ESMA JSON export should be sealed the moment it is created. Every archival file should carry a blockchain-anchored proof of its state. Every NCA submission should ride on a Proof Certificate that makes verification instant. None of this is a future capability — it is available infrastructure today, and the cost of waiting keeps rising.

The single source of truth MiCA demands is not just a database. It is a tamper-proof, time-anchored, cryptographically verifiable record that no administrator can alter and no regulator can doubt.

If you are building or upgrading your CASP's compliance stack, see how OriginVault's white-label audit-proof archive handles the full lifecycle — from ESMA JSON ingestion to blockchain-sealed long-term storage — without piling operational complexity onto your team.


Thomas Hepp

Thomas Hepp

Co-Founder

Thomas Hepp is the founder of OriginStamp and creator of the OriginStamp timestamp, which has set the standard for tamper-proof blockchain timestamps since 2013. As one of the earliest innovators in the field, he combines deep technical expertise with a pragmatic focus on solving real business problems, and is a recognized voice in blockchain security, AI analytics, and data-driven decision support. His work has earned multiple international awards, including a top Best Project recognition from ETH Zurich and the Swiss Confederation. He publishes regularly on blockchain, AI, and digital innovation.


Abstract orange logo of six connected, rounded squares.
Artistic background pattern in purple