Skip to content

feat: add getNFTBalance to NftClient for querying NFT count per colle…#698

Merged
yingyangxu2026 merged 2 commits intomainfrom
TSSDK-147
Feb 27, 2026
Merged

feat: add getNFTBalance to NftClient for querying NFT count per colle…#698
yingyangxu2026 merged 2 commits intomainfrom
TSSDK-147

Conversation

@yingyangxu2026
Copy link
Copy Markdown
Collaborator

  • Add balanceOf to SPGNFTImpl whiteList in wagmi config and regenerate ABI
  • Implement getNFTBalance in NftClient to return NFT count for an address in a given SPG collection
  • Add GetNFTBalanceRequest type with optional owner (defaults to connected wallet)
  • Add unit tests (2) and integration tests (2) for getNFTBalance
  • Decouple nftClient integration tests: move collection setup to top-level before hook, add self-contained before for getNFTBalance
  • Fix Evaluate type import: remove non-exported Evaluate from @wagmi/cli, use local type and Omit<ContractConfig, "abi">

@yingyangxu2026 yingyangxu2026 merged commit a78af6b into main Feb 27, 2026
16 of 18 checks passed
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.

3 participants