WalletConnect / kotlin-walletconnect-lib

library to use WalletConnect with Kotlin or Java
MIT License
156 stars 98 forks source link

How to get balance after connecting with Metamask? #39

Closed papanmanna closed 3 years ago

papanmanna commented 3 years ago

After connecting with metamask, the address I can fetch using following code. But How do I fetch wallet balance?

session.approvedAccounts()

ligi commented 3 years ago

fetching the balance is not in the scope of this lib. You can e.g. use KEthereum for this https://github.com/komputing/KEthereum