Skip to content

Add option to index UTxOs by stake address #151

@whankinsiv

Description

@whankinsiv

At present, utxo_state only keys UTxOs by (tx_hash, output_index), which requires lookups by stake-address to scan the entire UTxO.

Add a config option store-accounts to utxo_state that maintains a Vec<UTXOKey> mapped to each StakeCredential. This will enable the implementation of the /accounts/{stake_address}/utxos REST handler and is one of the three ways Blockfrost exposes UTxO balances.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions