NFT activity #1688
-
Hi, I have a couple of questions really...
Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Regarding the first three questions: since the core nodes prune data and the inx-indexer only keeps track of unspent, you can only keep track of the NFT activity "live" via MQTT or get the UTXO changes for every milestone as long as they aren't pruned, but this way you can't get historic activity unless you use another inx plugin like https://github.com/iotaledger/inx-chronicle which keeps the full history (this has an own API for the explorer, but that's not supported by iota.rs) For the last question you can get all current NFT outputs with |
Beta Was this translation helpful? Give feedback.
Regarding the first three questions: since the core nodes prune data and the inx-indexer only keeps track of unspent, you can only keep track of the NFT activity "live" via MQTT or get the UTXO changes for every milestone as long as they aren't pruned, but this way you can't get historic activity unless you use another inx plugin like https://github.com/iotaledger/inx-chronicle which keeps the full history (this has an own API for the explorer, but that's not supported by iota.rs)
For the last question you can get all current NFT outputs with
client.nft_output_ids([])
,client.get_outputs(&output_ids_response.items)
and then you have to look into the immutable metadata of each NFT output t…