Skip to content

Conversation

@0xFirekeeper
Copy link
Member

@0xFirekeeper 0xFirekeeper commented Mar 13, 2025

Closes TOOL-3699


PR-Codex overview

This PR introduces a new Token_Price class for handling token price data and updates the ThirdwebInsight class with methods to fetch token prices from an API. It also adds commented-out example code for retrieving and displaying token prices in the console application.

Detailed summary

  • Added Token_Price class with properties: ChainId, Address, Symbol, PriceUsd, PriceUsdCents, and a ToString method.
  • Implemented GetTokenPrice method in ThirdwebInsight to fetch a single token price.
  • Implemented GetTokenPrices method in ThirdwebInsight to fetch multiple token prices.
  • Added commented-out code in Program.cs for fetching and displaying token prices.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@linear
Copy link

linear bot commented Mar 13, 2025

@0xFirekeeper 0xFirekeeper merged commit c3d2f8e into main Mar 13, 2025
2 of 3 checks passed
@0xFirekeeper 0xFirekeeper deleted the firekeeper/insight-prices branch March 13, 2025 14:44
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