I couldn't get the account balance of the wallet I own

The background is that I would like to use the Plug n Play SDK on our website, so that the user may login using their email or Google account, and we could get back the address and cyber currency balance under this account.

Now I am using the OKX as my web3 wallet, which was created using my Google account. I have some MATICs on Polygon in this OKX wallet.

But when I login web3auth with my Google account, I could get some address returned, but they are not my Polygon address, and I could not get any account balance of my Polygon MATICs. I tried your demos and used the Google account to login, the result is the same.

So my question is, does the reason of this issue belongs to the coding, or is it because the wallet I was using is not supported by web3auth? Or some other reason?

Another question to follow up is that, when user login with web2 accounts or email, which kind of web3 address will be detected under this web 2 account?

Hi @honansun

I hope you are doing great. I recommend you take a look at our documentation on how different addresses are generated, depending on several factors: for example the ClientId.

Our demos and OKX dApps have a different clientId.

Please, If you have any questions after reading it, come back to me.

Thanks a lot

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.