-
Notifications
You must be signed in to change notification settings - Fork 619
[TOOL-3515] Handle token by index #6344
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
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
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. |
size-limit report 📦
|
…js into yash/handle-token-by-index
Merge activity
|
TOOL-3515
PR-Codex overview
This PR introduces support for fetching NFTs by their index in ERC721Enumerable contracts. It adds a
tokenByIndexoption in various files to enable this functionality, enhancing the NFT retrieval process.Detailed summary
isTokenByIndexSupportedexport inerc721.ts.tokenByIndexoption ingetNFTs.tsandgetNFT.ts.TokenIdPageto includetokenByIndexflag.ContractNFTPageto passtokenByIndextoNFTGetAllTable.NFTGetAllTableto handletokenByIndexprop and adjust token ID display.getNFTto fetch token ID by index iftokenByIndexis true.