Skip to content

move FiatConversionService to newer charts api - #3544

Open
malik1004x wants to merge 2 commits into
chartsfrom
cw-1622-safer-fiat-lookup
Open

move FiatConversionService to newer charts api#3544
malik1004x wants to merge 2 commits into
chartsfrom
cw-1622-safer-fiat-lookup

Conversation

@malik1004x

Copy link
Copy Markdown
Contributor

Issue Number (if Applicable): Fixes #

Description

Currently, FiatConversionService utilized the old V2 ("Fiat") API to fetch cryptocurrency prices. This API relied solely on the ticker, even for tokens with a contract address. This PR connects the old fiat-fetching logic to the newer V3 ("Charts") API that fetches these currencies based on their contract address, eliminating risk of showing a wrong (non-zero) value for scam currencies.

Pull Request - Checklist

  • Initial Manual Tests Passed
  • Double check modified code and verify it with the feature/task requirements
  • Format code
  • Look for code duplication
  • Clear naming for variables and methods
  • Manual tests in accessibility mode (TalkBack on Android) passed

@malik1004x
malik1004x requested a review from MrCyjaneK August 20, 2026 15:26

@MrCyjaneK MrCyjaneK left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (if tested)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants