Query Graph

Get underlying data

crypto.onchain.query_graph(url: str, query: str) -> dict

Helper methods for querying graphql api. [Source: https://bitquery.io/]

Parameters
----------
url: str
    Endpoint url
query: str
    Graphql query

Returns
-------
dict:
    Dictionary with response data