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

feat: full utxos by address #138

Merged
merged 10 commits into from
May 12, 2023
Merged

Conversation

ghost
Copy link

@ghost ghost commented Mar 7, 2023

Full Details of Utxos by Address

Currently, the implementation of UtxoByAddress only offers an insight of output references and not actual unspent transaction outputs (UTxOs) which consist of:

  • transaction input (tx_hash + output_index)
  • transaction output (address, value + datum hash/ inline datum)

This reducer named FullUtxosByAddress is capable of indexing one or more addresses and depending on its configuration creates matches under the respective address or alternatively, create a redis key based on the output reference and one respective transaction output.

It serializes redis set members in json and follows same schema that blockfrost is using for its /addresses//utxo endpoint.

@ghost ghost requested a review from scarmuega as a code owner March 7, 2023 16:25
@ghost ghost changed the title Full utxos by address feat: full utxos by address Mar 7, 2023
@will-break-it
Copy link

I decided to remove my second github account for simplicity, which is why this my user is not showing up.

@scarmuega scarmuega merged commit e635f47 into txpipe:main May 12, 2023
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.

2 participants