0xPolygonMiden / miden-client

Client library that facilitates interaction with the Miden rollup
MIT License
33 stars 29 forks source link

Get consumable notes by specific Account ID #200

Closed igamigo closed 5 months ago

igamigo commented 7 months ago

For some types of notes, it's straightforward to know whether an account can consume it by looking at the tag. We should create a client function that returns all consumable notes for a specific ID.

bobbinth commented 7 months ago

For some types of notes, it's straightforward to know whether an account can consume it by looking at the tag.

Small correction: we can't infer this information from note tags - but we can infer it from a combination of note script root and note inputs.

Dominik1999 commented 7 months ago

@igamigo are you working on this? Is it the same / related as #131 ?

igamigo commented 6 months ago

@igamigo are you working on this? Is it the same / related as #131 ?

This depends directly on the design for 131

mFragaBA commented 5 months ago

closing as the PR got merged