alchemyplatform / alchemyplatform/aa-sdk

FR: useTokenBalances hook

Open
#897 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
321
Forks
231
Avg merge
43m
Merged PRs (30d)
3

Description

Is your feature request related to a problem? Please describe.
New useTokenBalances hook to simplify fetching of eth, erc20, and potentially nft tokens on a SCA.

Additional context
Requested by Midcontract.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the SDK's existing hook and SCA token-balance entry points; the issue names no files or tests. Clarify whether completion covers ETH, ERC-20, and NFT balances, then define tests for the agreed scope and verify the new useTokenBalances hook fetches those balances.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.