diff --git a/src/graphql/routes/oasis-api.ts b/src/graphql/routes/oasis-api.ts index 758fbc5..26dbde6 100644 --- a/src/graphql/routes/oasis-api.ts +++ b/src/graphql/routes/oasis-api.ts @@ -37,7 +37,7 @@ export class OasisAPI extends RESTDataSource { async getOasisTVL() { // @hardcoded const base = 57_164_450.3; - const price = await this.gecko.getCoinPrice("rose"); + const price = await this.gecko.getCoinPrice("oasis-network"); return [ { diff --git a/src/graphql/utils/coingecko-data.ts b/src/graphql/utils/coingecko-data.ts index 097bbc2..6a11e2a 100644 --- a/src/graphql/utils/coingecko-data.ts +++ b/src/graphql/utils/coingecko-data.ts @@ -1,5 +1,6 @@ import { RESTDataSource } from "@apollo/datasource-rest"; +// https://www.coingecko.com/ export class CoinGeckoDataSource extends RESTDataSource { baseURL = "https://api.coingecko.com";