Skip to content

Commit

Permalink
Update pendle endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
batphonghan committed Sep 5, 2024
1 parent f97cb06 commit 9d39f21
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions adapters/kelp_gain_linea/src/lib/pendle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { agETHBalancerOf } from "./fetcher";
import { pendleSYAgETH } from "./utils";

const PendleURL =
"https://app.sentio.xyz/api/v1/analytics/kelp_analytics/pendle_mainnet_ageth/sql/execute";
"https://app.sentio.xyz/api/v1/analytics/kelpdao/pendle_mainnet_ageth_v2/sql/execute";

const API_KEY = process.env.KELPDAO_SENTIO_API_KEY || "";

Expand Down Expand Up @@ -67,7 +67,8 @@ function apiPostData(day: number, page: number, dataSize: number) {
sqlQuery: {
sql: queryStr,
size: dataSize
}
},
version: 2
};
}

Expand Down

0 comments on commit 9d39f21

Please sign in to comment.