Skip to content

Commit cc2338f

Browse files
authored
fix: update API endpoint for token configuration in starknetTvl function (#17339)
1 parent 429c4fb commit cc2338f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/ekubo/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const { sumTokensExport } = require('../helper/unwrapLPs')
55
const market = '0x00000005dd3d2f4429af886cd1a3b08289dbcea99a294197e9eb43b0e0325b4b'
66

77
async function starknetTvl(api) {
8-
const tokens = await getConfig('ekubo', "https://mainnet-api.ekubo.org/tokens")
8+
const tokens = await getConfig('ekubo', "https://starknet-mainnet-api.ekubo.org/tokens")
99
return sumTokens({ api, owner: market, tokens: tokens.map(t => t.l2_token_address) })
1010
}
1111

0 commit comments

Comments
 (0)