Skip to content

Latest commit

 

History

History
18 lines (8 loc) · 767 Bytes

File metadata and controls

18 lines (8 loc) · 767 Bytes

GraphQL Samples

The files here represent queries you can use to call various aspects of the Vega data-node GraphQL APIs.

REFERENCE APIs: Reference API documentation for the GraphQL APIs can be found at: https://docs.vega.xyz/

How to run GraphQL queries

  1. If you would like to stay in your browser, you can copy and paste the queries in this folder into graphQL playground:

    https://api.n10.testnet.vega.xyz/graphql/

Once you enter the query and click the play button, graphQL playground will return the data you were looking for.

  1. https://github.com/hasura/graphqurl is a CLI for running graphQL queries. You can use this to run these queries in your terminal. Follow the instructions on the graphqurl readMe to install and use this tool.