Bitquery auth and lightweitght-tradingview

guys, i have two questions.

1 - Someone have and example of using the bitquery api key in a graphql query?
2 - Do someone have an example of using the apollo/client data to feed an lightweight-chart from tradingview?

const client = new ApolloClient({

uri: "",

cache: new InMemoryCache(),

auth: {

  type:  'X-API-KEY',

  apiKey:  'my-api-key-here'



I’m doing this right?

This might be helpful.