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

Use Balance returns 404 after I connect my wallet #4002

Closed
1 task done
kelvindoe22 opened this issue Jun 2, 2024 · 4 comments
Closed
1 task done

Use Balance returns 404 after I connect my wallet #4002

kelvindoe22 opened this issue Jun 2, 2024 · 4 comments
Labels
Needs Reproduction Misc: Needs Reproduction

Comments

@kelvindoe22
Copy link

Check existing issues

Describe the bug

I am testing out the wagmi api, and I think the useBalance is making a network call that returns a 404 response. This happens when i connect my wallet. If i don't, no 404 error is returned. This is the error message
`XHRGET
https://rpc.walletconnect.com/v1/profile/reverse/0x52ce8f12BE8a23c8B76b8913307eEAf918999a07?projectId=6115e730c04e9740ece33ddaf97274bf
[HTTP/2 404 297ms]

1

{"status":"FAILED","reasons":[{"field":"address","description":"No name for address is found"}]}
`
in case you want to investigate. Remember I am following the exact documentation.
This is my request in case anyone was wondering

const balance = useBalance(
    {
      address : '0xsomething
    }
  )

Link to Minimal Reproducible Example

No response

Steps To Reproduce

No response

What Wagmi package(s) are you using?

wagmi

Wagmi Version

10.2.0

Viem Version

10.2.0

TypeScript Version

5.4.5

Anything else?

No response

@glitch-txs
Copy link
Collaborator

glitch-txs commented Jun 2, 2024

Hi, are you using Web3Modal? Could you also please share a minimal reproducible example?

@kelvindoe22
Copy link
Author

kelvindoe22 commented Jun 2, 2024 via email

@jxom jxom added the Needs Reproduction Misc: Needs Reproduction label Jun 2, 2024
Copy link
Contributor

github-actions bot commented Jun 2, 2024

Hello @kelvindoe22.

Please provide a minimal reproduction using StackBlitz, TypeScript Playground (for type issues), or a separate minimal GitHub repository.

Minimal reproductions are required as they save us a lot of time reproducing your config/environment and issue, and allow us to help you faster.

Once a minimal reproduction is added, a team member will confirm it works, then re-open the issue.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2024
Copy link
Contributor

This issue has been locked since it has been closed for more than 14 days.

If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest Wagmi version. If you have any questions or comments you can create a new discussion thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs Reproduction Misc: Needs Reproduction
Projects
None yet
Development

No branches or pull requests

3 participants