How to Implement Dune Echo in GraphQL!
Dune Echo makes multi-chain development easy, supporting 50+ networks in a single call with ultra-low latency. Here’s how to integrate it with GraphQL.
Dune Echo provides compelling and seamless APIs. The sandbox requires you to input the X-Dune-Api-Key to view and test calls. view
If you already have a Dune account, go to Profile → Settings → API Menu, then click Create New Key. You will be able to view this.
After that, click "Create New Key", add an API key name, and choose either ALL endpoints or Only Echo—both options work fine.
Click "Generate Key", and a card will pop up displaying your API key. Save the API key token in your .env file—we'll use it to call Dune Echo via GraphQL.
Go to https://github.com/muhraf1/Dune-Echo-Starter-Template and follow the README FILE!
The Resolver.js file is responsible for handling the Dune Echo representation through the duneWalletHoldings query.
And the GraphQL schema is located in schema.js.
The duneWalletHoldings function is called through vmmneu.jsx.
Notes: The line charts are currently hardcoded (WIP).
Keep building— we don’t predict the future, we build it!










