how do i get the balance of other currencies in the wallet created with Web3X?
to get the ETH balance I use this example code, but is it possible to get the balance of other currencies in the wallet, bep20, erc20, etc?
to get the ETH balance I use this example code, but is it possible to get the balance of other currencies in the wallet, bep20, erc20, etc?
B4X:
Wait For (Web3Ropsten.EthGetBalance(Credentials.Address, Utils.BLOCK_LATEST)) Complete (Result As W3AsyncResult)
If Result.Success Then
Dim wei As BigInteger = Result.Value
Log(Utils.ConvertFromWei(wei, "ether") & " ether")
End If