Skip to content
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

fix: docs typos #35

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

fix: docs typos #35

wants to merge 6 commits into from

Conversation

vmeylan
Copy link
Contributor

@vmeylan vmeylan commented Mar 26, 2024

No description provided.

Copy link

vercel bot commented Mar 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
shortcuts-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 2, 2024 9:52pm

@vmeylan
Copy link
Contributor Author

vmeylan commented Mar 26, 2024

The curl command on https://docs.enso.finance/router-api/introduction would need to be updated since:
curl -X 'GET' \ 'https://api.enso.finance/api/v1/shortcuts/route?chainId=1&fromAddress=0xd8da6bf26964af9d7eed9e03e53415d37aa96045&receiver=0xd8da6bf26964af9d7eed9e03e53415d37aa96045&spender=0xd8da6bf26964af9d7eed9e03e53415d37aa96045&amountIn=1000000000000000000&slippage=300&tokenIn=0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee&tokenOut=0x06325440d014e39736583c165c2963ba99faf14e&routingStrategy=router' \ -H 'accept: application/json'

returns
{"message":"Create your own API key at https://enso.finance/developers to get 10rps","error":"Unauthorized","statusCode":401}

@vmeylan
Copy link
Contributor Author

vmeylan commented Mar 26, 2024

https://docs.enso.finance/router-api/api-reference and https://docs.enso.finance/router-api/api-reference/overview pages seem to be duplicate, where https://docs.enso.finance/router-api/api-reference should rather be the index of overview and GET requests

@vmeylan
Copy link
Contributor Author

vmeylan commented Mar 26, 2024

on page https://docs.enso.finance/bundler-api/actions the following curl command now requires API key:
curl -X 'GET' \ -H "Content-Type: application/json" \ 'https://api.enso.finance/api/v1/actions' \

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.

1 participant