Leverage `nftoken_id`, `nftoken_ids` and `offer_id` meta fields in transaction parsers
ckniffen opened this issue · comments
Caleb Kniffen commented
The nftoken_id
, nftoken_ids
and offer_id
meta fields are being added to rippled 1.11.0 responses for NFToken transactions. These can be used instead of manually parsing out the values once this version of rippled has gained more adoption.
See:
- XRPLF/rippled#4447
- https://github.com/ripple/explorer/blob/staging/src/containers/shared/components/Transaction/NFTokenMint/parser.ts
- https://github.com/ripple/explorer/blob/staging/src/containers/shared/components/Transaction/NFTokenAcceptOffer/parser.ts
- https://github.com/ripple/explorer/blob/staging/src/containers/shared/components/Transaction/NFTokenCreateOffer/parser.ts
- https://github.com/ripple/explorer/tree/staging/src/containers/shared/components/Transaction/NFTokenCancelOffer/parser.ts