Midnight Indexer v4.0.2 release notes
For the complete documentation index, see llms.txt
- Version: v4.0.2
- Date: April 23, 2026
- Paired node: 0.22.x
- API version: v4
High-level summary
Midnight Indexer 4.0.2 is a patch release on the 4.0.x maintenance line that corrects how transaction fees (paidFees) are computed, backporting the fix that shipped on the development line in 4.1.0. Because the correction recomputes fees for already-indexed data, the upgrade requires a reset and re-index.
Reset the indexer and re-index from genesis when upgrading to 4.0.2. Budget approximately 3 to 4 days at Mainnet or Preprod scale.
Audience
This release note is relevant for:
- Operators running the Midnight Indexer 4.0.x against Node 0.22.x
- Developers reading transaction fee values from the Indexer API
What changed
Breaking changes
No GraphQL schema changes. The re-index requirement above is operational, not an API change.
Bug fixes
paidFees computation
Transaction fees are now computed with the ledger's own fee API, so the paidFees value returned by the indexer matches what the node charged. Existing index state holds the old values, hence the re-index. (#1068)
Links and references
- GitHub release: v4.0.2 on GitHub
- Full changelog: CHANGELOG.md at v4.0.2
- Schema: Indexer API v4 schema
- API reference: Midnight Indexer API v4
- Docker images: Chain Indexer, Indexer API, Wallet Indexer, Indexer Standalone