TOKEN2049 Got a code? Redeem it for a free ODATANO API key. Redeem now →

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/latest()
  • Apache 2.0 License
  • v2.0.0-rc.40 @odatano/core
  • v0.6.0 @odatano/core-mcp
  • v0.35.0 @odatano/nightgate
  • v0.15.0 @odatano/nightgate-mcp

Read, build, mint, sign, prove.

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

ODATANO CORE ODATANO CORE 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 ↓
NIGHTGATE NIGHTGATE 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 @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.

ODATANO CORE ODATANO CORE 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
  • Networkpreprod
  • Readblocks, transactions, UTxOs, addresses, pools, epochs, assets
  • Transactionsunsigned ADA, multi-asset, mint, metadata and Plutus transactions
  • Sign & submitsigning requests, signature verification, submission
NIGHTGATE NIGHTGATE Midnight Midnight

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

  • Routes/odata/v4/midnight
    /odata/v4/midnight-verify
  • NetworkMidnight preprod
  • Readblocks, transactions, contract state, job status
  • Verifyattestations, predicates and documents against chain state
  • Anchordocuments and agent output; sponsored, no NIGHT or DUST needed
  • Provefield, equality, membership, document integrity and diff attestations
ODATANO ASTRA ODATANO ASTRA 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 wallet Your wallet signs a one-time message, no transaction. Free start: 50 calls, 90 days.
x402 Pay a pack with ADA or stablecoins over x402. The key comes back in the response. Top up by key id or from the paying wallet.
Redeem a code A 6-character voucher from events, exchanged on the API page for a key.

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.

@odatano/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, 11 operations.

Analytics

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

Admin & public verify

Wallet sessions, disclosure roles, contract registry. Two 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. The agent gets a notary, never a wallet: it reads, builds and verifies, a human or an HSM signs. Both carry the ODATANO ASTRA analytics for their chain: key figures, daily tables, rankings. Works with Claude Code, Claude Desktop, Cursor or any MCP client.

ODATANO-MCP · v0.6.0 · Cardano

Read the chain, build unsigned.

36 tools plus 10 for analytics. Read the chain, query the indexer, build transactions. Every build comes back unsigned, a human or wallet signs.

  • 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
  • ASTRA analytics_key_figures analytics_daily analytics_top analytics_anomalies
NIGHTGATE-MCP · v0.15.0 · Midnight

Prove it without revealing it.

22 tools plus 9 for analytics. Anchor documents, prove claims over hidden fields, verify against live contract state. Writes are sponsored or scoped by a grant.

  • Verify verify_attestation verify_predicate verify_document
  • Prove prove_field_predicate prove_field_equality prove_field_membership
  • Anchor anchor_document attest_agent_output prepare_document_proof
  • Grant grant_disclosure revoke_disclosure get_job_status
  • ASTRA 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 @odatano/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 @odatano/nightgate. One dataset, three stakeholder views. Sensitive metrics are proven with ZK attestations, the values stay hidden.

  • Three Disclosure Tiers (Consumer / Recycler / Authority)
  • Field-Bound ZK Predicate Attestations
  • Payload Hashes On-Chain, Data Encrypted Off-Chain
  • Server Worker or Personal Wallet Submission
  • 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 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.