Skip to content

Commit

Permalink
Merge pull request #2284 from Dav0808/hinkal-blast
Browse files Browse the repository at this point in the history
blast-remove
  • Loading branch information
dtmkeng authored Jan 6, 2025
2 parents f4c6638 + e895d69 commit f02473e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions aggregators/hinkal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,20 +98,6 @@ const fetchOPTIMISM = async (options: FetchOptions) => {
};
};

const fetchBLAST = async (options: FetchOptions) => {
const timestampStart = options.startTimestamp;
const timestampEnd = options.endTimestamp;
const urlVolume = `https://blast.server.hinkal.pro/totalVolume/${timestampStart}/${timestampEnd}/81457`;

const responseVolume = await httpGet(urlVolume);
const dataTotal = responseVolume;
const dailyVolume = dataTotal.internal_volume + dataTotal.external_volume;
return {
timestamp: options.startTimestamp,
dailyVolume,
};
};

const adapter: Adapter = {
version: 2,
adapter: {
Expand All @@ -125,7 +111,6 @@ const adapter: Adapter = {
[CHAIN.BSC]: { fetch: fetchBNB, start: '2023-11-08' },
[CHAIN.AVAX]: { fetch: fetchAVALANCHE, start: '2023-11-08' },
[CHAIN.OPTIMISM]: { fetch: fetchOPTIMISM, start: '2023-11-07' },
[CHAIN.BLAST]: { fetch: fetchBLAST, start: '2024-05-23' },
},
};

Expand Down

0 comments on commit f02473e

Please sign in to comment.