Files
brave-core/android/java/org/chromium
Anirudha BoseandNuo Xu 49e6623f46 feat(wallet): support price lookups via gate3 (#31054)
* feat(gate3): support price lookups via gate3

* Fix android build

* Fix iOS build

* Fix broken unit tests

* Fix storybook build

* review(supermassive): use idl definition for parsing

* review(supermassive): documentation fixes

* review(supermassive): improve typing in pricing-utils.ts

* review(nuo-xu): remove unnecessary guard

* review(nuo-xu): accept tokens in fetchPrices() instead of requests

* fix iOS unit tests with BraveWallet.AssetPrice

* Fix formatting error

* review(supermassive): remove unused argument

* review(supermassive): use both coin and chain_id to reference chains

* Rename coin_type to coin

* Parse address field as optional and nullable string

* review(nuo-xu): refactor AssetPrice comparison logic

* Add getPriceRequestsForTokens util in pricing-utils.ts

* Fix wallet ui build error

* Allow percentage_change_24h to be optional nullable string

* review(supermassive): remove batching logic in getTokenSpotPrices query fn

* Fix Android

* Fix broken android build in AssetsPricesHelper

* Fix android build

* fix iOS unit tests by adding asset prices for tokens on testnets

---------

Co-authored-by: Nuo Xu <nuoxu.nx@gmail.com>
2025-09-17 19:22:35 +05:30
..