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

Add Rewards data to rosetta-java #272

Open
Kammerlo opened this issue Jan 29, 2025 · 0 comments · May be fixed by #273
Open

Add Rewards data to rosetta-java #272

Kammerlo opened this issue Jan 29, 2025 · 0 comments · May be fixed by #273
Assignees

Comments

@Kammerlo
Copy link
Member

Kammerlo commented Jan 29, 2025

Currently in rosetta-java it is not possible to query pending rewards from a stake address.
The balance is currently calculated by the utxo. Since it is possible now to query the rewards from a stake address, it must be included in rosetta.

Currently we are returning the UTxOs owned by the stakeaddress, which is basically wrong in this case. A user expects the pending rewards to be returned, when querying the stakeaddress.

Places to change it:

Think of a way how to get the data from yaci-store to the API.
Probably the best way would be via an http, since we need the response synchronously.
Possible ways could be establish an http connection or do it via the database.

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