Skip to content

feat: added changes to implement UTxOWholeResult type #1049

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 2 commits into
base: main
Choose a base branch
from

Conversation

jkawan
Copy link
Contributor

@jkawan jkawan commented Jun 14, 2025

  1. Added changes in GetUTxOWhole() to print the result in json format.
  2. Added query "utxo-whole-result" in query.go to test and find out the result in json format.

TODO: Implement UTxOWholeResult type once I can find the structure from the json format

Signed-off-by: Jenita <jkawan@blinklabs.io>
@jkawan jkawan requested a review from a team as a code owner June 14, 2025 17:54
Signed-off-by: Jenita <jkawan@blinklabs.io>
Copy link
Contributor

@agaffney agaffney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need to flesh out the UTxOWholeResult type as part of this. It should be similar to UTxOByAddressResult

@wolf31o2
Copy link
Member

The idea here was to get the data and figure out the shape from this.

return nil, fmt.Errorf("error marshaling UTxOWhole result to JSON: %w", err)
}
fmt.Println("UTxOWhole Result:")
fmt.Println(string(jsonData))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this. We only want changes (currently) in the binary so we can determine the correct shape.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on it

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