Skip to content

Instantly share code, notes, and snippets.

@sayon-bitquery
Last active June 25, 2021 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sayon-bitquery/3829f48c61bd3b89ebb28d0677b4d45f to your computer and use it in GitHub Desktop.
Save sayon-bitquery/3829f48c61bd3b89ebb28d0677b4d45f to your computer and use it in GitHub Desktop.
tradingview-2:8
console.log('[resolveSymbol]: Method called!!');
const response = await axios.post(
Bitquery.endpoint, {
query: Bitquery.GET_COIN_INFO,
variables: {
"tokenAddress": symbolName
},
mode: 'cors',
headers: {
"Content-Type": "application/json",
"X-API-KEY": "YOUR UNIQUE API KEY"
}
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment