Skip to content

Implement contract for fetching a single NFT #16

@rynoV

Description

@rynoV

Frontend needs this for the individual item pages

Plan:

  • Use Ogmios' utxo query to get the utxo at the TxIn for the current item page
    • Will likely need to update CTL to support this query type
  • Make sure this utxo is actually unspent
    • Not sure if ogmios will return a spent tx output, have to check
  • If the utxo has been spent, requery the script address to find the updated utxo for the current item page
    • Probably update a local cache too
  • Return the NFT data

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions