Dedsol
  • 👀 | Overview
  • Indexer
    • 👉 | Getting Started
    • 🌐 | Rest Endpoints
      • Getting Started
      • Endpoints
    • 🔮 | GraphQL
      • Getting Started
      • Playground (GraphiQL)
    • 💰 | Pricing
      • Enteprise Plan
      • How Crediting Works
  • Miscellaneous
    • 🧭 | Roadmap
    • 🫡 | Team
    • 🤖 | Discord
    • 📍 | Directory
    • ❤️ | Support Us
Powered by GitBook
On this page
  • Why GraphQL?
  • Ready to try it out yourself?
  1. Indexer
  2. 🔮 | GraphQL

Getting Started

Most expressive way to access data on the Radix network.

Express the data you need and let us do the heavy lifting to get it to you fast, complete and hassle-free so you can focus on building and not data wrangling.

Why GraphQL?

Here is a quick example of a query in GraphQL to get :

query TokensQuery {
  tokens(first: 10) {
    nodes {
      name
      symbol
      description
      resourceAddress
      tagsIsLocked
      totalBurned
      totalMinted
      totalSupply
    }
  }
}

This allows you to compose a query which is much harder to achieve with traditional Rest APIs, in this case we get the name, `symbol`, and other specified fields for the first 10 tokens created on the radix network.

Now we can extend this even more, like so:

query TokenAndAccountsQuery {
  tokens(first: 10) {
    nodes {
      name
      symbol
      description
      resourceAddress
      tagsIsLocked
      totalBurned
      totalMinted
      totalSupply
    }
  }
  accounts(first: 5) {
    nodes {
      address
      createdAt
    }
  }
}

This allows us to compose complex queries together for data which for traditional REST endpoints would require you to perform multiple requests and stitch data together yourself.

Ready to try it out yourself?

Previous🔮 | GraphQLNextPlayground (GraphiQL)

Last updated 2 months ago

Check out our GraphQL API documentation for info getting started with our GraphiQL web interface.

Explore our .

here
sample projects