Skip to content

🎁 [Feature Request]: get_owner_tokens #368

@aristidesstaffieri

Description

@aristidesstaffieri

What is the feature you would like to see?

It would be convenient from a client perspective to be able to query an interface method that can answer the question - "which token IDs belong to this account?"

Protocol 23 lowers the cost of reads and storage, so maybe under the new constraints this becomes acceptable for one of the extensions(Enumerable)?

Example - https://github.com/stellar/smart-wallet-demo-app/blob/79a9e5c75ed393f0a8ea8fb92b000848e6c79266/contracts/nft/src/contract.rs#L108

Example storage - https://stellar.expert/explorer/testnet/contract/CACLJVCL6KCFOZO3ML5LP3YQYSS2LIVNGFFUIQ2XZW4N7YPT2PC4JD3J/storage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions