query_graph
Helper methods for querying graphql api. [Source: https://bitquery.io/]
Source Code: [link]
openbb.crypto.onchain.query_graph(url: str, query: str)
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| url | str | Endpoint url | None | False |
| query | str | Graphql query | None | False |
Returns
| Type | Description |
|---|---|
| dict | Dictionary with response data |