midnight-indexer:indexer-service

Query Midnight indexer blockchain data via GraphQL for balances, transactions, and contract state.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/aaronbassett/midnight-knowledgebase --skill midnight-indexer-indexer-service
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: midnight-indexer:indexer-service
Source: https://github.com/aaronbassett/midnight-knowledgebase/tree/main/plugins/midnight-indexer/skills/indexer-service
Command: npx skills add https://github.com/aaronbassett/midnight-knowledgebase --skill midnight-indexer-indexer-service

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a unified interface to query the Midnight indexer for blockchain data, enabling you to fetch balances, list transactions, and read contract state across networks.

Core Features & Use Cases

  • Query balances, UTXOs, and transaction histories for addresses using the GraphQL API.
  • Read deployed contract state and monitor changes to support data-driven DApp backends.
  • Build dashboards and services that reflect on-chain activity in real time.

Quick Start

Initialize the indexer client and run a balance or transaction query against your target network.

Frequently Asked Questions about midnight-indexer:indexer-service

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query blockchain balances and transaction history for a Midnight address?▼

You can query Midnight blockchain balances and transaction history by sending requests through a GraphQL API to fetch UTXO-aware data and shielded versus transparent transaction records for specific addresses.

What is the best way to monitor deployed contract state on the Midnight blockchain?▼

Monitoring deployed Midnight contract state involves querying the indexer's GraphQL API to read on-chain data and track changes, supporting data-driven DApp backends and real-time activity dashboards.

Does the Midnight indexer support querying both testnet and mainnet environments?▼

Yes, the Midnight indexer supports querying both testnet and mainnet environments, allowing you to fetch balances, review transaction histories, and monitor contract state across different network scenarios.

How are UTXO-aware balances and shielded transaction data handled when querying the Midnight indexer?▼

UTXO-aware balances and shielded versus transparent data are handled natively by the indexer, distinguishing between shielded and transparent transaction outputs when you query address balances and contract states.

Can I use built-in pagination to fetch large volumes of Midnight blockchain transactions?▼

Yes, built-in pagination with version awareness is supported, allowing you to fetch large volumes of Midnight blockchain transactions and contract state data efficiently without exceeding query limits.

Why do I need version awareness when querying Midnight indexer data for my DApp?▼

Version awareness is needed when querying Midnight indexer data to ensure your DApp fetches the correct contract state and transaction formats, maintaining compatibility as the blockchain network upgrades.