Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose indexation status in NodeInfo endpoint #2595

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rafal-ch
Copy link
Contributor

@rafal-ch rafal-ch commented Jan 17, 2025

Closes #2576

Description

This PR extends the nodeInfo GraphQL endpoint by adding the indexation field which allows to check whether a given indexation is enabled. Example response:

{
  "data": {
    "nodeInfo": {
      "utxoValidation": false,
      "indexation": {
        "balances": true,
        "coinsToSpend": false,
        "assetMetadata": false
      }
    }
  }
}

Before requesting review

  • I have reviewed the code myself

After merging, notify other teams

@rafal-ch rafal-ch marked this pull request as ready for review January 17, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add information to the NodeInfo about indexation availability
1 participant