Skip to content

[SDK] Add Insight API client #6706

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

Merged

Conversation

joaquim-verges
Copy link
Member

@joaquim-verges joaquim-verges commented Apr 12, 2025


PR-Codex overview

This PR introduces a TypeScript SDK for insight, enhancing the functionality of the thirdweb library by integrating various API calls for retrieving NFTs, tokens, and transaction data.

Detailed summary

  • Added insight SDK with functions for fetching owned NFTs, tokens, and transactions.
  • Exported types and configurations in packages/insight/src/client/index.ts.
  • Updated client configuration methods in packages/insight/src/configure.ts.
  • Integrated insight API calls into existing components.
  • Modified documentation to include SDK usage examples.
  • Updated configurations and schemas in related JSON files.

The following files were skipped due to too many changes: packages/insight/src/client/sdk.gen.ts, packages/insight/src/client/types.gen.ts

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

Copy link

vercel bot commented Apr 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2025 3:22am
login ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2025 3:22am
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2025 3:22am
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2025 3:22am
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2025 3:22am

Copy link

changeset-bot bot commented Apr 12, 2025

🦋 Changeset detected

Latest commit: 0b56f59

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@thirdweb-dev/insight Major
thirdweb Minor
@thirdweb-dev/wagmi-adapter Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added packages SDK Involves changes to the thirdweb SDK labels Apr 12, 2025
Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@joaquim-verges joaquim-verges changed the title Add Insight API client for blockchain data access [WIP] Add Insight API client Apr 12, 2025
@joaquim-verges joaquim-verges marked this pull request as ready for review April 12, 2025 03:13
@joaquim-verges joaquim-verges requested review from a team as code owners April 12, 2025 03:13
Copy link

socket-security bot commented Apr 12, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​hey-api/​client-fetch@​0.10.01001008296100
Added@​hey-api/​openapi-ts@​0.66.19810010096100

View full report

@joaquim-verges joaquim-verges force-pushed the Add_Insight_API_client_for_blockchain_data_access branch from 4637fc4 to 756fcac Compare April 15, 2025 01:43
@joaquim-verges joaquim-verges force-pushed the Add_Insight_API_client_for_blockchain_data_access branch from 756fcac to bfac6fe Compare April 15, 2025 01:52
@joaquim-verges joaquim-verges force-pushed the Add_Insight_API_client_for_blockchain_data_access branch from bfac6fe to 0480899 Compare April 15, 2025 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages Playground Changes involving the Playground codebase. Portal Involves changes to the Portal (docs) codebase. SDK Involves changes to the thirdweb SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant