The first open source
OData service for
Cardano & Midnight

Business processes and AI agents need structured on-chain data through open standards. ODATANO abstracts Cardano and Midnight as OData V4 Services. Query chain states, build transactions and verify claims against live contract states. Anchor records publicly on Cardano and prove facts about them privately on Midnight.

# 1 read the chainGET …/cardano/Transactions('cf8e5cc9…')    ?$expand=inputs,outputs# 200 { "fee": "166293", "inputs": […], "outputs": […] }# 2 build a transactionPOST …/cardano-transaction/BuildSimpleAdaTransaction  { "senderAddress": "addr_test1…",    "recipientAddress": "addr_test1…",    "lovelaceAmount": 10000000 }# 200 { "unsignedTxCbor": "84a4…", "fee": 171001 }# 3 same routes on Midnight, hosted or self-hostedGET …/odata/v4/midnight/Blocks?$orderby=height desc&$top=1
  • Apache 2.0 License
  • v2.0.0-rc.53 @odatano/core
  • v0.8.0 @odatano/core-mcp
  • v0.26.1 @odatano/nightgate-tx
  • v0.24.2 @odatano/nightgate-mcp

Read, build, mint, sign, prove.

ODATANO CORE for Cardano, NIGHTGATE for Midnight. Use one or both together

Cardano Cardano

Query, transact, mint, spend.

Blocks, addresses, UTxOs, Pools, DReps and more as OData entities. ADA and multi-asset transfers, mints, metadata and Plutus spends as actions.

@odatano/core @odatano/core-mcp
Explore the Cardano track ↓
Midnight Midnight

Transfer, anchor, attest, prove.

Blocks and contract state as entities. Shielded transfers, Compact contract calls, document anchoring and zero-knowledge attestations as actions, sponsored so no NIGHT or DUST is needed.

@odatano/nightgate-tx @odatano/nightgate-mcp
Explore the Midnight track ↓

ODATANO API

The hosted ODATANO API at api.odatano.dev. One key covers both chains and the analytics. OData clients call the routes directly, AI agents go through the two MCP servers. The first key comes with free calls.

Cardano Cardano

Blocks, transactions, UTxOs and pools as OData. Build and submit transactions.

  • Routes/odata/v4/cardano
    /odata/v4/cardano-transaction
    /odata/v4/cardano-sign
  • Networkspreprod, preview; mainnet soon
  • Readblocks, transactions, UTxOs, addresses, pools, epochs, assets
  • Transactionsunsigned ADA, multi-asset, mint, metadata and Plutus transactions
  • Sign & submitsigning requests, signature verification, submission
Midnight Midnight

Blocks and contract state on Midnight. Attestations and zero-knowledge proofs, transactions sponsored.

  • Routes/odata/v4/midnight
    /odata/v4/midnight-verify
  • NetworksMidnight preprod, preview; mainnet soon
  • Readblocks, transactions, contract state, job status
  • Verifyattestations, predicates and documents against chain state
  • Anchordocuments, built with your own key; sponsored, no NIGHT or DUST needed
  • Provefield, equality, membership, document integrity and diff claims, proven on your machine
  • Indexerthe Midnight indexer's GraphQL, so wallets sync on the same key
Cardano Cardano Midnight Midnight

Analytics, computed from the same indexes. Blocks, transactions and fees per hour, day or week, with the change against the window before. Every number names the block range it came from.

  • Route/odata/v4/analytics
  • Agentsanalytics_* tools in both MCP servers
  • OverviewCurrent tip, blocks and transactions in the last hour, fees over 24 h, one row per chain
  • Key figures every metric over 1 h, 24 h, 7 d, 14 d and 30 d, with the previous window and the change in percent
  • Per dayBlocksDaily, TransactionsDaily, FeesDaily, TokensDaily and StakeEpochs, one row per chain and day, named columns
  • RankingsTopTokens, TopPolicies, TopAddresses, TopScripts, TopBlockProducers, TopPools, TopDReps per chain and window
  • Shapecompare for both chains side by side, getDistribution for histograms, getAnomalies for days off their own baseline
Cardano or Midnight wallet Your wallet signs a one-time message, no transaction. Free start: 300 calls, 90 days.
x402 Pay a pack with ADA over x402. The key comes back in the response. Top up by key id or from the paying wallet.

Architecture

ODATANO sits between business applications and the chain. ODATANO CORE connects to Cardano, NIGHTGATE to Midnight. Both handle data providers, caching, indexing and transaction building, so the application only sees OData.

Consumer

SAP Fiori / UI5 Any OData Client REST / curl AI Agents MCP Automated business processes
CardanoODataService CardanoTransactionService CardanoSignService CardanoIndexerService CardanoWorkerService CardanoAgentService
NightgateService NightgateIndexerService NightgateAnalyticsService NightgateAdminService NightgateVerifyService
Mainnet Preview Preprod
Mainnet Preview Preprod

Services

Both services expose their chain as OData V4 entities and actions. $filter, $select, $expand and $orderby work as in any OData service, metadata at $metadata. Hosted and self-hosted serve the same paths.

@odatano/core

Read

Blocks, transactions, addresses, UTxOs, pools, DReps and protocol parameters as OData entities. 22 entities, 19 actions.

Transactions

ADA, multi-asset, mint and Plutus V3 transactions as OData actions. Unsigned CBOR back. 13 actions.

Signing

CIP-30 wallet, Cardano CLI or PKCS#11 HSM. Private keys never reach the server. 9 actions.

Pre-sync

Optional chain crawler with sync cursor, reorg log and pause / resume. 2 entities, 4 operations.

Wallet worker

Server-side wallets run build, sign, submit and confirm as jobs. 2 entities, 6 actions.

Agent grants

Scoped, budgeted bearer tokens for AI agents instead of a full user. 1 entity, 6 actions.

NIGHTGATE

Chain & Wallet

Crawler indexes Midnight blocks with reorg detection. Wallet sessions in worker threads, viewing key or full signing.

Contracts & Tokens

Deploy and call Compact contracts, send NIGHT and custom tokens. Async jobs with status polling.

Privacy

ZK attestations prove a hidden value meets a threshold. Document anchoring with on-chain verification, shield and unshield funds.

Indexer & ops

Sync status, reorg history, liveness, Prometheus metrics, reindex. 2 entities, 13 operations.

Analytics

Block, transaction and contract counts as OData aggregates. 2 entities, 4 functions.

Admin & public verify

Wallet sessions, contract registry, sponsor policy. Three verify functions public, rate limited.

AI Agents

Two MCP servers: @odatano/core-mcp for Cardano, @odatano/nightgate-mcp for Midnight. Both use one oda_… key from api.odatano.dev, in Claude Code, Claude Desktop, Cursor or any MCP client.

ODATANO-MCP · v0.8.0 · Cardano

Read the chain, build unsigned.

34 tools plus 10 for analytics. Read the chain, query the indexer, build transactions and submit them once a wallet has signed.

  • Read get_transaction get_utxos get_asset_info query_entity
  • Build build_ada_transfer build_mint_transaction build_plutus_spend
  • Sign create_signing_request verify_signature
  • Submit submit_signed_transaction get_submission_status
  • Analytics analytics_key_figures analytics_daily analytics_top analytics_anomalies
NIGHTGATE-MCP · v0.24.2 · Midnight

Prove it without revealing it.

28 tools plus 9 for analytics. Anchor documents, prove zero-knowledge claims, swap and mint shielded tokens. Fees are sponsored.

  • Verify verify_attestation verify_predicate
  • Anchor anchor_document prepare_document_proof submit_vault_call
  • Swap post_swap_offer take_swap_offer sponsor_swap
  • Tokens mint_token send_token call_contract
  • Analytics analytics_key_figures analytics_daily analytics_compare analytics_anomalies
npx @odatano/core-mcpnpx @odatano/nightgate-mcp# .mcp.json - Claude Code / Claude Desktop / Cursor / any MCP client# one key from api.odatano.dev, both chains{ "mcpServers": {  "odatano": {    "command": "npx",    "args": ["-y", "@odatano/core-mcp"],    "env": { "ODATANO_ACCESS_KEY": "oda_…" }  },  "nightgate": {    "command": "npx",    "args": ["-y", "@odatano/nightgate-mcp"],    "env": { "ODATANO_ACCESS_KEY": "oda_…" }  }}}# self-hosted instead: ODATANO_ACCESS_URL points at your own instance

Ecosystem

Applications and libraries built on @odatano/core for Cardano and NIGHTGATE for Midnight: product passports, supply-chain traceability, financial data anchoring, payment gating, a zero-knowledge toolkit and transaction monitoring.

EU Battery Passport · Reg. 2023/1542 Cardano Cardano

Digital battery passports anchored on Cardano as CIP-25 NFTs. Sensitive data stays encrypted off-chain. Merkle proofs disclose single fields, Groth16 predicates prove thresholds like carbon footprint on the Cardano ledger itself.

  • CIP-25 NFT Anchors + Label-1155 Evidence
  • AES-Encrypted Disclosure Tiers
  • Merkle Single-Field Disclosure
  • On-Chain Groth16 ZK Predicates
  • Catena-X PAC Export
EU Battery Passport · Reg. 2023/1542 Midnight Midnight

The shielded twin of DAYPASS on Midnight, built on NIGHTGATE. One dataset, three stakeholder views. Sensitive metrics are proven with ZK attestations, the values stay hidden.

  • Three Disclosure Levels (Public / Legitimate Interest / Authority)
  • Field-Bound ZK Claims, Up to 8 per Transaction
  • Payload Hashes On-Chain, Data Encrypted Off-Chain
  • Server Wallet or Lace Signing, Fees Sponsored
  • Catena-X Passport + PAC Export
Digital Product Passport Cardano Cardano Midnight Midnight

The chain-agnostic core of DAYPASS and NIGHTPASS. Canonical hashing, encryption, access levels, Merkle content trees, lifecycles and ZK claim planning. No chain code, no network calls. A passport anchored on one chain verifies against data from the other.

  • Canonical Payload Hashing + Merkle Content Trees
  • Access Levels, Field Redaction, Provable Fields
  • EU Battery Regulation Profile (2023/1542) Included
Pharma Supply Chain Cardano Cardano

Tracks pharmaceutical batches from manufacturer to distributor to pharmacy with NFTs under a Plutus V3 policy. Each handoff anchors certificates and cold-chain telemetry on-chain.

  • Batch NFT Mint Policy (Plutus V3)
  • Continuing-Output Datum Custody Chain
  • CIP-20 Document Anchoring
Charli3 Grand Prize 2026 Cardano Cardano

On-chain settlement of B2B raw-material orders against attested inventory and Charli3 oracle price feeds. A custom Plutus V3 minting policy enforces inventory, price ceiling, payment, and deadline atomically.

  • Atomic Mint Validator (Plutus V3)
  • Charli3 Multi-Feed Oracle Integration
  • One Signature, One Transaction - No Escrow
Financial Data Anchoring Cardano Cardano

Anchors balance sheets and income statements on Cardano as CIP-10 label-1447 metadata, following the Cardano Foundation Reeve spec. Verifiable accounting without a smart contract.

  • CIP-10 Label-1447 Metadata (Reeve Spec)
  • Double-Entry Journal Ledger Math
  • On-Chain Report Verification
HTTP 402 Payment Gating Cardano Cardano

Payment gating for SAP CAP. Gated OData endpoints return HTTP 402 until the caller proves on-chain settlement. No database, no smart contract: the UTxO model is the replay defense.

  • Cardano-x402-v2 Protocol (HTTP 402)
  • Nonce-UTxO Replay Defense - No Database
  • ADA or Any Native Token Pricing
Zero-Knowledge Toolkit Cardano Cardano

Pure-TypeScript zero-knowledge toolkit behind DAYPASS. Groth16 proving and verification plus Poseidon hashing on BLS12-381, no native dependencies.

  • Groth16 Proving & Verification
  • Poseidon Hashing on BLS12-381
  • Powers DAYPASS On-Chain Predicates
Transaction Monitoring Cardano Cardano

Watches addresses, credentials and policies on Cardano and emits UTxO events with replay. Confirms that what your ERP recorded is what the chain settled.

  • Deterministic Transaction Verification
  • Monitoring for Blockchain-Backed Processes
  • Enterprise System Integration

Start building.

api.odatano.dev get a key npm install @odatano/core npm install @odatano/nightgate-tx npx @odatano/core-mcp npx @odatano/nightgate-mcp

Get in touch

Questions, an integration or a custom build. Send a message, we reply by email.