ripple / explorer

Open Source XRP Ledger Explorer
https://livenet.xrpl.org/
MIT License
105 stars 66 forks source link

Leverage nftoken_id, nftoken_ids and offer_id meta fields in transaction parsers #1018

Closed achowdhry-ripple closed 1 month ago

achowdhry-ripple commented 1 month ago

High Level Overview of Change

utilize added ID fields based on this rippled PR, rather than manually parsing for NFToken transactions.

Context of Change

https://github.com/ripple/explorer/issues/708

Type of Change

Code Improvement

TypeScript/Hooks Update

achowdhry-ripple commented 1 month ago

for cancel offer, I purposely do not use meta.nftoken_ids[] to keep logic simple, since we iterate nodes for other fields. Seems like added complexity to use the meta field here.