Skip to content

Add Echo LSD/Strategy fees #3506

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Yaron1902
Copy link

Echo LSD fees in fees/echo-lsd/index.ts
Echo Strategy fees in fees/echo-strategy/index.ts

@llamabutler
Copy link

The echo-lsd adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees echo-lsd

🦙 Running ECHO-LSD adapter 🦙
---------------------------------------------------
Start Date:	Thu, 19 Jun 2025 08:01:57 GMT
End Date:	Fri, 20 Jun 2025 08:01:57 GMT
---------------------------------------------------

[Error: Request failed with status code 403] {
  url: 'https://vault.echo-protocol.xyz/external/v1/defillama/get_fee_revenue?type=lsd&startTimestamp=1750320116&endTimestamp=1750406517',
  method: 'GET',
  axiosError: 'Forbidden',
  chain: 'aptos'
}

@llamabutler
Copy link

The echo-strategy adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees echo-strategy

🦙 Running ECHO-STRATEGY adapter 🦙
---------------------------------------------------
Start Date:	Thu, 19 Jun 2025 08:02:00 GMT
End Date:	Fri, 20 Jun 2025 08:02:00 GMT
---------------------------------------------------

[Error: Request failed with status code 403] {
  url: 'https://vault.echo-protocol.xyz/external/v1/defillama/get_fee_revenue?type=strategy&startTimestamp=1750320119&endTimestamp=1750406520',
  method: 'GET',
  axiosError: 'Forbidden',
  chain: 'aptos'
}

@treeoflife2 treeoflife2 self-assigned this Jun 20, 2025
@treeoflife2
Copy link
Member

@Yaron1902 we got this error in above llamabutler, does this API require api key?

[Error: Request failed with status code 403] {
url: 'https://vault.echo-protocol.xyz/external/v1/defillama/get_fee_revenue?type=lsd&startTimestamp=1750320116&endTimestamp=1750406517',
method: 'GET',
axiosError: 'Forbidden',
chain: 'aptos'
}

we usually prefer some onchain way for the adapter, reason behind the API usually break and black box for us, so we don't know where does the data comes from.

@Yaron1902
Copy link
Author

Yaron1902 commented Jun 23, 2025

@Yaron1902 we got this error in above llamabutler, does this API require api key?

[Error: Request failed with status code 403] { url: 'https://vault.echo-protocol.xyz/external/v1/defillama/get_fee_revenue?type=lsd&startTimestamp=1750320116&endTimestamp=1750406517', method: 'GET', axiosError: 'Forbidden', chain: 'aptos' }

we usually prefer some onchain way for the adapter, reason behind the API usually break and black box for us, so we don't know where does the data comes from.

@treeoflife2 I ran the tests in the terminal and didn’t encounter any errors.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants