Skip to content

FR: Generalize ChainContext.utxos for TransactionInput and addresses #207

@nielstron

Description

@nielstron
Contributor

Is your feature request related to a problem? Please describe.
In general most backends are able to map a specific transaction id to a UTxO and an address to a set of UTxOs. Some backends even provide optimized code to fetch specific patterns (like kupo) or to fetch several addresses (like the cli)

Describe the solution you'd like
Extending ChainContext.utxos to support all of

  • str (bech32 encoded address, hex encoded address, kupo pattern or txid#index)
  • Address
  • TransactionInput
  • List of any of the above

And use additional context for optimization.

Describe alternatives you've considered
None

Additional context
None

Activity

nielstron

nielstron commented on Apr 14, 2023

@nielstron
ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @nielstron@cffls

        Issue actions

          FR: Generalize ChainContext.utxos for TransactionInput and addresses · Issue #207 · Python-Cardano/pycardano