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: "https://graphql.bitquery.io",

cache: new InMemoryCache(),

auth: {

  type:  'X-API-KEY',

  apiKey:  'my-api-key-here'

}



});

I’m doing this right?

https://bitquery.io/blog/graphql-with-python-javascript-and-ruby

This might be helpful.