GraphQLQueries
GraphQL queries and subscriptions for Midnight Indexer API.
Centralized location for all GraphQL operations. Makes it easy to:
Find and update queries
Test query syntax
Compare with Midnight's TypeScript SDK
Properties
Query the current state of a deployed contract.
Query current block with ledger parameters.
Query network state.
Query zswap ledger events in range.
Subscribe to blocks.
Subscribe to dust ledger events.
Subscribe to unshielded transactions for an address.
Subscribe to zswap (shielded) ledger events.
Functions
Query the block at a specific height — the chain-reset checkpoint lookup. A missing block (the chain is shorter than the pinned checkpoint) comes back as a null block field, which com.midnight.kuira.core.indexer.api.IndexerClientImpl.getBlockHashAtHeight maps to com.midnight.kuira.core.indexer.api.BlockHashLookup.NotOnChain — distinct from a failed query.