cennznet / api-nft

Tracks NFTs on CENNZnet
https://cennznet.js.org/api-nft/
Apache License 2.0
0 stars 0 forks source link

Support scanning nft in batch utility txs #22

Closed KarishmaBothara closed 2 years ago

KarishmaBothara commented 2 years ago

Closes https://github.com/cennznet/api-nft/issues/17

Scanner scans thro' block looking for nft extrinsic.. With this PR it will also scan NFTs in a batch utility txs.. Use the same flow for all the extrinsic inside a batch call..

Also takes care multiple same type of NFT extrinsics, gets the right index from the events for that batch index.. https://rata.uncoverexplorer.com/extrinsic/3498786-1

KarishmaBothara commented 2 years ago

verified when batch utility has nft not in sequential order https://rata.uncoverexplorer.com/extrinsic/3500753-1