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

Update for koios version from v0 api to v1 api #12

Closed
12 tasks done
AstroWa3l opened this issue Nov 11, 2023 · 3 comments · Fixed by #13
Closed
12 tasks done

Update for koios version from v0 api to v1 api #12

AstroWa3l opened this issue Nov 11, 2023 · 3 comments · Fixed by #13
Assignees
Labels
enhancement New feature or request

Comments

@AstroWa3l
Copy link
Collaborator

AstroWa3l commented Nov 11, 2023

The new release has breaking changes and new endpoints that will need to be added, you can view them here in their GitHub repo.

I wanted to just make a todo list of what needs to be completed to upgrade the koios-python library.

Deprecations

  • /tx_utxos - No longer required as replaced by /utxo_info #227

New endpoints added

  • /pool_registrations - List of all pool registrations initiated in the requested epoch #239

  • /pool_retirements - List of all pool retirements initiated in the requested epoch #239

  • /treasury_withdrawals - List of withdrawals made from treasury #239

  • /reserve_withdrawals - List of withdrawals made from reserves (MIRs) #239

  • /account_txs - Transactions associated with a given stake address #239

  • /address_utxos - Get UTxO details for requested addresses #239

  • /asset_utxos - Get UTxO details for requested assets #239

  • /script_utxos - Get UTxO details for requested script hashes #239

  • /utxo_info - Details for requested UTxO arrays #239

  • /script_info - Information about a given script FROM script hashes #239

  • /ogmios - Expose Ogmios endpoints

@AstroWa3l AstroWa3l self-assigned this Nov 11, 2023
@QuixoteSystems
Copy link
Collaborator

Great Wael! I'm going to start to test each new endpoint and I will keep updated all the work I've done.

@AstroWa3l
Copy link
Collaborator Author

AstroWa3l commented Nov 16, 2023

Might be nice to add compression as well by default...We also need to add a way to have Bearer tokens but I can not test them since Koios team has not yet finished that part of the project's milestone.

@AstroWa3l AstroWa3l added the enhancement New feature or request label Nov 17, 2023
@AstroWa3l
Copy link
Collaborator Author

Okay, I am finished with the main updates but still need to try to add the compression by default feature and then do a lot of testing. @QuixoteSystems I have made a separate branch for this update once we have finished testing and are okay with updating the repo we can merge the branch into the main branch.

@AstroWa3l AstroWa3l linked a pull request Jan 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants