-
Notifications
You must be signed in to change notification settings - Fork 51
Usage
Aleksey edited this page Feb 8, 2020
·
7 revisions
Bitquery widgets allow to visualize data from the blockchain. You can use widgets for:
- build your own blockchain explorer. Open sourced Bitquery explorer https://explorer.bitquery.io would help as good starting point and example;
- create specialized tools and user interfaces for your wallet / project or crypto currency;
- Embed data from blockchain on your website or page. This can show activity of your project, metrics trends or staked funds;
- create a dashboard of data related to a specific blockchain / protocol / project. This can be used to show some case, trends or serve explorational, scientific goals.
In many cases just looking on data from the blockchain is not enough, you have to look a related data, dig in, or expand out to see bigger or more detailed picture. Effectively it involves either building new queries to the blockchain data, or selecting data with different metrics or dimensions.
That's why we implemented several interfaces, allowing to extend and customize widgets:
- visual interface, allowing to interact with them on the web page. Widget is not just a display of the data, it serves as the interface to specific data, allowing to construct new queries and immediately see the results.
- backend interface to blockchain data, built on GraphQL. It has self-descriptive schema, allowing to build queries in auto-completion mode
- Widgets javascript API to control the behavior of widgets on the web page
We encourage everyone to build new widgets and extend our explorer in the scope of open source projects.