Skip to main content

🌙 Midnight Network Integration

Enterprise Access Only

Midnight is a private infrastructure service available exclusively to enterprise clients. If you are interested to know more, please reach out to us at help@arkhia.io.

Midnight on Arkhia — Q1 2026

March 2026

Arkhia now supports the Midnight network — a privacy-focused Layer 1 blockchain built on zero-knowledge proofs. Enterprise clients can access Midnight ZK-PaaS and Midnight RPC endpoints through Arkhia, with granular per-project controls for advanced ZK features.

Proof Server Version

Current Proof Server: v7.0.0


🚀 What's New

🌙 Midnight ZK-PaaS Endpoints

Zero-knowledge proof infrastructure via the Midnight ZK-PaaS service.

Endpoints:

  • POST /prove-tx — Submit a single ZK transaction proof
  • POST /prove-batch — Submit up to 20 proofs in a single batch request

Details:

  • Available on Preprod — Mainnet coming soon
  • Binary validation applied to prove-tx payloads
  • All requests require a valid Arkhia API key scoped to a Midnight ZK-PaaS project

🔗 Midnight RPC Endpoints

JSON-RPC node access for querying the Midnight blockchain state.

Supported Methods:

  • Chain info queries
  • Ledger version queries
  • API version queries

Details:

  • GET and POST method support
  • Available on Preprod — Mainnet coming soon
  • Request usage tracked separately from ZK-PaaS in the credit system

💸 Sponsored Wallet

Automatic DUST token gas fee management for Midnight transactions.

Details:

  • Enable per-project from the ZK Project Settings panel in the dashboard
  • When enabled, DUST token fees are paid automatically — users no longer need to hold or manage DUST tokens
  • Controlled via the sponsored request header in the Arkhia proxy
  • Password-protected toggle; changes propagate within 30 minutes

⚡ ZK Prove Batch

High-throughput batch proof submission for production ZK pipelines.

Details:

  • Submit up to 20 ZK proofs per request via /prove-batch
  • Enable per-project from the ZK Project Settings panel
  • Requests exceeding the 20-proof limit are rejected with a clear error message
  • Password-protected toggle; changes propagate within 30 minutes

🔒 Relay to Confidential Space (Preview)

Route transactions to a secure, isolated compute environment for maximum privacy.

Details:

  • Transactions are relayed to a sandboxed confidential environment
  • Provides an additional privacy layer beyond standard ZK proofs
  • Controlled via the zk_relay_to_space per-project setting
  • Currently available as a preview feature — disabled by default; contact support to enable

⚙️ ZK Project Settings UI

New per-project settings panel in the Arkhia dashboard for managing all Midnight-specific features.

Details:

  • Available under Project Details → Project Configuration (ZK-PaaS projects only)
  • Toggle ZK Prove Batch, Sponsored Wallet, and Relay to Confidential Space independently per project
  • All changes require password confirmation via a secure dialog
  • Settings propagate within 30 minutes of change

🌐 Network Support

NetworkProtocolEnvironment
Midnight ZK-PaaSmidnight.zkpaasPreprod (Mainnet coming soon)
Midnight RPCmidnight.rpcPreprod (Mainnet coming soon)

💳 Credit Tracking

All Midnight API calls are fully integrated into the Arkhia credit system:

  • Midnight ZK-PaaS requests are tracked as API type MIDNIGHT_ZKPAAS
  • Midnight RPC requests are tracked as API type MIDNIGHT_RPC
  • Usage breakdowns are visible in the Arkhia analytics dashboard per project

🛠️ Getting Started with Midnight

  1. Create a new project in the Arkhia dashboard and select Midnight ZK-PaaS as the network
  2. Copy your API key from the project settings
  3. Submit proof transactions to the Arkhia proxy:
# Prove a single ZK transaction
curl -X POST "https://arkhia.io/midnight/zkpaas/<API-KEY>/prove-tx" \
-H "Content-Type: application/octet-stream" \
--data-binary @proof-payload.bin
# Prove a batch (up to 20 proofs) — requires Prove Batch to be enabled
curl -X POST "https://arkhia.io/midnight/zkpaas/<API-KEY>/prove-batch" \
-H "Content-Type: application/json" \
-d '{"proofs": [...]}'

⚙️ Enabling ZK Features

To enable advanced Midnight features (Sponsored Wallet, ZK Prove Batch, Relay to Confidential Space):

  1. Open the Arkhia Dashboard and navigate to your Midnight ZK-PaaS project
  2. Go to Project Details → Project Configuration
  3. Toggle the desired feature under the ZK Configuration section
  4. Confirm with your account password
  5. Wait up to 30 minutes for changes to propagate
Preview Feature

Relay to Confidential Space is currently a preview feature and is disabled by default. Contact Arkhia support to request access.