Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thirdweb Insight Integration #133

Merged
merged 1 commit into from
Feb 21, 2025
Merged

Thirdweb Insight Integration #133

merged 1 commit into from
Feb 21, 2025

Conversation

0xFirekeeper
Copy link
Member

@0xFirekeeper 0xFirekeeper commented Feb 21, 2025

Closes TOOL-3499


PR-Codex overview

This PR introduces the Thirdweb.Indexer functionality, enhancing the Thirdweb library with support for fetching token balances and event data from various blockchain networks.

Detailed summary

  • Added Thirdweb.Indexer namespace for managing blockchain insights.
  • Introduced ThirdwebInsight class for token and event retrieval.
  • Created data models: ResponseModel<T>, Token, Event, and Meta.
  • Implemented methods for fetching ERC20, ERC721, and ERC1155 tokens.
  • Added event fetching capabilities with filtering options.
  • Defined sorting enums: SortBy and SortOrder.
  • Included constants for API URLs in Constants.cs.

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

Copy link

linear bot commented Feb 21, 2025

TOOL-3499 Insight .NET

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 152 lines in your changes missing coverage. Please review.

Project coverage is 67.17%. Comparing base (c58f47a) to head (ba6cd69).

Files with missing lines Patch % Lines
Thirdweb/Thirdweb.Indexer/ThirdwebInsight.cs 0.00% 123 Missing ⚠️
Thirdweb/Thirdweb.Indexer/ThirdwebInsight.Types.cs 0.00% 29 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #133      +/-   ##
==========================================
- Coverage   68.96%   67.17%   -1.80%     
==========================================
  Files          35       37       +2     
  Lines        5520     5672     +152     
  Branches      724      741      +17     
==========================================
+ Hits         3807     3810       +3     
- Misses       1537     1686     +149     
  Partials      176      176              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@0xFirekeeper 0xFirekeeper merged commit 4dc98bc into main Feb 21, 2025
3 checks passed
@0xFirekeeper 0xFirekeeper deleted the firekeeper/insight branch February 21, 2025 21:50
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