🌙 Midnight Network Integration
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.
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 proofPOST /prove-batch— Submit up to 20 proofs in a single batch request
Details:
- Available on Preprod — Mainnet coming soon
- Binary validation applied to
prove-txpayloads - 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
sponsoredrequest 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_spaceper-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
| Network | Protocol | Environment |
|---|---|---|
| Midnight ZK-PaaS | midnight.zkpaas | Preprod (Mainnet coming soon) |
| Midnight RPC | midnight.rpc | Preprod (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
- ZK-PaaS
- RPC
- Create a new project in the Arkhia dashboard and select Midnight ZK-PaaS as the network
- Copy your API key from the project settings
- 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": [...]}'
- Create a new project in the Arkhia dashboard and select Midnight RPC as the network
- Copy your API key from the project settings
- Query the Midnight node via JSON-RPC:
# Get chain info
curl -X POST "https://arkhia.io/midnight/rpc/<API-KEY>" \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "midnight_chainInfo", "params": [], "id": 1}'
⚙️ Enabling ZK Features
To enable advanced Midnight features (Sponsored Wallet, ZK Prove Batch, Relay to Confidential Space):
- Open the Arkhia Dashboard and navigate to your Midnight ZK-PaaS project
- Go to Project Details → Project Configuration
- Toggle the desired feature under the ZK Configuration section
- Confirm with your account password
- Wait up to 30 minutes for changes to propagate
Relay to Confidential Space is currently a preview feature and is disabled by default. Contact Arkhia support to request access.